01-31-2008 7:05 AM
Hi all,
On selection screen if the parameter field is left blank, i want to display a message
and make tht parameter active.without continuing the program execution.
01-31-2008 7:12 AM
sample code:
parameter : p_test(10).
at selection-screen.
if p_test is initial.
message i000(00) with 'Parmater value is blank'.
endif.
reward appropriate points.
regards,
SImi.
01-31-2008 7:10 AM
01-31-2008 7:13 AM
01-31-2008 7:12 AM
PARAMETERS: pa_test TYPE char5.
AT SELECTION-SCREEN ON pa_test.
IF pa_test IS INITIAL.
MESSAGE 'Error' TYPE 'E'.
ENDIF.
01-31-2008 7:12 AM
sample code:
parameter : p_test(10).
at selection-screen.
if p_test is initial.
message i000(00) with 'Parmater value is blank'.
endif.
reward appropriate points.
regards,
SImi.
01-31-2008 7:14 AM
obligatory is one way.
or another way
in at selection-screen on <field>
u can check whether field is blank or not
if it is blank u can raise an error msg and u can stop there it self.
01-31-2008 7:17 AM
make the parameter field as mandatory(Oblligatory).
or
write validations in at selection screen events
i.e. at selection screen on filed
in that if the parameter field is blank then write the error message