Ansicht
Dokumentation

ABENSPACE_ME_SCREEN - SPACE ME SCREEN

ABENSPACE_ME_SCREEN - SPACE ME SCREEN

Addresses (Business Address Services)   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

space, me and screen

There are three further predefined data objects as well as the ABAP system fields.

The space constant

The program-global constant space has the data type c, length 1, and contains a blank character.

Note

For the space constant, the same is true as for all character-like fields of a fixed length, that trailing blanks are ignored at most operand positions. The space constant must therefore not be used in these positions.

Example

The result of the following concatenation is a string with exactly one blank. The blank characters in the first two space statements are ignored. Blank characters are only taken into account after SEPARATED BY. The example applies with the same result (with the exception of to space) to a text field literal ' ' with exactly one blank character.

DATA text TYPE string.

CONCATENATE space space INTO text SEPARATED BY space.

The self-reference me

Within the implementation of every instance method, an implicitly created local reference variable called me is available, which points to the instance in which the method is currently being executed. me is treated like a local constant, which means the value of me cannot be altered in an instance method. The static type of me is the class in which the instance method is implemented.

Note

During object creation, me also points to the instance of the generated subclass during the execution of an instance constructor of a superclass that has been called using super->constructor. In the instance constructor of the superclass, or in methods that have been called by the instance constructor, specifying me-> with the method call has no effect. Instead, the method implementations of the superclass are always called.

The screen structure

It is possible to access the data object screen during screen processing in dialog modules. screen is a structure in which the components correspond to the attributes of a screen element. You can use the screen structure to set the attributes of screen elements during the PBO event in the ABAP program. The structure screen and its use are described under LOOP AT SCREEN.

The structure screen is described by the data type with the same name, SCREEN, in the ABAP Dictionary.






CL_GUI_FRONTEND_SERVICES - Frontend Services   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 3419 Date: 20240427 Time: 033249     sap01-206 ( 68 ms )