2008 Jan 09 8:00 AM
Hi,
I have a select option on the selection screen which i have made mandatory.
I want to enter the values directly through multiple selection and not on the single field, but when i click on the multiple selection option, it is giving me error to fil the mandatory field first before going to the multiple selction.
Regards,
Sonika
2008 Jan 09 8:11 AM
Dont make it mandatory..
U can do like this.
Start-of-selection.
if (Name of selection option) is initial.
message s(102) (Here give msg like: it is mandatory to fill this field).
leave list-processing.
endif.
Regards,
Nishant
2008 Jan 09 8:06 AM
This is a standrad functionality of SAP.
In order to achiev the requirement you have to code within AT SELECTION-Screen on s_field.
At selection-screen of s_field.
if s_field[] is initial.
message e000 with ' S_field is mandatory'.
endif.
2008 Jan 09 8:06 AM
Hi,
First u have to give some value to field before going for multiple selection,then only it will work....
Regards,
Nagaraj
2008 Jan 09 8:13 AM
Hi Nagraj,
i don't want to put any value in the field as user will just copy the value from the excel and want to paste it in the multiple selection directly.
Is there any way?
Regards,
Sonika
2008 Jan 09 8:11 AM
Dont make it mandatory..
U can do like this.
Start-of-selection.
if (Name of selection option) is initial.
message s(102) (Here give msg like: it is mandatory to fill this field).
leave list-processing.
endif.
Regards,
Nishant
2008 Jan 09 8:15 AM
Hi,
Yes that is a functionality provided by SAP and i dont think we can change it .
An alternative i would suggest is to make the field non mandatory in the selection screen and then check it in the AT SELECTION SCREEN event if values have been entered in the fields.
Regards
Arun
2008 Jan 10 5:19 AM