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

Submitted by: Administrator
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.
Submitted by: Administrator

Read Online SAP ABAP Job Interview Questions And Answers