Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Regarding User Exit and Dialog programming validation of a field


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,


Former Member

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.


Rich Heilman

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question