cancel
Showing results for 
Search instead for 
Did you mean: 

Volume (RV45A-VOLUM) as a mandatory filed

Former Member
0 Kudos

Dear Experts,

How can I make the field Volume (RV45A-VOLUM) as a mandatory filed in Sales Order for any particular order type?

Pls help me.

Thanks in advance.

Best Regards.

Ripon Kumar Paul

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thank you all for your Kind support. I've make incompletion log for this field.

Best Regards.

Ripon Kumar Paul

Former Member
0 Kudos

Hi,

As already suggested, you need to either create a Transaction variant using SHD0 Transaction code or via ABAP.

You need to use the user exit USEREXIT_SAVE_DOCUMENT_PREPARE in MV45AFZZ. In this user exit the code has to be written. It is a very simple 2liner code only which says that:

If VBAP-VOLUM is blank then give the error message "Volume has to be entered".

This should for sure resolve your issue. Let me know in-case you need further assistance in this regard.

Regards,

Rohan Gudavalli

Former Member
0 Kudos

Hi Ripon,

Through screen variant you can do this use T.code SHD0 (zero),here you can make which filed you wanted as mandatory in sale order or you can try with incompletion log,maintain VOLUM in incompletion log item level,untill and unless the data is not filled the document will not get saved.T.code OVA2 for incompletion log

Regards

Ram