Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Merging 2 different division sales orders from different plants to one invoice

Dear All,

Need help for the mentioned business scenario.

Customer A,

Plant - Z001 -- 01(Division)

Plant - Z002 -- 02(Division)

Customer A,places order for both the division materials ,which are manufactured/delivered from different plants.

i.e Customer orders for 01 & 02 division orders ,and the requirement is one invoice.

For the above  business scenario, created customer in 01 division/Z001-Plant  and extended the customer to 02 division /Z002 -Plant.

Two different Sales orders created plant wise/division wise and delivery as per the plant. i.e 2 deliveries.

Where the requirement is merging the invoice ,system splitting the invoice due to different header data(i .e different division).

So written a routine with the help of ABAPer,for merging the invoice and able to merge the different deliveries into one invoice.

But  header division field is blank in invoice document due preventing/merging  the header division while merging.

Now not able to cancel the invoice due to data conflict as header division missing in invoice

----

For the above highlighted issue,created customer in common division and with that created 2 different sales order/ deliveries and able to merge one invoice  with common division in header .

Now the issue is how to extend the customer to another division /plant ,when customer created in common division.

Please help me in  configuring the above issue.

Thanks & Regards,

Kumar Babu.

Former Member
replied

Hi Kumar,

VOR2 is for master data : customer and condition records. If you maintain common division in the column 'RefDiv-Customer' agaisnt all other divisions, then you can have the customer created in common division. And that customer will be existing in all other divisions.

Use OVAO, OVAN, OVAM for combining sales org, division and distribution channel for sales document.

Then use OVAZ to assign sales doc type to the common sales area.

Hope you understood it

Regards

Jobi

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question