SAP PI/XI Mapping Split Message By Certain Field Value
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 :
I will map this file to a message like this :
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.