Application Development and Automation 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: 
Read only

Regarding Events

Former Member
0 Likes
811

What would be the output by writing something in end-of-selection event without writing anything in start-of-selection?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
789

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?

6 REPLIES 6
Read only

Former Member
0 Likes
790

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

Read only

0 Likes
789

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.

Read only

anversha_s
Active Contributor
0 Likes
789

hi,

what ever u write after the end of selection will be displayed.

will not show any error.

rgds

Anver

Read only

Former Member
0 Likes
789

Even if you dont have start-of-selection. end-of-selection will be executed..

Read only

Former Member
0 Likes
789

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

Read only

Former Member
0 Likes
789

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.