Skip to Content
author's profile photo Former Member
Former Member

Message mapping - Duplicate subtree

Hi Experts,

I am working on 7.0 server.

In the existing message mapping I found that target nodes are duplicated.

For example

/ns0:FiletoFile_ib_mt/Record/Emp[1]

/ns0:FiletoFile_ib_mt/Record/Emp

And the order for the node in the target message structure is same as above.

And in the output, the order is reversed as below

/ns0:FiletoFile_ib_mt/Record/Emp

/ns0:FiletoFile_ib_mt/Record/Emp[1]

But when am duplicating one more node in the existsing mapping the order is

/ns0:FiletoFile_ib_mt/Record/Emp[2]

/ns0:FiletoFile_ib_mt/Record/Emp[1]

/ns0:FiletoFile_ib_mt/Record/Emp

And now the output is

/ns0:FiletoFile_ib_mt/Record/Emp[2]

/ns0:FiletoFile_ib_mt/Record/Emp[1]

/ns0:FiletoFile_ib_mt/Record/Emp

But I need the output as

/ns0:FiletoFile_ib_mt/Record/Emp

/ns0:FiletoFile_ib_mt/Record/Emp[1]

/ns0:FiletoFile_ib_mt/Record/Emp[2]

Please let me know if you have faced similar issue.

If am creating a new message mapping and duplicating the subtrees the order is given below

/ns0:FiletoFile_ib_mt/Record/Emp

/ns0:FiletoFile_ib_mt/Record/Emp[1]

Why in the existing mapping duplicate subtree is going in the top order and for new message mapping duplicate subtree is going in the bottom. Please advice

Thanks

Suma S

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 28, 2011 at 04:44 PM

    Hi Suma.

    I'm facing a similar issue. Did you solved this ?

    Regards.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Lucas

      I checked this sap note but I used PI 7.0.

      This happens from 7.10 onwards and this is primarily due to the reason that the occurence of the duplicated node was not remembered when the mapping program gets executed. So, the mapping program was expecting data from the payload for the duplicated node and hence the error
      

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.