sapdev logo background
sapdev logo sapdev logo
Comments

SAP OO OBS WRITE AT 1 documentation, setup help and example usage



Return to SAP documentation index


INCLUDE
ARTICLE

Incorrect Dynamic Position Definition

Dynamic position definitions are only allowed for WRITE or ULINE following the AT addition.

  • In ABAP Objects, and as of release 7.0 also outside of classes, the following statements cause an error message:


  • DATA: off TYPE i, len TYPE i.
    WRITE /off(len) f.
  • Correct syntax:


  • DATA: off TYPE i, len TYPE i.
    WRITE AT /off(len) f.
  • Reason:


  • Simplification of the syntax for offset/length specifications in output statements. Since the dynamic offset/length specification is only possible without the character for a new line (/) following AT
    , AT must always be used.
    Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




    OO_OBS_WHERE_1
    OO_OBS_WRITE_TO_1




    comments powered by Disqus