<?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: table compare in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-compare/m-p/3668174#M883511</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do this way ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
loop at itab.
read table itab1 with key field1 = itab-field1.
if sy-subrc = 0.
write:\ itab-field1.
endif.
endloop. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Apr 2008 12:07:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-15T12:07:34Z</dc:date>
    <item>
      <title>table compare</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-compare/m-p/3668173#M883510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a dought of comparing two tables , i have two internal tables , in one internal table i am fetching data from ztable and other from the standard table. then i need to compare both the record and perform some task based on true and false. please suggest . my requirement from spec is as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;compare both Create and Change dates/time. For all records that has different date/time, output in an ALV report:	&lt;/P&gt;&lt;P&gt;1.For each record, compare the CREATE_DAT, CREATE_TIM as well as CHANGE_DAT, CHANGE TIM between I_AGR_DEF and I_CT. &lt;/P&gt;&lt;P&gt;a.If different date/time, output the record in ALV.&lt;/P&gt;&lt;P&gt;b.If record exist in I_AGR_DEF but not in I_CT, output record in ALV&lt;/P&gt;&lt;P&gt;c.If record do not exist in I_AGR_DEF but exist in I_CT, output record in ALV.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 12:00:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-compare/m-p/3668173#M883510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T12:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: table compare</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-compare/m-p/3668174#M883511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do this way ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
loop at itab.
read table itab1 with key field1 = itab-field1.
if sy-subrc = 0.
write:\ itab-field1.
endif.
endloop. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 12:07:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-compare/m-p/3668174#M883511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T12:07:34Z</dc:date>
    </item>
  </channel>
</rss>

