<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Reading the xml into internal table. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-the-xml-into-internal-table/m-p/12114493#M1973795</link>
    <description>&lt;P&gt;Hi experts,&lt;BR /&gt;I am trying to read xml file into internal table. For this purpose i am reading the xml into xstring and then pushing it into internal table.&lt;/P&gt;
  &lt;P&gt;So far i have used SXMB_GET_MESSAGE_PAYLOAD which gives the following xml&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Call Inbound Proxy-&amp;gt;Payloads-&amp;gt;MainDocument&lt;/STRONG&gt;(image attached below)&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://answers.sap.com/storage/temp/1746633-tempsnip.png"&gt;tempsnip.png&lt;/A&gt; &lt;/P&gt;
  &lt;P&gt;SXMB_GET_XI_MESSAGE_INT ,SXMB_GET_XI_MESSAGE both these FM's gives me the xml (image attached below).&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://answers.sap.com/storage/temp/1746634-tempsnip.png"&gt;tempsnip.png&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;But the xml i want is in the &lt;STRONG&gt;Inbound Message(Receiver)-&amp;gt;Payloads-&amp;gt;&lt;/STRONG&gt;MainDocument (image attached below).&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://answers.sap.com/storage/temp/1746637-tempsnip.png"&gt;tempsnip.png&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;Please if someone can suggest an FM or class to fetch the same.&lt;/P&gt;
  &lt;P&gt;Thanks and Regards.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Nov 2019 04:34:49 GMT</pubDate>
    <dc:creator>former_member267368</dc:creator>
    <dc:date>2019-11-14T04:34:49Z</dc:date>
    <item>
      <title>Reading the xml into internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-the-xml-into-internal-table/m-p/12114493#M1973795</link>
      <description>&lt;P&gt;Hi experts,&lt;BR /&gt;I am trying to read xml file into internal table. For this purpose i am reading the xml into xstring and then pushing it into internal table.&lt;/P&gt;
  &lt;P&gt;So far i have used SXMB_GET_MESSAGE_PAYLOAD which gives the following xml&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Call Inbound Proxy-&amp;gt;Payloads-&amp;gt;MainDocument&lt;/STRONG&gt;(image attached below)&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://answers.sap.com/storage/temp/1746633-tempsnip.png"&gt;tempsnip.png&lt;/A&gt; &lt;/P&gt;
  &lt;P&gt;SXMB_GET_XI_MESSAGE_INT ,SXMB_GET_XI_MESSAGE both these FM's gives me the xml (image attached below).&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://answers.sap.com/storage/temp/1746634-tempsnip.png"&gt;tempsnip.png&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;But the xml i want is in the &lt;STRONG&gt;Inbound Message(Receiver)-&amp;gt;Payloads-&amp;gt;&lt;/STRONG&gt;MainDocument (image attached below).&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://answers.sap.com/storage/temp/1746637-tempsnip.png"&gt;tempsnip.png&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;Please if someone can suggest an FM or class to fetch the same.&lt;/P&gt;
  &lt;P&gt;Thanks and Regards.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 04:34:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-the-xml-into-internal-table/m-p/12114493#M1973795</guid>
      <dc:creator>former_member267368</dc:creator>
      <dc:date>2019-11-14T04:34:49Z</dc:date>
    </item>
  </channel>
</rss>

