Ansicht
Dokumentation

ABENOO_OBS_LITERALS_1 - OO OBS LITERALS 1

ABENOO_OBS_LITERALS_1 - OO OBS LITERALS 1

BAL_S_LOG - Application Log: Log header data   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Cannot Process a Literal over Several Lines

In ABAP Objects and, as of release 7.0, outside of classes, a literal can no longer occupy multiple program lines.

In ABAP Objects, the following statement causes an error message:

WRITE 'Start...
                   ...end'.

Correct syntax:

WRITE 'Start...           ' &
      '             ...end'.

Cause:

The number of spaces inserted depends on the length of the line in the Editor. The line length of the Editor is not of fixed length, since it may increase in a future release. Literals that are longer than one line in the Editor can be made up from several literals put together, if you use the ampersand (&) sign.






CPI1466 during Backup   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 1168 Date: 20240427 Time: 062725     sap01-206 ( 20 ms )