sapdev logo background
sapdev logo sapdev logo
Comments

SAP OO OBS LITERALS 1 documentation, setup help and example usage



Return to SAP documentation index


INCLUDE
ARTICLE

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.
    Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




    OO_OBS_LIKE_1
    OO_OBS_LOCAL_1




    comments powered by Disqus