sapdev logo background
sapdev logo sapdev logo
Comments

SAP SPACE documentation, setup help and example usage



Return to SAP documentation index


ARTICLE

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

Note
For the space constant, trailing blanks are ignored at most operand positions, as for all character-like fields with fixed lengths. 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 respected after SEPARATED BY . The example applies with the same result (except for space ) to a text field literal ' ' or c` ` with exactly one blank character.
DATA text TYPE string.

CONCATENATE space space INTO text SEPARATED BY space.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




SOURCE_CODE_PLUGIN_GLOSRY
SPA_GPA_PARAMETER_1_GLOSRY




comments powered by Disqus