cancel
Showing results for 
Search instead for 
Did you mean: 

How to exclude sales office for combination sales order type/division?

Former Member
0 Kudos

Hi experts,

I would appreciate if you could advise: How to exclude sales office for combination sales order type/division in ECC 6.0 ?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

Standard SAP functionality would not be able to cater to this. Ideally create a Z table with sales order type and sales office combination. Put in entries for combinations that are allowed. In Sales order program MV45AFZZ use the exit USEREXIT_MOVE_FIELD_TO_VBAK. In this exit write down the logic passing the sales office determined and the order type and check if the entry is there or not. If the entry is there then it should go on to the next step. If it does not then pass an error message. You need to use the help of your ABAP er for this.

Thanks

Indranil

Former Member
0 Kudos

No, I can't do that as the same customers should be opened for the same sales office, but using different SO type

Former Member
0 Kudos

Sales office in the order is determined from the customer master. Further the division while creating the sales order determines if the customer has been extended to the division or not. Why dont you unassign the sales office from the sale division and try. That is a easier way out.

Regards

Indranil