<?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: internal table process in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-process/m-p/2165983#M458659</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;do sy-tfill times.&lt;/P&gt;&lt;P&gt;if itab-a = itab-b.&lt;/P&gt;&lt;P&gt;delete itab index sy-tabix.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;the above deletes the fiels of equal values.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;take 2 fields m and n.&lt;/P&gt;&lt;P&gt;m = 1.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;do sy-tfill times.&lt;/P&gt;&lt;P&gt;if m &amp;lt;&amp;gt; itab-a.&lt;/P&gt;&lt;P&gt;m = itab-a.&lt;/P&gt;&lt;P&gt;skip.&lt;/P&gt;&lt;P&gt;read table itab index sy-index.&lt;/P&gt;&lt;P&gt;if itab-a &amp;lt;&amp;gt; m.&lt;/P&gt;&lt;P&gt;delete itab index sy-index.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;this should remove  the single values.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check it n let me kno if this works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;ramesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 May 2007 12:38:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-10T12:38:14Z</dc:date>
    <item>
      <title>internal table process</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-process/m-p/2165975#M458651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;              Please give me the logic for the given below scenario&lt;/P&gt;&lt;P&gt;I-Table&lt;/P&gt;&lt;P&gt;      A                     B&lt;/P&gt;&lt;P&gt;      1                      a&lt;/P&gt;&lt;P&gt;      1                      b &lt;/P&gt;&lt;P&gt;      1                      c&lt;/P&gt;&lt;P&gt;      2                      d&lt;/P&gt;&lt;P&gt;      3                      a&lt;/P&gt;&lt;P&gt;      3                      e&lt;/P&gt;&lt;P&gt;      3                      f&lt;/P&gt;&lt;P&gt;      4                      g&lt;/P&gt;&lt;P&gt;      4                      g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above itab ,   itab have lot of records (1000000). i want to display what are all having multiple values only in column A.i want to delete single records (like 2 d(4th row)this  row will be delete )  if column A and column B having same value i want to delete that rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Rajan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        raja rajan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 10:03:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-process/m-p/2165975#M458651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T10:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: internal table process</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-process/m-p/2165976#M458652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete table  &amp;lt;internal table&amp;gt; where sno = ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jayant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 10:05:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-process/m-p/2165976#M458652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T10:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: internal table process</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-process/m-p/2165977#M458653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sort itab by Sno.&lt;/P&gt;&lt;P&gt;delete itab index 4.&lt;/P&gt;&lt;P&gt;delete itab index 8.&lt;/P&gt;&lt;P&gt;delete itab index 9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 10:05:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-process/m-p/2165977#M458653</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-05-10T10:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: internal table process</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-process/m-p/2165978#M458654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;     Looks to be a pretty strange one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the records 4,8 &amp;amp; 9 the key is the no. field of value 2. They are all multiples of 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4th record - 2&lt;/P&gt;&lt;P&gt;8th record - 4&lt;/P&gt;&lt;P&gt;9th record - 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so you can delete based on this logic, multiples of 2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tushar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 10:07:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-process/m-p/2165978#M458654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T10:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: internal table process</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-process/m-p/2165979#M458655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are taking about the particular tab then you can hard code the value for &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-tabix...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete &amp;lt;internal table name&amp;gt; where sy-tabix = '&amp;lt;hard code the tab&amp;gt;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this case no matter what the record is ..always that particular row will be deleted...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jayant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 10:08:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-process/m-p/2165979#M458655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T10:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: internal table process</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-process/m-p/2165980#M458656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;delete itab where sno = '4' and sno = '8' and sno =' 9'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 10:09:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-process/m-p/2165980#M458656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T10:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: internal table process</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-process/m-p/2165981#M458657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;            &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer this code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;delete itab where sy-tabix = 4.&lt;/P&gt;&lt;P&gt;delete itab where sy-tabix = 8.&lt;/P&gt;&lt;P&gt;delete itab where sy-tabix = 9.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hemant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 10:10:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-process/m-p/2165981#M458657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T10:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: internal table process</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-process/m-p/2165982#M458658</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;If you want to directly delete the records corresponding Sr no&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete itab where num eq 4 or num eq 8 or num eq  9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sandeep &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 10:13:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-process/m-p/2165982#M458658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T10:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: internal table process</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-process/m-p/2165983#M458659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;do sy-tfill times.&lt;/P&gt;&lt;P&gt;if itab-a = itab-b.&lt;/P&gt;&lt;P&gt;delete itab index sy-tabix.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;the above deletes the fiels of equal values.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;take 2 fields m and n.&lt;/P&gt;&lt;P&gt;m = 1.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;do sy-tfill times.&lt;/P&gt;&lt;P&gt;if m &amp;lt;&amp;gt; itab-a.&lt;/P&gt;&lt;P&gt;m = itab-a.&lt;/P&gt;&lt;P&gt;skip.&lt;/P&gt;&lt;P&gt;read table itab index sy-index.&lt;/P&gt;&lt;P&gt;if itab-a &amp;lt;&amp;gt; m.&lt;/P&gt;&lt;P&gt;delete itab index sy-index.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;this should remove  the single values.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check it n let me kno if this works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;ramesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 12:38:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-process/m-p/2165983#M458659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T12:38:14Z</dc:date>
    </item>
  </channel>
</rss>

