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: 

end of selection

Former Member
0 Kudos

Hi frienz,

In my report program if i dont use <b>end-of-selection</b> is there any problem and waht is the actual use of this.

Regards,

siri.

Message was edited by: sireesha yalamanchili

Message was edited by: sireesha yalamanchili

1 ACCEPTED SOLUTION

Former Member
0 Kudos

HI Sireesha,

Check out the description:

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

Point after processing all lines offered

by the logical database.

To define a processing block after the system has read and processed all database tables of a logical database, use the keyword END-OF-SELECTION.

Hope this helps.

Manish

Message was edited by: Manish Kumar

6 REPLIES 6

Former Member
0 Kudos

HI Sireesha,

Check out the description:

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

Point after processing all lines offered

by the logical database.

To define a processing block after the system has read and processed all database tables of a logical database, use the keyword END-OF-SELECTION.

Hope this helps.

Manish

Message was edited by: Manish Kumar

Former Member
0 Kudos

end of selection event gets executed once you fill the selection screen with values.

if you define others and dont define this...then all the code may not be executed.

always recommended to have end of selection, bcoz this is where you write all the logic to display the list.

other things can be presumed as optional

regards,

Sandeep Josyula

*Mark helpful answers

0 Kudos

Hi sandeep,

is this regardiong only logical database only or.

siri.

0 Kudos

Hi,

it's <b>only</b> for <b>LDB</b>

A.

Former Member
0 Kudos

Hi sireesh,

You will not get any error. Internally program call that. No probs.

regards,

Chandra.

Former Member
0 Kudos

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

<b>AFTER EVENT 'END-OF-SELECTION'.</b>

The logical database can use this subroutine for necessary actions after reading data, for example, releasing memory space.

<b>Event block:</b>

END-OF-SELECTION.

Last reporting event. You can use this event block to process the temporary dataset that you have created (for example, sort it).

I hope it helps.

Best Regards,

Vibha

*Please mark all the helpful answers