How do you validate the selection criteria of a report? And how do you display initial
values in a selection screen?
Submitted by: AdministratorThe selection criteria is validated in the processing block of the AT SELECTION SCREEN event for the input values on the screen and respective messages can be sent.
To display initial values in the selection screen:
1) Use INITIALIZATION EVENT
2) Use DEFAULT VALUE option of PARAMETERS Statement
3) Use SPA/GPA Parameters (PIDs).
Validate: - by using match code objects.
Display :- Parameters <name> default 'xxx'.
Select-options <name> for spfli-carrid.
Initial values in a selection screen:
INITIALIZATION.
DNO-LOW = 10.
DNO-HIGH = 30
SIGN I.
OPTION NB.
APPEND DNO.
Submitted by: Administrator
To display initial values in the selection screen:
1) Use INITIALIZATION EVENT
2) Use DEFAULT VALUE option of PARAMETERS Statement
3) Use SPA/GPA Parameters (PIDs).
Validate: - by using match code objects.
Display :- Parameters <name> default 'xxx'.
Select-options <name> for spfli-carrid.
Initial values in a selection screen:
INITIALIZATION.
DNO-LOW = 10.
DNO-HIGH = 30
SIGN I.
OPTION NB.
APPEND DNO.
Submitted by: Administrator
Read Online SAP ABAP Job Interview Questions And Answers
Top SAP ABAP Questions
☺ | What is Function group? Difference between function group and function module? |
☺ | What is an ABAP instance? |
☺ | What are the contents in technical specifications? |
☺ | Difference between domain and data element? What are aggregate object? |
☺ | In selection screen, I have three fields, plant material number and material group. If I input plant how do I get the material number and material group based on plant dynamically? |
Top SAP (Systems, Applications, Products) Categories
☺ | SAP Modules Interview Questions. |
☺ | SAP (Systems, Applications, Products) Interview Questions. |
☺ | SAP Internal Tables Interview Questions. |
☺ | SAP ABAP Interview Questions. |
☺ | SAP BW Interview Questions. |