09-08-2008 1:58 PM
Hi Experts,
I have lot of selection screen fields. so i am putting all these into number of tabs.
as per each tab wise i am fetching the data.
all the tabs contain same screen number.
here problem is if i enter one mandatory field in one tab and try to execute. it is not fetching the data nor it is not showing any warning/error msg for values in remaining mandatory fields in other tabs.
can anybody tell me how to solve this.
Thanks in Advance,
venkat
09-08-2008 2:03 PM
Option 1 : use the keyword 'MANDATORY' in the parameters/select-option declarations
Option 2 : check for field values in 'AT SELECTION-SCREEN' and issue Error messages
~Piyush Patil
09-08-2008 2:07 PM
You need to use event AT SELECTION-SCREEN ON <> for each select-option.
Suppose you have select-option S_AMTNR, then
AT SELECTION-SCREEN ON S_MATNR.
if s_matnr EQ <>.
message E000.
else.
..
endif.
This will solve ur problem
Regards,
Prashant
09-09-2008 1:06 PM
Hi all,
Thanks for your inputs.
requirement changed. so no need for validation.
Regards,
venkat