<?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 Operations... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243107#M483804</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i don't want to delete duplicate records ,,&lt;/P&gt;&lt;P&gt; i need to collect the records based on sorting and post it ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 May 2007 08:55:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-16T08:55:40Z</dc:date>
    <item>
      <title>Internal Table Operations...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243102#M483799</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;     i have a internal table , iam sorting with three fields ,, say x1,x2, x3...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have values like this&lt;/P&gt;&lt;P&gt;x1    x2       x3&lt;/P&gt;&lt;P&gt;001   inr   01.01.2007&lt;/P&gt;&lt;P&gt;001   inr   01.01.2007&lt;/P&gt;&lt;P&gt;001   inr   02.01.2007&lt;/P&gt;&lt;P&gt;001   cad  01.01.2007&lt;/P&gt;&lt;P&gt;001   cad  01.01.2007&lt;/P&gt;&lt;P&gt;002   us   01.01.2007&lt;/P&gt;&lt;P&gt;002   cad  03.01.2007       for the internal table ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first two lines should be posted once, next one line item and then next two line item etc ,, in tat manner , how to control the statements ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz give some idea on it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 08:50:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243102#M483799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T08:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Operations...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243103#M483800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think you want to delete the duplicate entries from internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DELETE ADJACENT DUPLICATES FROM ITAB COMPARING ALL FIELDS.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 08:53:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243103#M483800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T08:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Operations...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243104#M483801</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 advise you to have a look at the statements 'at first.' and 'at new.' , to be used inside a loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Rolf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 08:54:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243104#M483801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T08:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Operations...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243105#M483802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishna,&lt;/P&gt;&lt;P&gt;                Use Control breaks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort itab by x1 x2 x3.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;at new x1.&lt;/P&gt;&lt;P&gt;write:/10 iatb-x1.  &lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at new x2.&lt;/P&gt;&lt;P&gt;write:/10 iatb-x2. &lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/10 iatb-x3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&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>Wed, 16 May 2007 08:55:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243105#M483802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T08:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Operations...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243106#M483803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Krishna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As your internal table is having duplicate records you can use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete adjacent duplicates.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to delete the duplicate entries in the internla table ..&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>Wed, 16 May 2007 08:55:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243106#M483803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T08:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Operations...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243107#M483804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i don't want to delete duplicate records ,,&lt;/P&gt;&lt;P&gt; i need to collect the records based on sorting and post it ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 08:55:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243107#M483804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T08:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Operations...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243108#M483805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;The data what is given is incorrect.Same data in 2 records(repetetive)&lt;/P&gt;&lt;P&gt;Are you talking about one header Header and mulitple Item records&lt;/P&gt;&lt;P&gt;Keep a Single char field first in the file (with H (header)and I (Item)values) and then do the processing of upload to post multpile item records for one single record.&lt;/P&gt;&lt;P&gt;Means there should be some differentiation key in the internal table to disntuinguish whether the record is a Header or Item record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 08:55:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243108#M483805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T08:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Operations...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243109#M483806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HE'S RIGHT...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can also use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATES FROM &amp;lt;NAME OF ITAB&amp;gt; COMPARING &amp;lt;NAME OF FIELD1&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 08:58:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243109#M483806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T08:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Operations...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243110#M483807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the following code after the sort statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATES FROM itab COMPARING x1 x2 x3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to compare all fields, first sort table on all fields and then use the following satement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATES FROM itab COMPARING  ALL FIELDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neeraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 08:58:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243110#M483807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T08:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Operations...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243111#M483808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;At new x3.&lt;/P&gt;&lt;P&gt;"Post data using x1,x2,x3&lt;/P&gt;&lt;P&gt;End At.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 08:58:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243111#M483808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T08:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Operations...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243112#M483809</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;       yeah iam using control Break Statements.. i am using AT new statement,, at end of x1 statements..&lt;/P&gt;&lt;P&gt;            at end of X1 -- i need to post a doc&lt;/P&gt;&lt;P&gt;            at end of x2 -- i need to post a doc&lt;/P&gt;&lt;P&gt;            at end of x3 -- i need to post a doc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to handle this part&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 09:01:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243112#M483809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T09:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Operations...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243113#M483810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If using 'At New' is not giving you the desired result, create another internal table with same structure as the first one and append one record at a time, until one of the 3 fields changes from the previous record. Post those records that are appended into the second internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 09:22:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-operations/m-p/2243113#M483810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T09:22:43Z</dc:date>
    </item>
  </channel>
</rss>

