2006 Dec 12 5:24 AM
What would be the output by writing something in end-of-selection event without writing anything in start-of-selection?
2006 Dec 12 5:26 AM
Hi,
The START-OF-SELECTION is not a required event..
If you write it in END-OF-SELECTION...it will be displayed..
REPORT z_test.
END-OF-SELECTION.
WRITE:/ 'END-OF-SELECTION'.
Thanks,
Naren
What would be the output by writing something in end-of-selection event without writing anything in start-of-selection?
2006 Dec 12 5:26 AM
Hi,
The START-OF-SELECTION is not a required event..
If you write it in END-OF-SELECTION...it will be displayed..
REPORT z_test.
END-OF-SELECTION.
WRITE:/ 'END-OF-SELECTION'.
Thanks,
Naren
2006 Dec 12 5:28 AM
you can write select staement in end of selction.
but use write statements after end of selection.
This is the last event for your list. Once all the events are triggered , the data is retrieved from database.but it is not gud practise programming.
2006 Dec 12 5:28 AM
hi,
what ever u write after the end of selection will be displayed.
will not show any error.
rgds
Anver
2006 Dec 12 5:31 AM
Even if you dont have start-of-selection. end-of-selection will be executed..
2006 Dec 12 5:31 AM
HI Harika ,
In case of normal reports the end-of-selection does not effect much , u can write any thing under it.
it is of significance when you are using logical database.
Regards
Arun
2006 Dec 12 5:32 AM
hi..
In the event <b>start-of-selection</b> , mainly it is advised to give all your <b>perform</b> statements..
if you do not give anything in the start-of-selection..there is no harm.
and the code in the event end-of-selection will be executed without any error.
so, the output in the end-of-selection block will be executed.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |