Ansicht
Dokumentation

ABENOO_OBS_WRITE_AT_1 - OO OBS WRITE AT 1

ABENOO_OBS_WRITE_AT_1 - OO OBS WRITE AT 1

General Data in Customer Master   rdisp/max_wprun_time - Maximum work process run time  
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.






ABAP Short Reference   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 891 Date: 20240419 Time: 181825     sap01-206 ( 16 ms )