<?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: Intertable Operations--help required in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/intertable-operations-help-required/m-p/2934439#M691493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check my notes below -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a internal table with 20 records with 15 empty,i have to delete these empty records,plz tell me how to do it?&lt;/P&gt;&lt;P&gt;--&amp;gt; suppose your internal table name is ITAB and field name is FIELD1.&lt;/P&gt;&lt;P&gt;You can use this command.&lt;/P&gt;&lt;P&gt;DELETE ITAB WHERE FIELD1 IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alos i hav a table with 15 records &amp;amp; one with 5 records(common).so how to delete these common records from 15 record table.&lt;/P&gt;&lt;P&gt;--&amp;gt;Suppose table with 15 records is ITAB1 and table with 5 records is ITAB2.&lt;/P&gt;&lt;P&gt;SORT ITAB1. SORT ITAB2.&lt;/P&gt;&lt;P&gt;LOOP AT ITAB1.&lt;/P&gt;&lt;P&gt;READ TABLE ITAB2 WITH KEY FIELD1 = ITAB1-FIELD1.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;DELETE ITAB1.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ashish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Ashish Gundawar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 Oct 2007 14:10:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-21T14:10:02Z</dc:date>
    <item>
      <title>Intertable Operations--help required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/intertable-operations-help-required/m-p/2934438#M691492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a internal table with 20 records with 15 empty,i have to delete these empty records,plz tell me how to do it?&lt;/P&gt;&lt;P&gt;alos i hav a table with 15 records &amp;amp; one with 5 records(common).so how to delete these common records from 15 record table.&lt;/P&gt;&lt;P&gt;plz tell me how to do,i need help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vipin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Oct 2007 13:47:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/intertable-operations-help-required/m-p/2934438#M691492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-21T13:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Intertable Operations--help required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/intertable-operations-help-required/m-p/2934439#M691493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check my notes below -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a internal table with 20 records with 15 empty,i have to delete these empty records,plz tell me how to do it?&lt;/P&gt;&lt;P&gt;--&amp;gt; suppose your internal table name is ITAB and field name is FIELD1.&lt;/P&gt;&lt;P&gt;You can use this command.&lt;/P&gt;&lt;P&gt;DELETE ITAB WHERE FIELD1 IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alos i hav a table with 15 records &amp;amp; one with 5 records(common).so how to delete these common records from 15 record table.&lt;/P&gt;&lt;P&gt;--&amp;gt;Suppose table with 15 records is ITAB1 and table with 5 records is ITAB2.&lt;/P&gt;&lt;P&gt;SORT ITAB1. SORT ITAB2.&lt;/P&gt;&lt;P&gt;LOOP AT ITAB1.&lt;/P&gt;&lt;P&gt;READ TABLE ITAB2 WITH KEY FIELD1 = ITAB1-FIELD1.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;DELETE ITAB1.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ashish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Ashish Gundawar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Oct 2007 14:10:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/intertable-operations-help-required/m-p/2934439#M691493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-21T14:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Intertable Operations--help required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/intertable-operations-help-required/m-p/2934440#M691494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the second problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SORT itab.
DELETE ADJACENT DUPLICATES FROM itab.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Oct 2007 15:57:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/intertable-operations-help-required/m-p/2934440#M691494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-21T15:57:45Z</dc:date>
    </item>
  </channel>
</rss>

