on 01-21-2011 1:47 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.