SAP AT - Reference ABAP Statements

Get Example source ABAP code based on a different SAP table
  


Standard SAP Help for AT

AT

ABAP Reference
ABAP Code Snippet


ABAP 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].
ABAP Code Snippet

What does it do? Control level processing within LOOP loops using internal tables or extraction datasets (obsolete), where statement blocks enclosed in AT and ENDAT are executed depending on conditions.

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

Return to menu