cancel
Showing results for 
Search instead for 
Did you mean: 

Profit centre check at sales order level

Former Member
0 Kudos

Dear All,

When I create a sales order, a profit centre comes as default from the material master, which needs to be changed at sales order level.

Can I have any validation here that if the profit centre doesn't match a particular criteria, system should not alllow to save the sales order.

If there is an user exit, kindly let me know with details.

Thanks and regards,

Avnesh Kamdar

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member204513
Active Contributor
0 Kudos

Dear Kadar,

You take the help from the ABAPer, and explain what are the data you are going to use or consider (Base data) while validating the Profit centre in the Sales order.

You try with the following User Exits

In the program MV45AFZZ

1.USEREXIT_SAVE_DOCUMENT_PREPARE

2.USEREXIT_SAVE_DOCUMENT.

I hope it will help you

Regards,

Murali.

chaitanya_deodhar
Participant
0 Kudos

Please check the posiibility of using form SAVE_DOCUMENT_PREPARE in user exit MV45AFZZ. The validation can be given in ABAP code which shall fire a error certain Profit centres.