cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP PI - Group records based on values of the source message

pi_consultant1
Participant
0 Likes
176

Hi all,

Ive an requirement to group and filter based on the source values:

Ive the following nested Stucture that needs to be mapped/grouped and filtered to the target nested structure:

The Source message can be like this:

pi_consultant1_0-1747160373042.png

And the target XML should look like this:

  • When there is only TestId, the TestId and its Parameter should be passed.
  • When there is both SampleId and TestId, only SampleId should be passed and all the corresponding Parameters of that SampleId should be grouped on. In this case 3 parameters for SampleId (S1) and 1 Parameter for SampleId (S2).
  • Also when there is no TargetId field, the corresponding parameters shouldnt be passed (like parameter P3).

pi_consultant1_1-1747161233340.png

My preference is graphical mapping...
I would be appreciated if you can help me with this, 

Thank you,
John

Accepted Solutions (0)

Answers (0)