cancel
Showing results for 
Search instead for 
Did you mean: 

splitting of billing document

Former Member
0 Kudos

2 identical sales orders with same terms of payment, PAYER and billing date need to be processed with separate invoices. User dont want to make changes in the sales oder. Is there any way where we can process it automatically so that all the identical sales orders will get processed and system will generate individual billing document for each rather than processing it manually (using VF01)? Please help.

Accepted Solutions (0)

Answers (3)

Answers (3)

Manoj_Mahajan78
Active Contributor
0 Kudos

Mohit,

Below is an expample of billing split by Item category..

Speak to ur ABAPer and check if he can modify to suit your reqt..

In trx VTFA (if your billing is sales order based) choose your billing type and SO type, there select your item categories and there select the field VBRK/VBRP data. In that field you will see the currently used routine. With the help of your ABAP guy create a copy of that routine under a different number and add your lines of code. Let's say you use routine 001.

FORM DATEN_KOPIEREN_001.

  • Header data

  • VBRK-xxxxx = ............

  • Item data

  • VBRP-xxxxx = ............

  • Additional split criteria

DATA: BEGIN OF ZUK,

MODUL(3) VALUE '001',

VTWEG LIKE VBAK-VTWEG,

SPART LIKE VBAK-SPART,

END OF ZUK.

ZUK-SPART = VBAK-SPART.

ZUK-VTWEG = VBAK-VTWEG.

VBRK-ZUKRI = ZUK.

ENDFORM.

This is how it should look after modification:

  • Header data

  • VBRK-xxxxx = ............

  • Item data

  • VBRP-xxxxx = ............

  • Additional split criteria

DATA: BEGIN OF ZUK,

MODUL(3) VALUE '001',

VTWEG LIKE VBAK-VTWEG,

SPART LIKE VBAK-SPART,

PSTYV LIKE VBAP-PSTYV, <- New line

END OF ZUK.

ZUK-SPART = VBAK-SPART.

ZUK-VTWEG = VBAK-VTWEG.

ZUK-PSTYV = VBAP-PSTYV. <- New line

VBRK-ZUKRI = ZUK.

ENDFORM.

After this routine is created and activated place it as the default copy control routine instead of the old ones.

Award some points if this is useful to u...

Regds

MM

Former Member
0 Kudos

Billing document splitting/ consolidation

For splitting/ consolidation of billing when all the relevant data is equal ,the system can conbine multiple deleveries or sales document into one invoice.

This is maintained by using factory calendar & copying rules.

To create consolidated invoicing for a customer,first define factory calendar the payer is using and then assign to billing view of the customer master record for payer. The billing calendar may indicate you one day of week is working day,thus system only propses only that day for billing but system will allow u for creating sales orders and deleveries on remaining days also.

Copy control from delivery type LF to billing type F2

Apart from regular setting the data that is important to an invoice splitting or invoice combination is the entry in the field data VBRK\VBRP.

To create splitting rule, proceed to VOFM and select data transfer,billing documents.

Copy the std. 001-Inv Split . This is done by overwriting the number such as type 900 over 001 and press enter.

I am sure this will resolve your problem.

Best Regards

Sainath

Former Member
0 Kudos

I think you want to combine all billing documents with same payer, terms of payments etc..

I think you need to run a background batch job. for that you ask ur abapers and basis guys, they will help you.

I may be wrong.

if it helps, reward points