Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Select Options - Obligatory

karthik_rajaspic
Participant
0 Likes
733

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.

1 ACCEPTED SOLUTION
Read only

jayakummar
Active Participant
0 Likes
701

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

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.

5 REPLIES 5
Read only

jayakummar
Active Participant
0 Likes
702

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

Read only

Former Member
0 Likes
701

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.

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
701

just declare select-options no intervals no-extension.

at selection-screen on dat.

check whethre sodat-high is initial.

then throw the message.

Read only

Nimesh_S_Patel
Explorer
0 Likes
701

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.

Read only

0 Likes
701

Hi All,

Thanks for your suggestions.

The problem is solved now.