<?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: read itab in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab/m-p/3744261#M900916</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its not duplicate enteries&lt;/P&gt;&lt;P&gt;one invoice no is haveing 2 line items both should display.&lt;/P&gt;&lt;P&gt;while reading its is taking first value .&lt;/P&gt;&lt;P&gt;as it reads only one value from itab index.&lt;/P&gt;&lt;P&gt;how to display both.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 May 2008 11:23:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-06T11:23:28Z</dc:date>
    <item>
      <title>read itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab/m-p/3744255#M900910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one invoice no which is having 2 line items&lt;/P&gt;&lt;P&gt;for eg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;invoice no                                  value&lt;/P&gt;&lt;P&gt;101                                           5556&lt;/P&gt;&lt;P&gt;101                                           6666  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in o/p of report&lt;/P&gt;&lt;P&gt;while reading inside loop its taking only the first value&lt;/P&gt;&lt;P&gt;for both invoice no...&lt;/P&gt;&lt;P&gt;can any one give me solution..&lt;/P&gt;&lt;P&gt;points will rewarded for helpful ans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 11:13:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab/m-p/3744255#M900910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T11:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: read itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab/m-p/3744256#M900911</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;use below code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT itab into wa.
write:
  / wa-invoice_no,
    wa-value.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 11:16:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab/m-p/3744256#M900911</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T11:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: read itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab/m-p/3744257#M900912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Sort the internal table by invoice no and then ADJACENT DUPLICATES from internal table comparing internal table.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;With these additions, the statement DELETE deletes all lines in certain groups of lines, except for the first line of the group. These are groups of lines that follow one another and have the same content in certain components. If the addition COMPARING is not specified, the groups are determined by the content of the key fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lines are considered to be doubled if the content of neighboring lines is the same in the components examined. In the case of several double lines following one another, all the lines - except for the first - are deleted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition &lt;/P&gt;&lt;P&gt;... COMPARING {comp1 comp2 ...}|{ALL FIELDS} &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;If the addition COMPARING is specified, the groups are determined either by the content of the specified components comp1 comp2 ... or the content of all components ALL FIELDS. The specification of individual components comp is made as described in the section Specification of Components. Access to class attributes is possible through the object component selector only as of Release 6.10. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;Deleting all multiple-occurring lines in the internal table connection_tab. The result of this exanple corresponds to the one in the example for the position specification for INSERT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: BEGIN OF connection, 
        cityfrom TYPE spfli-cityfrom, 
        cityto   TYPE spfli-cityto, 
        distid   TYPE spfli-distid, 
        distance TYPE spfli-distance, 
      END OF connection. 

DATA connection_tab LIKE SORTED TABLE OF connection 
                    WITH NON-UNIQUE KEY cityfrom cityto 
                                        distid distance. 

SELECT cityfrom cityto distid distance 
       FROM spfli 
       INTO TABLE connection_tab. 

DELETE ADJACENT DUPLICATES FROM connection_tab. 

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 11:16:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab/m-p/3744257#M900912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T11:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: read itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab/m-p/3744258#M900913</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;do this way ...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
loop at itab.
  write : itab-fld1, 
            itab-fld2.
endloop. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 11:18:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab/m-p/3744258#M900913</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T11:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: read itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab/m-p/3744259#M900914</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;Loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write .....&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;It reads all the values in that internal table and print it in o/p.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check once putting brack-point.&lt;/P&gt;&lt;P&gt;if posssible give tha code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Narasimha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 11:19:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab/m-p/3744259#M900914</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T11:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: read itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab/m-p/3744260#M900915</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;Check with item value .&lt;/P&gt;&lt;P&gt;Loop at itab where header = invoice header&lt;/P&gt;&lt;P&gt;                            item    = invoice item&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Endloop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 11:21:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab/m-p/3744260#M900915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T11:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: read itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab/m-p/3744261#M900916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its not duplicate enteries&lt;/P&gt;&lt;P&gt;one invoice no is haveing 2 line items both should display.&lt;/P&gt;&lt;P&gt;while reading its is taking first value .&lt;/P&gt;&lt;P&gt;as it reads only one value from itab index.&lt;/P&gt;&lt;P&gt;how to display both.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 11:23:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab/m-p/3744261#M900916</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T11:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: read itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab/m-p/3744262#M900917</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 use READ stmt it'l pick only one record and display , if u want to display multiple records then go for loop ... endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nisa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 11:25:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab/m-p/3744262#M900917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T11:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: read itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab/m-p/3744263#M900918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt; r u trying to display from loop with in loop? if yes then give condition for line item also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Nisa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 11:33:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab/m-p/3744263#M900918</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T11:33:30Z</dc:date>
    </item>
  </channel>
</rss>

