‎2006 Oct 07 5:49 AM
Hi Friends,
I want to get an error message when user doesn't enter any data in the selection screen.
Thanx in advance,
Venu
‎2006 Oct 07 5:54 AM
Hi,
Check this example..
PARAMETERS: P_DATE TYPE SYDATUM.
AT SELECTION-SCREEN.
IF P_DATE IS INITIAL.
MESSAGE E000. "Give the correct message no.
ENDIF.
Thanks,
Naren
‎2006 Oct 07 5:54 AM
Hi,
Check this example..
PARAMETERS: P_DATE TYPE SYDATUM.
AT SELECTION-SCREEN.
IF P_DATE IS INITIAL.
MESSAGE E000. "Give the correct message no.
ENDIF.
Thanks,
Naren
‎2006 Oct 07 6:01 AM
parameters: p_var(5) type c.
at selection-screen.
if p_var NE 'xx'.
message E000(ZZ) with 'populate the message'.
endif.
‎2006 Oct 07 6:04 AM
Hi,
One simple way is to make the particular field as mandatory.Or if you want to check against all the fields,
if p_f1 is initial or p_f2 is initial.
message e001 with 'Enter value'.
endif.
‎2006 Oct 07 6:06 AM
hi,
if p_f1 is initial.
message e001 with 'Enter value'.
endif.
regrds,
anver
pls mark all hlpful answers