Ansicht
Dokumentation

ABENOO_OBS_AT_FS_2 - OO OBS AT FS 2

ABENOO_OBS_AT_FS_2 - OO OBS AT FS 2

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

No field symbols as a group break criterion

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

Error message in ABAP Objects after:

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.

Cause:

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






Addresses (Business Address Services)   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 1186 Date: 20240420 Time: 080842     sap01-206 ( 24 ms )