cancel
Showing results for 
Search instead for 
Did you mean: 

what is significance of END-OF-SELECTION event in reports?

Former Member
0 Kudos

i want to know the main use of end-of-selection event in reports...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

End-of-selection block defines an event block, whose event is raised by the ABAP-runtime environment during the calling of an executable program , if the logical database, with which the program is linked, has completely finished its work.

In an executable program without logical data base, there is no need to implement the event block END-OF-SELECTION.

Regards,

Prem

Answers (3)

Answers (3)

Former Member

we use end-of selction in the following scenarios,

1.End-of-selection event are mostly used when we are writing HR-ABAP code. In the HR-ABAP code, data is retrived in the Start-of-selection event and Printing on the list and all will be done in End-of-selection event.

But in Normal ABAP, mostly we wont use this event.

2.When ever a LDB is used for getting the values we use End-of-Selection, till the internal table is filled with all data, the flow will not go to End-of-Selection.

3.end_of_selection is the last event of the list and it is triggered after geting all the data for the database. the end_of _selection event is used for taking appropriate actions the programmer wants to take before the list is displayed. its mainly used to formatt the data before displaying.

inspire by rewarding

Former Member
0 Kudos

thankq....sap gurus.....thankq for ur help i am in great confusion actually.....that was cleared now

Former Member
0 Kudos

Hello Suresh,

End-of-Selection is the last of the events called by the runtime environment to occur. It is triggered after all of the data has been read from the logical database, and before the list processor is started.

Plesae use the following link to know more.

http://help.sap.com/saphelp_nw04s/helpdata/en/9f/db9a1435c111d1829f0000e829fbfe/frameset.htm

Hope it is helpful.

Regards,

Satish.