Hello all,
Does anyone know if its possible to split the billing document by quantity on the item.
I was only able to find split by items but nothing related to quantity.
If it is available , i want to see the Source code
In copy control VTFL you need to maintain the field named VBRK-VBRP as "XXX" (invoice split) at item level.
Thank you in advance.
[For example Source]
DATA: BEGIN OF ZUK,
MODUL(3) VALUE '001',
VTWEG LIKE VBAK-VTWEG,
SPART LIKE VBAK-SPART,
ABTNR LIKE LIPS-ABTNR,
EMPST LIKE LIPS-EMPST,
END OF ZUK.
ZUK-SPART = VBAK-SPART.
ZUK-VTWEG = VBAK-VTWEG.
ZUK-ABTNR = LIPS-ABTNR.
ZUK-EMPST = LIPS-EMPST.
VBRK-ZUKRI = ZUK.
ENDFORM.