Skip to Content
avatar image
Former Member

Profit centre check at sales order level

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Apr 15, 2008 at 12:25 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 15, 2008 at 01:02 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded