Ansicht
Dokumentation

ABENOO_OBS_WRITE_AT_2 - OO OBS WRITE AT 2

ABENOO_OBS_WRITE_AT_2 - OO OBS WRITE AT 2

BAL_S_LOG - Application Log: Log header data   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

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.






Vendor Master (General Section)   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 891 Date: 20240420 Time: 094510     sap01-206 ( 22 ms )