‎2007 May 17 11:46 AM
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
‎2007 May 17 11:54 AM
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.
‎2007 May 17 11:48 AM
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
‎2007 May 17 11:51 AM
hi
this is bcoz
PBO of selection screen - at selection-screen output
PAI of sel. screen - at selection-screen
if helpful, reward
Sathish. R
‎2007 May 17 11:51 AM
Hi Soumya,
Screen attributes triggers at <b>selection-screen output</b>
event, not at at selection screen event.
Regards,
Hemant
‎2007 May 17 11:54 AM
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.
‎2007 May 17 12:19 PM
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
‎2007 May 17 12:24 PM
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.