cancel
Showing results for 
Search instead for 
Did you mean: 

Prevent collective billing for a particular customer

alvin_aquino
Explorer
0 Kudos

Dear Gurus!

A customer has requested that they DO NOT want collective billing, in other words they want a separate invoice for every delivery note.

All other customers are currently subject to collective billing where if there are multiple deliveries on the day, they are consolidated into a single invoice for the customer.

Many thanks in advance!

-Alvin

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Alvin,

You should create your own copy routine in VOFM: "Data transfer" - "Billing documents" and

assign to the proper entry in Copycontrol from Delivery to Billing Doc: "Data VBRK/VBRP"

In the routine, for this particular customer add the delivery note nr as an additional

invoice split criteria :

If vbak-kunnr = <your customer>.

<add likp-vbeln to vbrk-zukri>

else.

<copy the existing code here>

Endif.

BR,

Barna

Answers (3)

Answers (3)

former_member183879
Active Contributor
0 Kudos

Alvin,

When you want to create the collective invoice in VF04, there is also a field called "Sold to Party" where you can not only include the customers, you can also exclude the customers you want to exclude from collective billing. The exclusion is not visible when you just double click on the field. You click teh multiple entries button (which is at the right end of this field) and there double click on the column where teh values are given. Now a screen comes. Here you can select "Not equal to" indicator and then give the customer number for whom you dont want collective invoice.

You can save this as a variant and then process the invoice for all customers other than this customer. If you want to create individual billing for this customer in VF04, you can just create another variant for this purpose.

Lakshmipathi
Active Contributor
0 Kudos

You can go with the suggestions already given or create a new billing document type and assign routine 003 for the field "Data VBRK/VBRP in VTFL

thanks

G. Lakshmipathi

Shiva_Ram
Active Contributor
0 Kudos

The proposal suggested by Barna will work in your scenario.

The only suggestion I would like to make is instead of hard coding the customer number in the routine, you can store the customer number in a Z-table and the routine can read from there. By this way, in furture, if the customer agrees for collective billing, then you can remove the Z-Table entry and you need not again modify the code in VOFM.

Regards,