<?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: compare 2 XML and only get the differences back in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/compare-2-xml-and-only-get-the-differences-back/m-p/4152785#M992956</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Patel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the method sound promising, however I have my xml in a data field of type string and the method needs type XSTRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you happen to know how to convert from string to XSTRING?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Koen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jul 2008 15:20:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-15T15:20:28Z</dc:date>
    <item>
      <title>compare 2 XML and only get the differences back</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/compare-2-xml-and-only-get-the-differences-back/m-p/4152783#M992954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ABAP XML experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not have an XI infrastructure, but need to perform a changes-only functionality in interfacing.&lt;/P&gt;&lt;P&gt;To achieve this I have a program which creates an XML string from an ABAP dictionary structure. I create this XML using the  CALL TRANSFORMATION id statement. Then I store this XML in a custom database table.&lt;/P&gt;&lt;P&gt;The next time I run the interface program I create a new XML string and I read the one from the database, which I stored in the previous run of the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far so good. Now the question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a standard function module, class or transformation who I can give the new and old XML and then it would compare the content and tell me which values have changed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Koen Van Loocke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2008 14:49:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/compare-2-xml-and-only-get-the-differences-back/m-p/4152783#M992954</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-15T14:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: compare 2 XML and only get the differences back</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/compare-2-xml-and-only-get-the-differences-back/m-p/4152784#M992955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try COMPARE method of class CL_SXIVERI_XML_COMPARATOR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2008 14:53:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/compare-2-xml-and-only-get-the-differences-back/m-p/4152784#M992955</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-07-15T14:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: compare 2 XML and only get the differences back</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/compare-2-xml-and-only-get-the-differences-back/m-p/4152785#M992956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Patel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the method sound promising, however I have my xml in a data field of type string and the method needs type XSTRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you happen to know how to convert from string to XSTRING?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Koen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2008 15:20:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/compare-2-xml-and-only-get-the-differences-back/m-p/4152785#M992956</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-15T15:20:28Z</dc:date>
    </item>
  </channel>
</rss>

