Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SAP PI/XI Mapping Split Message By Certain Field Value

Hello Experts,

I have to map an edifact file to IDOC . My problem is that i want to split file everytime field that holds edifact code is BGM. For Example if I have a file like this :

BGM  11111111111111

LIN    22222222222222

LIN    33333333333333

BGM  44444444444444
LIN    55555555555555

I will map this file to a message like this :

code: BGM
mes:  1111111111111

So I need to create a split to create one IDOC everytime code is BGM. In this Example I'll have to create 2 IDOCS . First will have first three lines and second will have the remaining two.

Regards

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question