Ansicht
Dokumentation

ABENOO_OBS_AT_FS_1 - OO OBS AT FS 1

ABENOO_OBS_AT_FS_1 - OO OBS AT FS 1

CPI1466 during Backup   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

No field symbols as a control break criterion

In ABAP Objects it is not allowed to specify field symbols as control break criteria in control level processing.

Error message in ABAP Objects if the following syntax is used:

name = 'WA-COL1'.
ASSIGN (name) TO <fs>.

LOOP AT itab INTO wa.
  AT NEW <fs>.
    ...
  ENDAT.
ENDLOOP.

Correct syntax:

name = 'COL1'.

LOOP AT itab INTO wa.
  AT NEW (name).
    ...
  ENDAT.
ENDLOOP.

Reason:

Control break criteria must be specified with reference to the line structure (columns) of the internal table. Field symbols point to data objects and must not be used for naming structure components. Since dynamic name specification is possible, column specifications via field symbols that point to the used work area are obsolete.






PERFORM Short Reference   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 1231 Date: 20240426 Time: 230239     sap01-206 ( 23 ms )