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.