cancel
Showing results for 
Search instead for 
Did you mean: 

How to map some segments based upon criteria to target structure in SAP PI

0 Kudos
139

I have an IDoc as a source document in where the following segments are:

...

E1EDP35
CUALZ = WE
CUSADD = 'some value1'
E1EDP35
CUALZ = Z1
CUSADD = 'some value2'
E1EDP35
CUALZ = TE
CUSADD = 'some value3'
E1EDP35
CUALZ = Z1
CUSADD = 'some value4'

And I have to fill a source structure like this for all the segments in the IDoc where CUALZ = Z1 so it looks like this:

registration_info (0..1)
registration (0..unbounded)
value = 'some value2'
registration (0..unbounded)
value = 'some value4'

How do I do this?

Accepted Solutions (0)

Answers (1)

Answers (1)

Harish
Active Contributor
0 Kudos

Hi,

this can be implemented with graphical mapping function. Make sure you use the context of the source field at right level.