Skip to Content
0

SAP PI: Sorting nodes after hierarchie change

Dec 16, 2016 at 11:43 AM

51

avatar image
Former Member

Hi,


In SAP PI I got an interesting question about this message structures:


Source:
<main node A1>
<field1>
<field2>
<sub node B1a>
<field3>
<sub node B1b>
<field4>
<main node A2>
<field1>
<field2>
<sub node B2>
<field3>

Both nodes are 1...unbound

In the target structure they should be sorted with sub nodes on level of main nodes

<main node A1>
<field1>
<field2>
<main node B1a>
<field3>
<main node B1b>
<field4>
<main node A2>
<field1>
<field2>
<main node B2>
<field3>

So the subnode becomes a main node on same level but needs to be sorted to the main nodes A.

My results are loosing that connection between nodes by sorting.
<main node A1>... fields
<main node A2>... fields
<main node B1>... fields
<main node B2>... fields

Any ideas are welcome!

Best regards
Dirk

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers