Application Development 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: 

Regarding User Exit and Dialog programming validation of a field

Former Member
0 Kudos

Hi,

In VA41[Contract] screen we have added an additional fields under <b>Header Details -> Additional Data B</b>

All those are Z Table fields.

Now in those fields we have created one field called as <b>RATING</b> 3 Char Field.

Now what we want is When we are saving Contract it should become mandatory field.

<b>One option is - When saving Contract in USER EXIT part write code and give error message if it is blank.</b>

<b>2nd is to make that field mandatory in screen itself.</b>

Can anybody tell me which one is best option.

Can anybody sujjest <b>any other options</b> for the same.

Your inputs will be appreciated.

Thanks in advance.

Thanks & Regards,

Prasad.

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

If this field is always to be manditory, in every case, then setting the field in the screen to manditory, is by far the easiest and quickest solution.

If it were me, I would opt to set the "Required" field directly in the screen.

Regards,

Rich Heilman

3 REPLIES 3

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

If this field is always to be manditory, in every case, then setting the field in the screen to manditory, is by far the easiest and quickest solution.

If it were me, I would opt to set the "Required" field directly in the screen.

Regards,

Rich Heilman

0 Kudos

Hi,

Is there any other way by which we can achieve same functionality leaving above mentioned 2 options!

Hi rich thanks for your replies.

Thanks,

Prasad.

0 Kudos

Those two options are really the only way.

Regards,

Rich Heilman