Create a Collective Billing Spiltting 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

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.

SAP SD Books :-
SAP Sales and Distribution, Interview Questions, Certification and Configuration Books

Goto:
SAP SD Pricing

Back to :-
SAP SD (Sales and Distribution) Configuration Hints and Tips

Return to :-
SAP ABAP/4 Programming, Basis Administration, Configuration Hints and Tips

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.  The site www.gotothings.com is in no way affiliated with SAP AG.
Any unauthorised copying or mirroring is prohibited.