cancel
Showing results for 
Search instead for 
Did you mean: 

Invocie Split acording to quantity

Former Member
0 Kudos

Hi All,

I have a requirement in my implementation, where in i want to split the invoices if the quantity for a particular material exceeds a certain predefined quanity.

i have tried using the copy control routines from delivery to invoice. we have tried to chnage the routines and modify the data in internal table ZUK and field ZUKRI

but it does not seem to split correctly

have any oen of you done some similar development ? could you share some diea on how it could be done

we have tried using and modifying the standard split routines and using the various routine combinations

Ex Material A _ split should occur if quantity exceeds 10 units

Quantity in order 50

therforer invoice generated should be 5 of 10 units each

Thanks in advance

Akasha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Custom copying routine at the item catg level in copy control should do. Also you need to maintain a Z table for the material wise allowed qty for split.

Use the LIPS to pass the field LFIMG to VBRK-ZUKRI and include the code to verify the values from the Z table.

Answers (2)

Answers (2)

Lakshmipathi
Active Contributor
0 Kudos

Dear Akasha Apte

Through standard, you cannot achieve this requirement. You can follow Mr.Murali's suggestion by writing a code in the routine and assign it in copy control.

thanks

G. Lakshmipathi

former_member204513
Active Contributor
0 Kudos

Dear Akasha,

You get this requirement through maintaining the Copying riutine itself in the item level copy control settings between delivery and billing.

In VTFL transaction item level Related field is Data VBRK/VBRP standrad routine for invoice split is 1-Inv.split (sample) so you can copy the standard one then you can add the logic as per your requirement with the help of ABAPer.

I hope this will help you,

Regards,

Murali.