Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 21, 2015 at 03:26 PM

    Are you using any middleware? It is very simple in Middleware.

    e.G for SAP PI/PO in graphical mapping you can map the BGM segment to IDOC node in target structure for this.

    R

    Add comment
    10|10000 characters needed characters exceeded