SAP ABAP Question:
Download Questions PDF

How do you validate the selection criteria of a report? And how do you display initial
values in a selection screen?

SAP ABAP Interview Question
SAP ABAP Interview Question

Answer:

The 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.

Download SAP ABAP Interview Questions And Answers PDF

Previous QuestionNext Question
What are ranges? What are number ranges?What is CTS and what do you know about it?