VTFL - Check copy control rules
e.g. Select F2 - Invoice LF Delivery
e.g. Double click on Tan - Standard Item
Check Data VBRK/VBRP - Copy rule number in use e.g. 900
VOFM - Creating a splitting rule
Click Data Transafer -> Billing documents
Copy the standard 1 - Inv.split (sample) to a e.g. 900 series number range
A new splitting rule 900 will be created, follows by a program FV60C900.
In program FV60C900, SAP has a standard internal table called ZUK where you can define fields that must be compared and be equal before a billing may be combined. However, total characters allowed is 40 will be store on the billing header table VBRK.
e.g. Program FV60C900
DATA: BEGIN OF ZUK,
MODUL(3) VALUE '900',
BUPLA LIKE VBRK-BUPLA, "Business place
LIFNR LIKE LFA1-LIFNR, "Consignor (Vendor Consignment)
MWSKZ LIKE VBRP-MWSKZ, "Tax code
END OF ZUK.
ZUK-BUPLA = VBRK-BUPLA.
ZUK-LIFNR = LFA1-LIFNR.
ZUK-MWSKZ = VBRP-MWSKZ.
Back to Previous
Return to SAP Hints and Tips on Configuration and ABAP/4 Programming