My client has acivated to New GL so I'm creating program to migrate existing docs. I have created a Zprogram in which I have used the standard function module 'G_BEB_SPLIT_DOCUMENT'. This function module is used to split document and also derives segment based on profit center.
Now I'm trying to split the existing vendor open item document. It is working fine when if the profit center in expense line item and vendor line item are same. But at my client's place there are some documents where Vendor and expense items have different profit centers. In this case the function mudule give the error : 'balancing field segment in line item 001 not filled'.
Please help me solve this problem.
Thanks in advance...