You are on page 1of 3

SAP ABAP FAQ 2019

'Refresh' is the keyword which is used to clear the contents of a body in an internal
table.
Use table Table TNAPR / NAST in order to find output type.
Function module POPUP_WITH_TABLE_DISPLAY

EVENTS in Reports

1. Initialization
2. At selection-screen output.
3. At selection-screen on value request for s_matnr-low
4. At selection-screen on Help request for s_matnr-low
5. At selection-screen on field
6. At selection-screen on block B1
7. At selection-screen on Radiobutton group RAD1
8. At selection-Screen.
9. At selection-screen on value request for s_matnr-low
10. At selection-screen on Help request for s_matnr-low
11. At selection-screen on END of s_matnr.
12. Start-of-selection.
13. End-of-Selection
14. Top-of-page
15. End-of page

INITIALIZATION: triggered when the report is loaded in memory.

AT SELECTION-SCREEN OUTPUT: triggered when the selection screen is loaded in memory before being
displayed.
AT SELECTION-SCREEN: before leaving the selection screen.

START-OF-SELECTION: the first event for displaying the report.

This event keyword defines an event block whose event is triggered by the ABAP runtime environment
when calling the executable program selection screen processing of a selection screen.In an executable
program, all statements that are not declarations, and are listed before the first explicit processing
block, are assigned to this event block.

If the program does not contain an explicitly defined event block START-OF-SELECTION, these
statements form the complete event block START-OF-SELECTION.If a program contains an explicitly
defined event block START-OF-SELECTION, these statements are added to the beginning of the event
block.If the program contains no explicitly defined event blocks, these statements form the entire event
block START-OF-SELECTION.

END-Of-SELECTION: after the start-of-selection is completed.

TOP-OF-PAGE: every time a new page is started in the list.


END-Of-PAGE: every time the list data reaches the footer region of the page.
Interactive Reports Events.
TOP-OF-PAGE DURING LINE SELECTION : top of page event for secondary list.
AT LINE-SELECTION: evey time user dbl-clicks(F2) on the list data.
AT PF<key> : function key from F5 to F12 to perform interactive action on the list.
AT USER-COMMAND:
Classical Reports have following events, these events are common for Interactive Reports:

LOAD-OF-PROGRAM : First event fired, loads program in memory


INITIALIZATION: Initialize variable
START-OF-SELECTION : Actual Business Logic (After START-OF-SELECTION)
END-OF-SELECTION : To end above
AT SELECTION-SCREEN : To validate Multiple Input fields (After Initialization and before START-OF-
SELECTION) (After
AT SELECTION-SCREEN OUTPUT: To manipulate Dynamic screen
AT SELECTION-SCREEN ON
AT SELECTION-SCREEN ON END OF
AT SELECTION-SCREEN ON BLOCK
AT SELECTION-SCREEN ON RADIOBUTTON GROUP
AT SELECTION-SCREEN ON VALUE REQUEST
TOP-OF-PAGE : To print heading
END-OF-PAGE: To print footer

You might also like