Dear Experts Greetings...!
I have enhanced my Sale order Header-Addition data B tab with Z-fields to show the data comming from External System.
My base price calculation is based on the values in the custom Z-fields which I m maintaining in Sale order Header- Additional Data B tab for which I have written the custom routine and its working fine.
My client bills its customers on fortnightly basis, So for which they want to generate a single invoice for the sale orders created on daily basis.
For the above client requirement, I have maintained the Copy Controls in VTFA(Order-To Billing)
At Header Level:
Copying Requirement=001
At Item Level:
Copying Requirement =002
VBRK/VBRP = 003
when I have maintained the above requirement my invoice is getting splitted because of the data in the custom fields are different.
To Overcome this requirement I have developed the custom Data transfer routine (900) in which I am clearing the data from the ZUKRI field after each comparison to avoid the split, Its working fine. But the values are getting cleared from the table so the VBRP-NETWR value getting effected and subsequently the VBRK-NETWR.
Please experts give me some valid logic to overcome from this issue.
Regards,
SAQ MD.