<?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 file in background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/compare-2-xml-file-in-background/m-p/10536402#M1855723</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ouail,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Read XML file using open dataset (because it's in background)&lt;/P&gt;&lt;P&gt;2) Download files to program memory&lt;/P&gt;&lt;P&gt;3) Get the invoice number (example, next 10 chars after &lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;lt;InvoiceNumber&amp;gt;&lt;/SPAN&gt;... or between &lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;lt;InvoiceNumber&amp;gt;&lt;/SPAN&gt; and &amp;lt;/InvoiceNumber&amp;gt; from these 2 files&lt;/P&gt;&lt;P&gt;4) Check if invoice number isn't char (in case that when initial the next characters are the closing tag).&lt;/P&gt;&lt;P&gt;5) Compare both invoice values from xml files&lt;/P&gt;&lt;P&gt;6) Build the text email with the compare detail. "...test is not ok... / .... Teste is ok...."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Aug 2014 13:58:21 GMT</pubDate>
    <dc:creator>arthur_alvesteixeira</dc:creator>
    <dc:date>2014-08-04T13:58:21Z</dc:date>
    <item>
      <title>compare 2 xml file in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/compare-2-xml-file-in-background/m-p/10536401#M1855722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to compare two XML files in &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;background&lt;/STRONG&gt;&lt;/SPAN&gt; containing data like following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ReportingDocument&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CompanyCode&amp;gt;1000&amp;lt;/CompanyCode&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;TransactionDate&amp;gt;2000-01-05&amp;lt;/TransactionDate&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;InvoiceProperties&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;SupplierInvoiceNumber&amp;gt;000000162000VSTX&amp;lt;/SupplierInvoiceNumber&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;InvoiceNumber&amp;gt;0100000000&amp;lt;/InvoiceNumber&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/InvoiceProperties&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/ReportingDocument&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As result, i have to receive &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;automatically&lt;/STRONG&gt;&lt;/SPAN&gt; Email in my outlook inbox like something:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test is ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test is not ok, differences in invoiceNumber,.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can some one help me ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ouail.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 13:37:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/compare-2-xml-file-in-background/m-p/10536401#M1855722</guid>
      <dc:creator>former_member445510</dc:creator>
      <dc:date>2014-08-04T13:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: compare 2 xml file in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/compare-2-xml-file-in-background/m-p/10536402#M1855723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ouail,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Read XML file using open dataset (because it's in background)&lt;/P&gt;&lt;P&gt;2) Download files to program memory&lt;/P&gt;&lt;P&gt;3) Get the invoice number (example, next 10 chars after &lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;lt;InvoiceNumber&amp;gt;&lt;/SPAN&gt;... or between &lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;lt;InvoiceNumber&amp;gt;&lt;/SPAN&gt; and &amp;lt;/InvoiceNumber&amp;gt; from these 2 files&lt;/P&gt;&lt;P&gt;4) Check if invoice number isn't char (in case that when initial the next characters are the closing tag).&lt;/P&gt;&lt;P&gt;5) Compare both invoice values from xml files&lt;/P&gt;&lt;P&gt;6) Build the text email with the compare detail. "...test is not ok... / .... Teste is ok...."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 13:58:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/compare-2-xml-file-in-background/m-p/10536402#M1855723</guid>
      <dc:creator>arthur_alvesteixeira</dc:creator>
      <dc:date>2014-08-04T13:58:21Z</dc:date>
    </item>
  </channel>
</rss>

