10-14-2007 1:33 PM
Is it mandatory to use the Event END_OF_SELECTION with START_OF_SELECTION?
If we doesn't provide Event END_OF_SELECTION ,then what will happen?Explain?
10-14-2007 5:49 PM
Hi
NO,
It is not mandatory to use END_OF_SELECTION after start-of-selection.
Nothing will happen if you don't use it.
Even nothing will happen if you don't write start-of-selection also, if there is no other event is used before it like Initialization and At selection-screen.
Reward if useful
Anji
10-15-2007 3:58 AM
No need
In program no event is mandatory
We can write program with out mention any event
Start of any event mention end of privious event
By default if u not write any event all consider as START-OF-SELECTION
END_OF_SELECTION with START_OF_SELECTION we can write it
In genaral we will write all clear statement for all globle variables and free all internal table in END-OF-SELECTION to free memory
but it is not mandatory.
If we not write memory get free once we come out of program
Rewards if useful..................
Minal
10-15-2007 7:10 AM
Hi ,
In report programs using LDB for every value selected the program issues the output, to control this you would use END-OF-SELECTION. Now if you call your output in this event, the output is made only after all the values are selected as per the selection criteria.
but i will give u a nice example where u need end-of-selection.
suppose while coding, u need a logic like below
if a condition is satisfied continue with the report
and if not satisfied, then display a message and end the report.
then u can code like below.
start-of-slection.
if a = <condition>.
do the following.......
else.
stop.
end-of-selection.
write: 'THIS IS END'.
note: stop command triggers end-of-slection from anywhere.
Regards
10-15-2007 7:35 AM
nothing will happen if we dont provide end of selection.
it will just execute start of selection.
reward points if useful.
Thank you,
gangula vikram.