Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP Events

Former Member
0 Likes
566

What are the different types of ABAP events available? Can you list them in an order & give an example using all the events in a single program

Regards,

Kiran

What are the different types of ABAP events available? Can you list them in an order & give an example using all the events in a single program

Regards,

Kiran

3 REPLIES 3
Read only

former_member188829
Active Contributor
Read only

Former Member
0 Likes
541

Hi,

pls find the below list of events.

Initialization,

At selection-screen,

At selection-screen on field,

At selection-screen on value request,

At selection-screen output,

Start-of-selection,

end-of-selection,

top-of-page,

end-of-page,

At line-selection,

At user-command,

At PF.

reward if needful,

Thanks,

Sreeram.

Read only

Former Member
0 Likes
541

Hi,

Classical Report Events:

initialization

at selection-screen

start-of -selection

top-of-page

end-of-page

end-of-selection

For Drill down Reports:

initialization

at selection-screen

start-of -selection

top-of-page

end-of-page

end-of-selection

set pf-status

at pf

top-of-page during line selection

at lineselection

at user-command

*************************************************************

First event -

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.

classiscal report events.

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 report 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

http://help.sap.com/saphelp_47x200/helpdata/en/56/1eb6c705ad11d2952f0000e8353423/content.htm

Please reward if useful

Thanks

Sivaparvathi