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

Event Triggered?

Former Member
0 Likes
493

Hi all

Please tell me in the below code i mentioned which is the first event that gets triggered.I think its AT-SELECTION-SCREEn event.

REPORT ZPRE_5 .

tables:s026.

parameters:wrbtr1 type bseg-wrbtr.

at selection-screen .

if wrbtr1 is initial.

MESSAGE 'Please enter a value' TYPE 'E'.

endif.

START-OF-SELECTION.

Write:/ 'Hi1'.

Write:/ 'Hi2'.

END-OF-SELECTION.

With Regards

Vijay G

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
465

Hi,

It is At selection screen to be triggered first.

then START-OF-SELECTION

Event related to reports are not triggered based on any statements in ABAP.

The event are triggered depended on the way the output is generated .

for eg:

Initialization : triggered when the report is loaded in memory.

At selection-screen output : triggered when the selection screen is loaded in memory before being displayed.

At selection-screen / <field> : before leaving the selection screen.

start-of-selection : the first event for displaying the report.

end-of-selection : after the start-of-selection is completed.

classiscal report events.

top-of-page : every time a new page is started in the list.

end-of-page : every time the list data reaches the footer region of the page.

interactive report events.

top of page during line selection : top of page event for secondary list.

at line-selection : evey time user dbl-clicks(F2) on the list data.

at pF<key> : function key from F5 to F12 to perform interactive action on the list.

Reward If Helpful,

Jagadish

3 REPLIES 3
Read only

Former Member
0 Likes
466

Hi,

It is At selection screen to be triggered first.

then START-OF-SELECTION

Event related to reports are not triggered based on any statements in ABAP.

The event are triggered depended on the way the output is generated .

for eg:

Initialization : triggered when the report is loaded in memory.

At selection-screen output : triggered when the selection screen is loaded in memory before being displayed.

At selection-screen / <field> : before leaving the selection screen.

start-of-selection : the first event for displaying the report.

end-of-selection : after the start-of-selection is completed.

classiscal report events.

top-of-page : every time a new page is started in the list.

end-of-page : every time the list data reaches the footer region of the page.

interactive report events.

top of page during line selection : top of page event for secondary list.

at line-selection : evey time user dbl-clicks(F2) on the list data.

at pF<key> : function key from F5 to F12 to perform interactive action on the list.

Reward If Helpful,

Jagadish

Read only

Former Member
0 Likes
465

hi,

Yes it is at selection-screen event which triggers first ... which you can view debugging the report ...

Regards,

Santosh

Read only

Former Member
0 Likes
465

ur answer is correct.

u just execute the report and put /h on command field in selection-screen give enter then execute there u can see which event is triggering first.

-Prabhu