‎2006 Aug 23 3:27 PM
Hello friends,
Could you please tell me what is the use of at-selection-screen output event in abap?
Regards,
Krishna Prasad.
‎2006 Aug 23 3:41 PM
hi Krishna,
Here is how we can use that
AT SELECTION-SCREEN OUTPUT.
IF p_deta = 'X' OR p_strt = 'X'.
LOOP AT SCREEN.
IF screen-group1 = 'ABC'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.<b><u> Reward points by clicking on the radio button on the left hand side of answer..</u></b>
Regards,
Santosh
Message was edited by: Santosh Kumar P
‎2006 Aug 23 3:31 PM
This event is use to change the selection screen at runtime. You can use the LOOP AT SCREEN to change attributes of the screen before it is display.
parameters: p_check type c.
at selection-screen output.
Loop at screen.
if screen-name = 'P_CHECK'.
screen-input = '0'.
modify screen.
endif.
endloop.Regards,
Rich Heilman
‎2006 Aug 23 3:34 PM
Thank you for your information. Let me know how to reward points?
‎2006 Aug 23 3:36 PM
Hi,
It is also equivalent PBO of selection-screen.So , you can do whatever the screen modification you wanna do dynamically.
Further help on this you can find <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/79/34a234d9b511d1950e0000e8353423/frameset.htm">Here</a>
Regards,
Raghav
‎2006 Aug 23 3:41 PM
hi Krishna,
Here is how we can use that
AT SELECTION-SCREEN OUTPUT.
IF p_deta = 'X' OR p_strt = 'X'.
LOOP AT SCREEN.
IF screen-group1 = 'ABC'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.<b><u> Reward points by clicking on the radio button on the left hand side of answer..</u></b>
Regards,
Santosh
Message was edited by: Santosh Kumar P
‎2006 Aug 23 3:45 PM
hi,
The event can be used to change fill the selection screen field with value of your choice at runtime. It is called before the selection screen is displayed. So loop at the screen and change the scren fields as per your requirement.
So, you can
1. check the checkboxes,
2. check the radiobuttons,
3. fill some default value in paramter,
4. put some field in display mode(deactivate/activate)
and so on
regards,
Richa