2007 Dec 26 5:17 AM
Hi Friends,
I need to make the date field as an obligatory field.
S_DATE is the field.
I have declared the field as Select Options.
Now, S_DATE-LOW needs a compulsory entry but S_DATE-HIGH becomes optional.
I need to make S_DATE-HIGH as obligatory.
Kindly help me.
Thanks in advance.
2007 Dec 26 5:20 AM
hai karthik,
do bellow...
at selection-screen. on s_date.
if s_date
-low is initial
error message.
endif.
reward if helpful.
regards,
jai.m
Edited by: jaya kumar on Dec 26, 2007 6:20 AM
2007 Dec 26 5:20 AM
hai karthik,
do bellow...
at selection-screen. on s_date.
if s_date
-low is initial
error message.
endif.
reward if helpful.
regards,
jai.m
Edited by: jaya kumar on Dec 26, 2007 6:20 AM
2007 Dec 26 5:20 AM
Hi,
Do validation check in the program.
AT SELECTION-SCREEN ON S_DATE-HIGH.
IF s_date-high is initial.
Message E()......
endif.
Hope this helps u.
2007 Dec 26 5:21 AM
just declare select-options no intervals no-extension.
at selection-screen on dat.
check whethre sodat-high is initial.
then throw the message.
2007 Dec 26 5:23 AM
Hi karthik,
You need to put check at selection-screen event and need to give error message if S_DATE-HIGH is initial.
Hope it will solve your problem.
Regards
Nimesh S. Patel.
2007 Dec 26 5:28 AM