Banner
Banner
Banner

Attention: open in a new window. PDFPrintE-mail

2007
01
Dec

Create a Collective Billing Splitting rule

4.6x

VTFL - Check copy control rules
                Target                Source
e.g. Select F2 - Invoice      LF Delivery
Click Item
e.g. Double click on Tan - Standard Item
Check Data VBRK/VBRP - Copy rule number in use e.g. 900

{mosgoogle}

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.

Last Updated (Wednesday, 12 December 2007 22:06)
Free software downloads