‎2006 Dec 07 11:22 AM
is At selection screen output is PAI or PBO?
explain in detail
‎2006 Dec 07 11:25 AM
At-Selection screen output
This event is executed at PBO of the selection screen every time the user presses ENTER - in contrast to INITIALIZATION. Therefore, this event is not suitable for setting selection screen default values. Also, since AT SELECTION-SCREEN OUTPUT is first executed after the variant is imported (if a variant is used) and after adopting any values specified under SUBMIT in the WITH clause, changing the report parameters or the selection options in AT SELECTION-SCREEN OUTPUT would destroy the specified values.
At-Selection screen
This is PAI--Process after Input...
‎2006 Dec 07 11:25 AM
At-Selection screen output
This event is executed at PBO of the selection screen every time the user presses ENTER - in contrast to INITIALIZATION. Therefore, this event is not suitable for setting selection screen default values. Also, since AT SELECTION-SCREEN OUTPUT is first executed after the variant is imported (if a variant is used) and after adopting any values specified under SUBMIT in the WITH clause, changing the report parameters or the selection options in AT SELECTION-SCREEN OUTPUT would destroy the specified values.
At-Selection screen
This is PAI--Process after Input...
‎2023 Nov 14 7:44 AM
thadsakuga10 You'd better ask your own question and share the whole code. This current question and answer are not about the error you mention.
‎2006 Dec 07 11:25 AM
PBO
Have a look at below link.
http://help.sap.com/saphelp_nw2004s/helpdata/en/79/34a234d9b511d1950e0000e8353423/content.htm
‎2006 Dec 07 11:26 AM
PROCESS BEFORE OUTPUT (PBO) is automatically triggered after the PAI
processing of the previous screen and before the current screen is displayed. You
can program the PBO processing of the screen in this block. At the end of the PBO
processing, the screen is displayed.
PROCESS AFTER INPUT (PAI) is triggered when the user chooses a function on
the screen. You can program the PAI processing of the screen in this block. At the
end of the PAI.
processing, the system either calls the next screen or carries on processing at the
point from which the screen was called.
Thanks and regards.
‎2006 Dec 07 11:33 AM
Hi
check this links its usefull
http://help.sap.com/saphelp_erp2005vp/helpdata/en/79/34a234d9b511d1950e0000e8353423/frameset.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db9a2e35c111d1829f0000e829fbfe/frameset.htm
if helpfull reward points
-charitha
‎2006 Dec 07 11:33 AM
Hi
At selection-screen comes under PBO.
Here you can modify the screen.
This event is executed at PBO of the selection screen every time the user presses ENTER - in contrast to INITIALIZATION. Therefore, this event is not suitable for setting selection screen default values. Also, since AT SELECTION-SCREEN OUTPUT is first executed after the variant is imported (if a variant is used) and after adopting any values specified under SUBMIT in the WITH clause, changing the report parameters or the selection options in AT SELECTION-SCREEN OUTPUT would destroy the specified values.
Regards,
Kumar
‎2006 Dec 07 11:35 AM
Hi Raja ,
At Selction-Screen Output can be said to be equivalent to PBO .
Now as PBO is the processing done before the screen is displayed in a module pool , in the same way for reports if you want to do some processing before the selection screen is displayed , you can write your code in it.
Few operations are
1. Assign initial values to input , but each time you go to selection screen there values will be assigned irrespective of the input you gave.
The scenario i am talking about is
<u>Selection Screen --> Program Execution --> Report --> Back to Seelction Screen</u>.
If you assign intial value here irrespecive of what value you gave as input the value u assign in this event will be shown in the selectionscreen (2)
So it is better to use initialization to assign initial values , as it is executed only once
2. A more important purpose is suppose you have 2 radiobuttons and about 6 fields as input , when u select one radio button and u want 3 fields to be disable and other enabled , you write code to do this in at selection-screen output.
Regards
Arun
‎2007 Dec 13 11:34 AM
The following is the program that should add two numbers when pushbutton is clicked. how to disable the input fields..pls fill the at selection-screen output part
REPORT ZR6.
SELECTION-SCREEN BEGIN OF BLOCK b1.
PARAMETERS : P1 TYPE I,
P2 TYPE I,
P3 TYPE I.
SELECTION-SCREEN END OF BLOCK b1.
selection-screen: pushbutton /1(6) text-010 user-command cli1.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
ENDLOOP.
AT SELECTION-SCREEN.
CASE SY-UCOMM.
WHEN 'CLI1'.
P3 = P1 + P2.
ENDCASE.
thanks