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

at selection-screen

Former Member
0 Likes
581

Hi Experts,

at selection-screen .

loop at screen.

if screen-name = 'DOCTYPE'.

screen-input = 0.

modify screen.

endif.

endloop.

if i put the above code in at selection-screen , it won't modify the screen.

But if i put it in at selection-screen output modification takes place.

Can you tell me why

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
562

Hi,

Becoz Screen table got created in event AT selection screen output only, here you are modifying only screen table content. thats y it will happen only in AT selection screen output.

6 REPLIES 6
Read only

srinivas_akiri
Active Participant
0 Likes
562

Hi,

AT SELECTION SCREEN OUTPUT is fired before the selection screen display that is why the changes are displayed.

where as AT SELECTION SCREEN is fired once the screen is displayed.

Thanks

Srini

Read only

Former Member
0 Likes
562

hi

this is bcoz

PBO of selection screen - at selection-screen output

PAI of sel. screen - at selection-screen

if helpful, reward

Sathish. R

Read only

Former Member
0 Likes
562

Hi Soumya,

Screen attributes triggers at <b>selection-screen output</b>

event, not at at selection screen event.

Regards,

Hemant

Read only

Former Member
0 Likes
563

Hi,

Becoz Screen table got created in event AT selection screen output only, here you are modifying only screen table content. thats y it will happen only in AT selection screen output.

Read only

Former Member
0 Likes
562

I think it is because the screen is refreshing every time when it triggers the at selection-screen output and then only showing the screen. so whatever you have changed in at selection screen it will modify the screen but after that again at selection screen output will trigger to show the screen and here your screen getting refreshed so you cant visualise the change.

regards

shiba dutta

Read only

Former Member
0 Likes
562

hi soumya,

at selection-screen output is a event of Process Before Output so it will trigger first.

at selection screen is an event of process after input so it will trigger after user gives input.

helpful reward some points.

with regards,

suresh babu aluri.