Skip to Content
0
Former Member
Nov 01, 2016 at 08:04 PM

How to Split GL line items in PI mapping

116 Views

Hello,

I need help for the following scenario :

PI will be receiving text files where the number of GL line items will be of the order say 3600 GL line per file.

Now we need to split the idoc in such that only 900 GL should come in one idoc.

Condition is, first 450 Debit GL account and their corresponding 450 Credit GL account with currency segment should come in one IDOC, and so on..

I have done the splitting logic, but first 900 Debit GL line item coming in one idoc and their corresponding Credit GL line item is coming in another IDOC. Which is not correct as per business requirement.

Can you please help me, How we can build this logic in PI mapping.

Thank You.