Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

ABAPAT_SHORTREF - AT SHORTREF

ABAPAT_SHORTREF - AT SHORTREF

PERFORM Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

AT

Reference



Syntax

[AT FIRST.
   ...
ENDAT.]
  [AT field_groupi [WITH field_groupj].
    ...
  ENDAT.]
    [AT NEW comp1.
       ...
     ENDAT.
       ...
         [AT NEW comp2.
            ...
         ENDAT.
           [...]]]
             [ ... ]
         [[[...]
         AT END OF comp2.
              ...
           ENDAT.]
       ...
     AT END OF comp1.
       ...
     ENDAT.]
[AT LAST.
    ...
ENDAT].


Effect

Group level processing within LOOP statements using internal tables or extraction datasets (obsolete), where statement blocks enclosed in AT and ENDAT are executed depending on conditions.

Additions

  • FIRST
    First line of the internal table or the extraction dataset.
  • field_groupi
    Line of the extraction dataset that was appended by the statement EXTRACT field_groupi.
  • WITH field_groupj
    Condition that the next line was appended by EXTRACT field_groupj.
  • NEW comp1, NEW comp2, ...
    First line of a group with the same content in the components comp1, comp2, ... and in the components on the left of comp1, comp2, ...
  • END OF comp1, END OF comp2, ...
    Last line of a group with the same content in the components comp1, comp2, ... and in the components on the left of comp1, comp2, ...
  • LAST
    Last line of the internal table or the extraction dataset.





Vendor Master (General Section)   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 2944 Date: 20230328 Time: 163836     sap01-206 ( 30 ms )