cancel
Showing results for 
Search instead for 
Did you mean: 

Segment not derived if PC is different - New GL Migration

Former Member
0 Kudos

Hi,

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...

Regards,

Sriram.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Ihave derived the segment for each of the profit center for each ofthe line item and updated the same n the internal table. Then I pass the internal table to split function.

Now it's working!!!

Former Member
0 Kudos

Hi, but what is propose to use PC as Balancing field and maintain different PC in P/L and vendor account?It'd derive to vendor account from p/l

Former Member
0 Kudos

If the vendor item and expenses item is different means there is not blancing between profit centers hence standard function module wont work,Try to cope the same and change according to your requirement.