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: 

difference between events

Former Member
0 Kudos

what is the exact difference between start-of-selection and end-of-selection in whic situation these both will be used??

3 REPLIES 3

abdul_hakim
Active Contributor
0 Kudos

<b>start-of-selection</b> will be triggered after the selection screen has been processed.

You can use it for fetching entries from table table and doing other validations.

<b>END-OF-SELECTION</b>

This 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. You can use the corresponding event block to process and format the data that the program has stored in internal tables or extracts during the various GET events.

Former Member
0 Kudos

hi,

start-of-selection means

in which we can 'select' the data (or) retrive the data from the table

end-of-selection means

in which we can display that data by 'write' statement.

0 Kudos

Hi warun kumar,

difference between Start of selection and end of selection is

we retrive the data from database in start of selection and we display the list in end of selection.

'

end of selelction is triggered after executing all the lines in start of selection.

if EXIT statement is executed in start of selection. then it wont execute end of selection event. it directly generates list.

if STOP statement is executed in start of selection. the control wont generate the list directly from start of selection. the control transfers to end of selection. and all the statements are executed. and the list is displayed