Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Invoice split based only on payer, material, invoice date

Former Member
0 Likes
915

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!

3 REPLIES 3
Read only

madhu_vadlamani
Active Contributor
0 Likes
631

Hi Stefan,

Did you check through configuration.

Regards,

Madhu.

Read only

eduardo_hinojosa
Active Contributor
0 Likes
631

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

Read only

0 Likes
631

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.