ABAP – Validation On Selection Screen Fields

Many time we need to some validation on fields in selection screen. In that case we can use the event      AT SELECTION-SCREEN ON.

Syntax:

AT SELECTION-SCREEN ON <fieldname>.

IF NOT <fieldname> IS INITIAL
MESSAGE “Cannot Empty’  TYPE ‘E’.
ENDIF.

0 Comments

Leave A Reply