difference between at selection-screen and at
selection-screen output?
Answer Posted / the abap
At selection screen is used to validate input..
at selection screen on output is used to set screen attributes
AT SELECTION_SCREEN OUTPUT
LOOP AT SCREEN.
if VIEW = 'X' " View radio button selects
IF SCREEN-NAME = 'PR1'.
screen-INPUT = 0.
modify screen.
ENDIF.
IF SCREEN-NAME = 'PR2'.
screen-INPUT = 0.
modify screen.
ENDIF.
ENDLOOP.
AT SELECTION-SCREEN.
*val....1 Variant check
* Once the user has entered variant, check about its existence
PERFORM CHECK_PVAR. "Using FM REUSE_ALV_VARIANT_EXISTENCE
*val....2 Sd do not exists
SELECT SINGLE VBELN INTO WA_HEADER-VBELN FROM VBAK WHERE VBELN IN
S_VBELN.
IF SY-SUBRC 0.
MESSAGE E010 WITH TEXT-010.
ENDIF.
*val.....3 Date of creation check
LOOP AT S_DOC.
IF S_DOC-LOW > SY-DATUM OR S_DOC-HIGH > SY-DATUM.
MESSAGE E011 WITH TEXT-011.
ENDIF.
ENDLOOP.
*VAL....4
if P_DOWN = 'X' AND P_PATH is initial.
MESSAGE E011 WITH TEXT-011.
endif.
if P_DW_RP = 'X' AND P_path is initial.
MESSAGE E011 WITH TEXT-011.
endif.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How do you get the number of lines in an internal table?
Can i Have Some Examples on Enhancements.
What does the extract statement do in extract datasets? : abap modularization
What are pooled tables? : abap data dictionary
What is the significance of the screen number ‘0’?
What is the name of the system variable that holds the contents of the selected line in interactive reporting?
What is the tcode for sapscript forms?
How can we set the table spaces and extent sizes? : abap data dictionary
Suppose the client wants me the vacancy to be displayed on a website as well as ess. How should I do it? : sap abap hr
To find the date difference & excude saturday & sunday in between them
What’s value table?
What are the layers of data description in r/3? : abap data dictionary
dear friends, do you know how to configure web dynpro and adobe into ECC6.0 IDES?
How many types of tables exists and what are they in data dictionary? : abap data dictionary
Difference between select option and ranges ?