Showing results for 
Search instead for 
Did you mean: 

Variable screen fields optional-->mandatory

Former Member
0 Kudos

Hi all,

Is it possible to have to optional variables in the selection screen, and then if one of them is filled, turn the other to mandatory? For example:

I have these two optional variables: PO number and PO Doc. type. If the PO number is filled, then the PO doc type should be mandatory.

If is possible, how can it be done?

Thank you.


View Entire Topic
Former Member
0 Kudos

as Deepu metioned, You can trigger error message from variables exit using 'RRMS_MESSAGE_HANDLING' FM.

Please take look at below threads...<a href=""></a>

<a href=""></a>

<a href=""></a>.

Note: this FM will trigger Error message for Bex Bariable Screen only, not for Web.

Nagesh Ganisetti.

  • Assign Point if it help.