2007 Oct 16 10:02 AM
Could you pls explain the use of the following events?
At PF,Get,At New,At LAST,AT END, AT FIRST.
Regards,
Kalai
2007 Oct 16 10:14 AM
<b>AT PFn</b>
This event is executed whenever the user presses a function key that contains the function code PFn in the interface definition. The default status for lists contains some of these functions.
Otherwise, the effect is as for the variant AT LINE-SELECTION. The cursor can be on any line.
<b>AT NEW f/ AT END of f </b>
These are control breaks..used with Internal Tables.
<b>For Internal Table</b>
f is a sub-field of an internal table processed with LOOP. The sequence of statements which follow it is executed if the sub-field f or a sub-field in the current LOOP line defined (on the left) before fhas a different value than in the preceding (AT NEW) or subsequent (AT END OF) table line.
<b>AT LAST / AT FIRST</b>
Executes the appropriate sequence of statements once during the first (AT FIRST) or last (AT LAST) loop pass.
Could you pls explain the use of the following events?
At PF,Get,At New,At LAST,AT END, AT FIRST.
Regards,
Kalai
2007 Oct 16 10:05 AM
2007 Oct 16 10:05 AM
Hi,
Goto SE38, click on the "I" information icon
& in the ABAP keyword section type "AT"
You will get detailed explanation of it.
Best regards,
Prashant
2007 Oct 16 10:14 AM
<b>AT PFn</b>
This event is executed whenever the user presses a function key that contains the function code PFn in the interface definition. The default status for lists contains some of these functions.
Otherwise, the effect is as for the variant AT LINE-SELECTION. The cursor can be on any line.
<b>AT NEW f/ AT END of f </b>
These are control breaks..used with Internal Tables.
<b>For Internal Table</b>
f is a sub-field of an internal table processed with LOOP. The sequence of statements which follow it is executed if the sub-field f or a sub-field in the current LOOP line defined (on the left) before fhas a different value than in the preceding (AT NEW) or subsequent (AT END OF) table line.
<b>AT LAST / AT FIRST</b>
Executes the appropriate sequence of statements once during the first (AT FIRST) or last (AT LAST) loop pass.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |