SAP AT PFNN ABAP Statements



Get Example source ABAP code based on a different SAP table
  


ID DYNPRO%
• AT PF ABAP Statement

AT PF
Short Reference

ABAP_SYNTAX_OBS
AT PFnn.

What does it do?
Reacts to an obsolete list event. This obsolete statement defines an event block whose event is raised by the ABAP runtime framework when a list is displayed. This is provided the screen cursor is on a list line and a function is selected using the function code PFnn, where nn is a number between 01 and 24. In the standard list status, these function codes are assigned to the function keys of the input device.



Latest notes:

AT USER-COMMAND should always be used instead of AT PFnn and special function codes should be assigned to the required function keys.
ABAP_HINT_END
BEGIN_SECTION SAP_INTERNAL_HINT
The tokens PF1 to PF9 can also be used. They work principally like PF01 to PF09, i.e. AT PFn handles function code PF0n. But if several event blocks AT PFn and AT PF0n are listed in one program, not all of them are executed.
END_SECTION SAP_INTERNAL_HINT

Return to menu