‎2008 Apr 18 7:33 AM
Hi,
Based on two sales orders, we would like to create one billing document. Here's the case:
Sales order 1 (and delivery 1) has customer number A as sold-to party and customer number C as bill-to party and payer
Sales order 2 (and delivery 2) has customer number B as sold-to party and customer number C as bill-to party and payer
Using the "Simulate" option in VF04 causes the system to propose two different billing documents, due to the following (info from the split analysis):
Split due to different partner data:
Customer Number 1
Address
Split due to different header data:
Sold-to party
We have attached a VOFM routine to the processing, in which we clear out the sold-to party:
clear: vbrk-kunagThis eliminates the "split due to different header data", but how do we clear out the fields "Customer Number 1" and "Address"? I have tried the following code in the same VOFM routine, but with no luck:
clear: vbpa-kunnr-> How can we clear out the customer number and the address to eliminate the split?
All helpful answers will be rewarded.
Best Regards,
MV
‎2008 Apr 18 7:16 PM
OMG! This is crazy - I don't think you're supposed to do this... It will mess up the standard functionality - reports, index tables, etc.
Tell your SD consultant to configure partners differently, so that Sold-to is the same but Ship-to or something else is different. Or, in the worst case, you can always create a custom program and Smartform to print several invoices together, if your customers require.
‎2010 Jul 21 3:42 AM
‎2015 Sep 19 10:15 AM
Hi Mari Virik,
Even I need the same functionality.Could you please let us know the solution if you have achieved in the Partner data.
Thanks