‎2007 Sep 30 10:07 AM
Hi to all Experts,
How many At selection-screen Events? and wt is the difference b/n At selection-screen output and At selection-screen on field? And which triggers first? What is the reason?
Plz explain in detail about selection-screen events.
Thanks in advance,
Swathi
‎2007 Sep 30 12:09 PM
Hi
See the events and their order of sequence
AT SELECTION-SCREEN OUTPUT.
AT SELECTION-SCREEN ON VALUE-REQUEST.
AT SELECTION-SCREEN ON FIELD or ON BLOCK.
AT SELECTION-SCREEN.
Regards
Anji
‎2007 Sep 30 8:36 PM
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.
We can initialize the selection-screen with calculated default values under this event.
Initialization.
s_date-high = sy-datum.
s_date-low = sy-datum - 15.
Append s_date.
We can validate all the inputs on selection screen fields under this event.
At selection-screen.
If s_carrid-low is initial or
s_connid-low is initial or
s_date is initial.
< ... code for validation... >.
Endif.
We can validate a particular field input on selection screen under this event.
At selection-screen on s_carrid.
If s_carrid-low < > LH.
< code for validation >
Endif.
Sri
‎2007 Oct 01 4:54 AM
Hi Swathi..
AT SELECTION-SCREEN OUTPUT.
This event is triggered before displaying the selection Screen. (PBO)
So we can use this event to modify the attributes of fields dynamically.
AT SELECTION-SCREEN .
or
AT SELECTION-SCREEN on <field>.
It is triggered before leaving the Selection Screen.
We can perform the validations in this event.
<b>REWARD IF HELPFUL.</b>
‎2007 Oct 01 5:32 AM
Hi,
Order in which AT_SELECTION screen events are triggered are as follows.
1)AT SELECTION-SCREEN OUTPUT
2)AT SELECTION-SCREEN VALUE REQUEST
3)AT SELECTION-SCREEN ON field
at last AT SELECTION-SCREEN
Regards,
Raghavendra
‎2007 Oct 01 5:35 AM
hi swati
sequence
AT SELECTION-SCREEN OUTPUT.
AT SELECTION-SCREEN ON VALUE-REQUEST.
AT SELECTION-SCREEN ON FIELD or ON BLOCK.
AT SELECTION-SCREEN.
the main difference betwen at selection screen output and at selection screen on field is
atselection screen output is expensive comparitavly at selection screen on field
in output validate the whole screen
but not in the case of on field
its validate only particular field
reward if u find useful
regards
Nagesh.Paruchuri
‎2007 Oct 01 8:53 AM
Hi
with this link you will get complete idea about the at selection screen events
http://help.sap.com/saphelp_nw04/helpdata/en/56/1eb6c705ad11d2952f0000e8353423/content.htm
<b>AT selection0-screen on filed</b>
This events will be triggered if you do some action on perticular field mentioned in the field option
<b>at selection-screen output</b>
when ever you do any action on the screen then this event wuill trigger
if you click on the field mentioned in the field option then at selection-screen on field will trigger 1st
if you press any button or enter button then at selection-screen output will trigger
<b>Reward if usefull</b>
‎2007 Oct 01 10:18 AM
HI,
There are allmost 11 types of AT SELECTION SCREENS are there.
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