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
What is the significance of technical settings (specified while creating a table in the data dictionary) ?
How do you activate a function exit?
What are the types of parameters in the function modules?
Of the two call transaction and session method, which is faster?
what will happen if called program is not executable ?
I just wanted to know that when I am recruiting somebody, I am generating his personal no also. Then I want to give him training also. Now I just want to create 2 scenarios to clear my doubts? : sap abap hr
What are the main events of which are used for logical database?
What is the diffreence between bdc_close_group and bdc_close_dataset? : abap bdc
What is a function group? : abap modularization
Explain what are the problems in processing batch input sessions?
What is meant by a schema? : sap abap hr
What is an Unpack command?
Explain the differences between se01, se09 and se10?
A field containing quantity amounts (data type quan) must be assigned to a referencetable and a reference field. Explain?
What are the two statements which are required in an abap program to output an icon using a write statement?