cancel
Showing results for 
Search instead for 
Did you mean: 

Single Invoice with same shipping address on multiple deliveries

Former Member
0 Kudos

Hi,


We need single invoice with same shipping address on multiple deliveries through VOFM routine functionality. We have sales orders generating multiple deliveries as required by the business then they change the Ship to address on the deliveries and generate the billing invoice and in cases where  the shipping address is same on the deliveries they require a single Invoice to be created.


To achieve this ..I have created a new routine 905 and assigned to required item category Data VBRK/VBRP and activated the routines.


When I run VF01 with the multiple deliveries the debugging is stopping at the routine and I am confused what to do here to create a collective Invoice because I understand  VBRK-ZUKRI field is used to point out the split criteria but I want the other way where where I want a single Invoice.


Please help me to achieve the functionality.


Regards

Praneeth.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Since you are looking at shipto party address, when user make change to a delivery, address number will be different.

You have to find the delivery shipto address number and pass to add to ZUKRI.

For example:

address 1,

Pass, sales org, soldto. delivery shipto addressnumber 1 to ZUKRI.

address 2

Pass, sales org, soldto. delivery shipto addressnumber 2 to ZUKRI.

Former Member
0 Kudos

Hi Praneeth,

this discussion will clear you doubts: