cancel
Showing results for 
Search instead for 
Did you mean: 

Need Help In Mapping

Former Member
0 Kudos

Hi,

I have a requirement in which I need to implement the following logic:

<SRC>

<Document> ---0..1

<Link> ---0..unbounded

</Node1>

</Node2>

</Link>

</Document>

<SRC>

The Link will be repeating and hence Node1 will repeat.

Now I want to map this structure to a similar target structure with the condition that I need to count the number of Link nodes and implement a counter....this count has to be concatinated to the target node along with SRC---Node1.

Please provide pointers on how to solve this.

Regards,

Abhishek.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member200962
Active Contributor
0 Kudos

Hi,

How can we implement the concept of Global Variable in SAP PI 7.1.

Thanks,

Abhishek.

Former Member
0 Kudos

Hi,

Try this blog

Regards,

Sreenivas

SudhirT
Active Contributor
0 Kudos

Hi,

Try

Link1-----Count---------

                               Concatenate function------Target Field.
Node1--------------------

Just use proper contexts.

Thanks!