Skip to Content

I am Receiving Whole XML In Single Field

Hi All,

I hve a scenario like this WMS->PI->SAP.

I am receiving the whole xml in single field from sender side ,so i need to map target structure(IDOC).

How can i achieve this scenario?

Thanks in advance.

Sandeep

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Dec 05, 2017 at 03:32 PM

    Hi Sandeep,

    Use an XSLT transformation that takes the content from the XML field and place it unescaped as a target message.

    Example:

    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:stylesheet version="1.0" xmlns:ns0="http://www.w3.org/1999/XSL/Transform">
       <ns0:output method="xml" indent="yes"/>
       <ns0:template match="node() | @*">
          <ns0:copy>
             <ns0:value-of select="XXXXXXXXXXXXXXX" disable-output-escaping="yes"/>
          </ns0:copy>
       </ns0:template>
    </ns0:stylesheet>

    Replace the "XXXXXXXXXXX" with the Xpath route to your field.

    Best,

    Ariel Bravo Ayala

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 08, 2017 at 01:41 PM

    Thank you for replay Ariel Bravo Ayala

    Add a comment
    10|10000 characters needed characters exceeded

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.