Application Development 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: 

Process Flow of Events in ABAP Report

Former Member
0 Kudos

Hi every one,

Could some body explain about each and every event how and when it trigerrs.

I am always confusing with these events.

Plz tell me abt all the Driver events, User Events, Program events how they are Trigerred .

Explain me with complete details.

And more over what is the first event trigerred if i have all the events in my report program.

If you have Good Links plz do send me .

Thanks & Regards,

Sudheer.

3 REPLIES 3

Former Member
0 Kudos

Hi,

Chk this info.

CLASSICAL REPORT EVENTS :

INITIALIZATION : TO INITIALISE THE SELECTION SCREEN ELEMENTS

START- OF-SELECTION: NORMALLY WE WRITE THE REPORT LOGIC HERE

AT SELECTION-SCREEN : SELECTION SCREEN VALIDATIONS

WHETHER U ENTERED IS CORRECT OR NOT AT SELECTION SCREEN LEVEL

AT SELECTION-SCREEN ON FIELD : TO PROVIDE INPUT HELP[S FOR THE FILDS AT SELECTION SCREEN

FOR EX : MATNR IF U PREESS F4 AT SELECTION SCREEN.

TOP-OF-PAGE : TO PROVIDE LIST HEADING ( OUTPUT HEADINGS)

END-OF-PAGE : TO PROVIDE FOOTER I.E., PAGE NUMBERS

END-OF-SELECTION : TO FREE THE MEMORY , NO NEED OF USING THIS SPECIALLY

_______________________

INTERACTIVE EVENTS :

__________________________

AT LINE-SELECTION : IT IS USED TO HENDLE SECONDARY LISTS

AT USER-COMMAND : TO PROVIDE OUR OWN GUI ( PUSH BUTTONS ETC) AT OUTPUT

AT PF-STATUS : TO PROVIDE FUNCTIONS FOR OUR OWN PROVIDED GUI BUTTONS AT OUTPUT

LOAD-OF-PROGRAM.

Triggers the associated event in an internal session after loading a program of type 1, M, F, or S. Also runs the associated processing block once and once only for each program and internal session.

INITIALIZATION.

the associated event is executed before the selection screen is displayed.

START-OF-SELECTION.

In an executable program, the corresponding event is processed after the selection screen has been displayed and before data is read using a logical database

GET

Triggers the associated events when data is read in an executable (type 1) program using a logical database.

END-OF-SELECTION.

The END-OF-SELECTION event is triggered in type 1 programs once the logical database has finished reading all data and before the list processor is started.

END of page and top page

while displaying the list as the name suggest fired at the top and end of page

SM62 is the Transaction code for creating Events.

Here you can see

System event names

User event names

System event names are standard events .

User event names are customized event name, here click "Maintain" and double click it. it takes to another screen . From here you can create your customized Events.

Regards

Sandeep REddy

0 Kudos

Hi Sandeep,

Thanks for ur early reply.

Can you tell me what is the event which is trigerred first if I have all the events in my report program.

Waiting for ur reply.

And more I have awarded 6 points .

Njoy chop.

Thanks & Regards,

Sudheer..

0 Kudos

Hi,

Events will be triggered in the order provided by Sandeep.

If any event is missing then, next event will be triggered.

thnx,

Ags.