Interview Questions

How can validate input values in selection screen and which event was fired?

SAP Reports,SAP DB,ALE, SAP Tables questions and answers


(Continued from previous question...)

How can validate input values in selection screen and which event was fired?

Answer1:
We can Validate Selection Screen With the Help of the Following Events, the Event Follows the Same hierachy.

AT SELECTION-SCREEN ON
AT SELECTION-SCREEN ON BLOCK
AT SELECTION-SCREEN OUTPUT
AT SELECTION-SCREEN.

Answer2:
At selection-screen on
select stmt ------------------ where = .
if sy-subrc = 0.
validation success for LOw value in selection screen
At selection-screen on
select stmt-------------------- where =
if sy-subrc <> 0.
validation failure on high value in the selection field.
else
success.
endif

(Continued on next question...)

Other Interview Questions