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

Events

Former Member
0 Likes
1,394

hi all,

can anyone please tell me that out of these events which event triggers first in output and which one is process first?

1. at selection-screen and at selection-screen-output

2. PBO and PAI.

regards saurabh.

1 ACCEPTED SOLUTION
Read only

bpawanchand
Active Contributor
0 Likes
1,373

HI

when it is regarding Selection-screen

First AT SELECTION-SCREEN OUTPUT then AT SELECTION-SCREEN.

even it is the same case with the Screen programming first PBO is executed then after giving input PAI is executed and after some precessing again PBO is executed.

Regards

Pavan

12 REPLIES 12
Read only

Former Member
0 Likes
1,373

hi,

You can easily find that thing in the Debugger. Switch on the Debugger and you will find the Whole Working of Triggering and Execution.

Regards

Sumit Agarwal

Read only

bpawanchand
Active Contributor
0 Likes
1,374

HI

when it is regarding Selection-screen

First AT SELECTION-SCREEN OUTPUT then AT SELECTION-SCREEN.

even it is the same case with the Screen programming first PBO is executed then after giving input PAI is executed and after some precessing again PBO is executed.

Regards

Pavan

Read only

Former Member
0 Likes
1,373

Plz find series

1. at selection-screen-output

2. at selection-screen

1. PBO

2. PAI.

rgds

rajesh

Read only

Former Member
0 Likes
1,373

Hi,

At selection screen will be triggerred first then at selection screen output will be triggered..

PBO will be processed first then the PAI will be processed.

Thanks & Regards

Ashu SIngh

Read only

Former Member
0 Likes
1,373

This message was moderated.

Read only

Former Member
0 Likes
1,373

Hi,

At Selection-screen and At Selection-screen output is the Events for Report programming.

Between these events AT SELECTION-SCREEN OUTPUT is triggered first Because it iis triggered Before the Selection-screen is Displayed.

And At Selection-screen is triggered after the selection screen is displayed and user make some screen interaction other than ENTER and F4 .

In Case of PBO and PAI , PBO is triggered First because its name indicates that it is processed before Screen diaplay(Output), and PAI is triggeed after Screen input.

Regards,

Sujit

Read only

Former Member
0 Likes
1,373

Hi,

AT SELECTION-SCREEN OUTPUT and AT SELECTION-SCREEN are selection screen events

First AT SELECTION-SCREEN OUTPUT is triggered after that selection screen is displayed and after that AT SELECTION-SCREEN is triggered.

PBO and PAI are screen events

PBO is triggered first, and after user interaction with screen PAI is triggered

Regards

Abhijeet

Read only

Former Member
0 Likes
1,373

hi,

First event -

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 : before leaving the selection screen.

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

This event keyword defines an event block whose event is triggered by the ABAP runtime environment

when calling the executable program selection screen processing of a selection screen.

In an executable program, all statements that are not declarations,

and are listed before the first explicit processing block, are assigned to this event block.

If the program does not contain an explicitly defined event block START-OF-SELECTION,

these statements form the complete event block START-OF-SELECTION.

If a program contains an explicitly defined event block START-OF-SELECTION,

these statements are added to the beginning of the event block.

If the program contains no explicitly defined event blocks,

these statements form the entire event block START-OF-SELECTION.

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.

at user-command

http://help.sap.com/saphelp_47x200/helpdata/en/56/1eb6c705ad11d2952f0000e8353423/content.htm

Regards.

Eshwar.

Read only

Former Member
0 Likes
1,373

Hi

[Events|http://help.sap.com/saphelp_46c/helpdata/EN/fc/eb2d67358411d1829f0000e829fbfe/content.htm]

Regards,

Sravanthi

Read only

Former Member
0 Likes
1,373

as others have also told 'at selection-screen-output' is a PBO event of your selection screen and 'at selection-screen' is a PAI event of your selection screen .

so before your selection screen is displayed your PBO is triggered and after user interacts in the selection screen your PAI that is at selection-screen event is triggered.

With luck,

Pritam.

Read only

Former Member
0 Likes
1,373

Hi Saurabh,

At selection-screen and at selection-screen-output are used in report programming

where as PBO and PAI.are used in module pool programming.

At selection screen output is similar to PBO

At selection screen is similar to PAI

AT SELECTION-SCREEN OUTPUT triggers first when compaired to AT SELECTION-SCREEN.

Please check this link

http://help.sap.com/saphelp_nw70/helpdata/EN/fc/eb2d67358411d1829f0000e829fbfe/content.htm

Best regards,

raam

Read only

Former Member
0 Likes
1,373

This message was moderated.