‎2011 Oct 18 8:11 PM
Dear Friends,
I have an issue which I don't know how to move further..
Task: avoid Invoice split during collective invoice creation in VF04. Invoice should be grouped by: payer, material, invoicing date.
What I'm doing: clearing all fields which could cause invoice split in copy routine rv60c903 ( this one is used for this type of invoices ) in VBRK. Then changing partners - sold-to, ship-to, bill-to in enhancement., so that they are equal for all invoices with the same payer party. And also VBRK-ZUKRI is filled accordingly with the grouping parameters: VBKD-PERFK and VBRP-MATNR.
What I can't understand: when I run SIMULATE in VF04, the invoices are grouped correctly, BUT when I run the actual Collective Billing button, for each delivery a new billing document is created.. I can't understand this!
Thanks a lot in advance!
‎2011 Oct 19 2:48 AM
Hi Stefan,
Did you check through configuration.
Regards,
Madhu.
‎2011 Oct 19 8:10 AM
Hi
As Madhu tells you, check your settings in customizing (tcodes VTFA and VTFL). Second, take in account always the SAP Note 11162 - Invoice split criteria in billing document and related notes. Finally, set your own algorithm to rule the splitting defining ZUK structure to determine the value of VBRK-ZUKRI (remember that this field is a char 40) in your own VOFM subroutine.
I hope this helps you
Regards
Eduardo
‎2011 Oct 21 8:01 AM
Everything was ok in the beginning. It's just that the collective billing should be run with button 'Collective billing doc./online'. Thank you guys anyway.