EVENTS IN INTERACTIVE REPORTS OF SAP ABAP

INTERACTIVE REPORT AND ITS EVENTS:


INTERACTIVE REPORT : A report which can generate one basic & up to 20 interactive lists is called an interactive report.
So first list is called basic list & next lists are called interactive lists.

EVENTS IN INTERACTIVE REPORTS:

1. INITIALIZATION.
2. AT SELECTION-SCREEN.
a. AT SELECTION-SCREEN ON <FIELD>.
b. AT SELECTION-SCREEN OUTPUT.
c. AT SELECTION-SCREEN ON VALUE-REQUEST FOR <FIELD>.
3. START-OF-SELECTION.
4. TOP-OF-PAGE.
5. END-OF-PAGE.
6. AT LINE-SELECTION.
7. AT USER-COMMAND.
8. TOP-OF-PAGE DURING LINE-SELECTION.


INITIALIZATION : It is the first event to be triggered. Also this event is triggered before the selection screen is displayed. So this event is used to give default vales to selection screen fields.

AT SELECTION-SCREEN : This event is triggered after giving input in selection screen fields. So this event is used to handle the user actions on the screen. Also this is used to validate all the selection screen fields.

AT SELECTION-SCREEN ON <FIELD> : This event is used to validate a particular field present on the selection screen.

AT_SELECTION-SCREEN-OUTPUT : This event is used to changes the selection screen properties dynamically.

AT_SELECTION-SCREEN ON VALUE-REQUEST FOR <FIELD>:- This event is used to give F4(Value) help to a particular field resent on the selection-screen.

START-OF_SELECTION : The main logic of the program is written in this event. So usually write statement is recognized from this event.

TOP-OF-PAGE : This event is used to write something on top of every page. So the first write statement or output statement [SKIP] of a page triggers this event.

END-OF_PAGE : At this event, it is used to write something at end of every page. Last line.


of the page triggers this event. So we have to allocate the line for end of page.

AT LINE-SELECTION:- This event is used to generate an interactive list when ever
particular in the out is double clicked.

TOP-OF-PAGE DURING LINE-SELECTION:- This event is used to write something on top of every page of individual secondary lists. Also Top-of-page event is used to write something on only basic list.

AT USER-COMMAND:- This is used to handle user action on the screen whenever standard menu bar & application tool are changed.

So these interactive lists we take the help of HIDE table. Also Hide is an intermediate memory area which is used to hold the values that are used for generation of next secondary list.HIDE statement should be used after write statement. Then only you will get correct results. Other wise you will get wrong values. HIDE table values you can not see even in debug mode.


Comments

  1. nice information. but what is difference between interactive report events and classicl report events..?
    regards
    thanks

    ReplyDelete
  2. Very simple and clear article, Thanks a lot

    ReplyDelete

Post a Comment

If you have any doubts let me know

Popular posts from this blog

SAP ABAP Fresher Resume/ CV Writing Format..

CONCEPTS OF INNER JOIN AND OUTER JOIN in SAP ABAP