<?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 Re: Dynamically read complex XML without creating dictionary structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-read-complex-xml-without-creating-dictionary-structure/m-p/12405045#M1995987</link>
    <description>&lt;P&gt;I checked the same but everywhere they create dictionary table or creating local structures . &lt;/P&gt;&lt;P&gt;Do you have any link where i can find xml created dynamically. &lt;/P&gt;</description>
    <pubDate>Tue, 01 Jun 2021 04:23:01 GMT</pubDate>
    <dc:creator>Karan_Chopra_</dc:creator>
    <dc:date>2021-06-01T04:23:01Z</dc:date>
    <item>
      <title>Dynamically read complex XML without creating dictionary structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-read-complex-xml-without-creating-dictionary-structure/m-p/12405043#M1995985</link>
      <description>&lt;P&gt;Hello experts.&lt;/P&gt;
  &lt;P&gt;Need help in creating and then updating XML file in abap. &lt;/P&gt;
  &lt;P&gt;Problem is my Xml file is complex with 200 + fields and deep hierarchy. I know XML is usually created with XSLT tool in abap and dictionary structure is created but in my case it will be really cumbersome and moreover hierarchy might not be fixed in XML. &lt;/P&gt;
  &lt;P&gt;Is there a way to create xml without creating dictionary structure and convert data to internal table dynamically? &lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 20:21:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-read-complex-xml-without-creating-dictionary-structure/m-p/12405043#M1995985</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2021-05-31T20:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically read complex XML without creating dictionary structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-read-complex-xml-without-creating-dictionary-structure/m-p/12405044#M1995986</link>
      <description>&lt;P&gt;No need of ABAP Dictionary.&lt;/P&gt;&lt;P&gt;There are many examples in the Web, especially in the official ABAP Documentation (CALL TRANSFORMATION).&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 04:00:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-read-complex-xml-without-creating-dictionary-structure/m-p/12405044#M1995986</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-06-01T04:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically read complex XML without creating dictionary structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-read-complex-xml-without-creating-dictionary-structure/m-p/12405045#M1995987</link>
      <description>&lt;P&gt;I checked the same but everywhere they create dictionary table or creating local structures . &lt;/P&gt;&lt;P&gt;Do you have any link where i can find xml created dynamically. &lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 04:23:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-read-complex-xml-without-creating-dictionary-structure/m-p/12405045#M1995987</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2021-06-01T04:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically read complex XML without creating dictionary structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-read-complex-xml-without-creating-dictionary-structure/m-p/12405046#M1995988</link>
      <description>&lt;P&gt;Your question was how to do it without creating a dictionary structure. Now you're saying that you don't want to create a local structure either.&lt;/P&gt;&lt;P&gt;You can create local structures dynamically using RTTS. Maybe that would work for you.&lt;/P&gt;&lt;P&gt;It's a bit odd to say that the XML won't be fixed. Why is that? Obviously the data held in it will vary, but usually you expect XML to conform to a specific schema. &lt;/P&gt;&lt;P&gt;Of course there's absolutely nothing to stop you reading the XML file a line at a time and writing a parsing program in ABAP. &lt;/P&gt;&lt;P&gt;You might also look at the iXML library. &lt;A href="https://help.sap.com/doc/abapdocu_751_index_htm/7.51/en-us/abenabap_ixml_lib.htm" target="test_blank"&gt;https://help.sap.com/doc/abapdocu_751_index_htm/7.51/en-us/abenabap_ixml_lib.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 05:25:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-read-complex-xml-without-creating-dictionary-structure/m-p/12405046#M1995988</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2021-06-01T05:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically read complex XML without creating dictionary structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-read-complex-xml-without-creating-dictionary-structure/m-p/12405047#M1995989</link>
      <description>&lt;P&gt;Sorry for the confusion. My point was as XML consist 200 plus fields, creation of same as dictionary or local structure is something cumbersome. Also there might be cases when certain nodes might be empty. &lt;/P&gt;&lt;P&gt;Even if we say only nodes are empty and xml base structure does not change then is it possible to read the same without specifically creating data structure? &lt;/P&gt;&lt;P&gt;Or then other option is RTTS. &lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 05:53:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-read-complex-xml-without-creating-dictionary-structure/m-p/12405047#M1995989</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2021-06-01T05:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically read complex XML without creating dictionary structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-read-complex-xml-without-creating-dictionary-structure/m-p/12405048#M1995990</link>
      <description>&lt;P&gt;It's always possible. Transformations and XLST are just programs. Written in a programming language. Anything written in one language can be written in another. Worst case (and I've seen it done), you can use the normal text processing facets of ABAP to read the XML a line at a time and deal with it that way.&lt;/P&gt;&lt;P&gt;However, if you've got the XSD of the XML, then you can hijack SPROXY functionality to create the structures and transformations automatically. &lt;A href="https://blogs.sap.com/2015/12/14/create-xml-files-xsd-compliant-exploiting-sproxy-functionalities-and-xslt-transformation"&gt;https://blogs.sap.com/2015/12/14/create-xml-files-xsd-compliant-exploiting-sproxy-functionalities-and-xslt-transformation&lt;/A&gt;/&lt;/P&gt;&lt;P&gt;This is exactly how I wrote a ZUGFeRD parser.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 06:06:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-read-complex-xml-without-creating-dictionary-structure/m-p/12405048#M1995990</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2021-06-01T06:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically read complex XML without creating dictionary structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-read-complex-xml-without-creating-dictionary-structure/m-p/12405049#M1995991</link>
      <description>&lt;P&gt;Yes, convincing a computer to do what you want it to (aka programming) is cumbersome at times. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sandra and Matthew have already provided some directions for you. But could you clarify for me as I'm not sure I understand what it is you want to do... In the title there is "Read", then in the text there "creating and then updating"... Where are you getting your data from to start with? And what are you doing with it? Are you updating something in SAP based on it? Or are you sending something out from SAP to another system? Or are you using SAP as some kind of XML transformation engine?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 08:09:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-read-complex-xml-without-creating-dictionary-structure/m-p/12405049#M1995991</guid>
      <dc:creator>joltdx</dc:creator>
      <dc:date>2021-06-01T08:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically read complex XML without creating dictionary structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-read-complex-xml-without-creating-dictionary-structure/m-p/12405050#M1995992</link>
      <description>&lt;P&gt;@&lt;SPAN class="mention-scrubbed"&gt;jorgen_lindqvist41&lt;/SPAN&gt; Actually I need to first read the XML file which comes from interface and then based on certain mapping I need to update the XML with SAP data and send back to third party interface.&lt;/P&gt;&lt;P&gt;My first problem is XML has infact 100s of field and those also deep structures something as attached. This structure goes till 900..&lt;/P&gt;&lt;P&gt;So I am not sure what should be best approach.&lt;/P&gt;&lt;P&gt;Hope you get my point&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1942932-2021-06-01-104045.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 08:51:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-read-complex-xml-without-creating-dictionary-structure/m-p/12405050#M1995992</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2021-06-01T08:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically read complex XML without creating dictionary structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-read-complex-xml-without-creating-dictionary-structure/m-p/12405051#M1995993</link>
      <description>&lt;P&gt;Oh, I get it. You need to do all of the things... And from what I can tell, you're in for quite a bit of work... I can't give you any better advice then than to have fun! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 09:26:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-read-complex-xml-without-creating-dictionary-structure/m-p/12405051#M1995993</guid>
      <dc:creator>joltdx</dc:creator>
      <dc:date>2021-06-01T09:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically read complex XML without creating dictionary structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-read-complex-xml-without-creating-dictionary-structure/m-p/12405052#M1995994</link>
      <description>&lt;P&gt;If your program receives an XML document, and you need to just update a few nodes, then go to IXML or SXML, as it would be a useless effort to create a type with many nodes that you don't need.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 09:45:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-read-complex-xml-without-creating-dictionary-structure/m-p/12405052#M1995994</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-06-01T09:45:14Z</dc:date>
    </item>
  </channel>
</rss>

