10-10-2008 5:34 PM
Hello,
I need to show an error message when the input parameters of the program are not filled, without to exit of the program.
In other words i need to do the same that if i put this parameter as Obligatory, just that i have to show another message instead of standard "Make an entry in all required files".
Thanks
Manel
10-10-2008 5:36 PM
you can do this...
at selection-screen.
if p_one is initial.
message e001 with 'enter the value for something'.
endif.
if s_matnr is initial.
message e002.
endif.
10-10-2008 5:36 PM
you can do this...
at selection-screen.
if p_one is initial.
message e001 with 'enter the value for something'.
endif.
if s_matnr is initial.
message e002.
endif.
10-10-2008 5:53 PM
I suggest to use message type 'S' instead of 'E'. This keeps all the selection screen fields open without exiting from selection screen.
at selection-screen.
if p_one is initial.
message S001 with 'enter the value for something'.
EXIT.
endif.
if s_matnr is initial.
message S002.
EXIT.
endif.