2006 Dec 13 10:56 AM
HI
what is the difference between AT SELECTION-SCREEN and AT SELECTION-SCREEN-OUTPUT.
PBO + AT SELECTION SCREEN = AT SELECTION SCREEN OUTPUT?
like based on 1st screen validations 2nd screen has to enable or disable.
HI
what is the difference between AT SELECTION-SCREEN and AT SELECTION-SCREEN-OUTPUT.
PBO + AT SELECTION SCREEN = AT SELECTION SCREEN OUTPUT?
like based on 1st screen validations 2nd screen has to enable or disable.
2006 Dec 13 10:59 AM
Hello
AT SELECTION-SCREEN-OUTPUT = <b>PBO</b> before sending the selection screen
AT SELECTION SCREEN = <b>PAI</b> after user entered ENTER or executes report
Regards
Uwe
2006 Dec 13 10:59 AM
To Put it simply
at selection screen output = PBO
AT SELECTION SCREEN = PAI.
Regards
Arun
2006 Dec 13 10:59 AM
at selection screen is when the screen is still in memory
then PBO happens
then At selection screen on output is after the screen is displayed
vivek
2006 Dec 13 11:01 AM
AT SELECTION_SCREEN OUTPUT is executed at the PBO of the selection screen after the user presses ENTER key.
In this one can LOOP AT SCREEN and modify the screen properties.
2006 Dec 13 11:07 AM
This simple program says all..
TABLES: MKPF.
DATA: ITAB LIKE STANDARD TABLE OF MSEG.
PARAMETERS: P_MBLNR LIKE MKPF-MBLNR,
P_DATE LIKE MKPF-CPUDT.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-NAME EQ 'P_MBLNR'.
SCREEN-REQUIRED = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
AT SELECTION-SCREEN.
SELECT SINGLE * FROM MKPF WHERE MBLNR EQ P_MBLNR.
IF SY-SUBRC NE 0.
MESSAGE 'Not exists' TYPE 'E'.
ENDIF.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |