<?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: regarding read statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-read-statement/m-p/3016948#M713030</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Do Like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE ITAB INDEX 1 INTO workarea1 .&lt;/P&gt;&lt;P&gt;READ TABLE ITAB INDEX 2 INTO workarea2 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT workarea1 IS INITIAL .&lt;/P&gt;&lt;P&gt;   PROCESS workarea1 .&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;  PROCESS workarea2 .&lt;/P&gt;&lt;P&gt;ENDIF .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please inform if there is some other req .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this Helps .&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Nov 2007 05:07:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-15T05:07:36Z</dc:date>
    <item>
      <title>regarding read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-read-statement/m-p/3016943#M713025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any one please help me to write a read statement for the following requirement.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example in an internal table we are having 10 records if first record is blank we should read from second record and if first record is not blank we should read it from first record.....&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>Thu, 15 Nov 2007 05:01:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-read-statement/m-p/3016943#M713025</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-15T05:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: regarding read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-read-statement/m-p/3016944#M713026</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;    No need to use read statement , loop on that internal table into work area &lt;/P&gt;&lt;P&gt;then check if work arear is initail or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2007 05:03:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-read-statement/m-p/3016944#M713026</guid>
      <dc:creator>former_member386202</dc:creator>
      <dc:date>2007-11-15T05:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: regarding read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-read-statement/m-p/3016945#M713027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;

read table itab into watab index 1.
if watab is initial.
read table itab into watab index 2.
endif.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2007 05:03:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-read-statement/m-p/3016945#M713027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-15T05:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: regarding read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-read-statement/m-p/3016946#M713028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do it with LOOP and CONTINUE combination&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Loop at itab.
if itab-field1 is intial.
  continue.
else.
*  access data of itab.
exit.
endif.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2007 05:04:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-read-statement/m-p/3016946#M713028</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-11-15T05:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: regarding read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-read-statement/m-p/3016947#M713029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop at it into wa.&lt;/P&gt;&lt;P&gt; if wa is initial.&lt;/P&gt;&lt;P&gt;    sy-index = s_index + 1.&lt;/P&gt;&lt;P&gt;   read table it into wa sy-index s_index.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2007 05:05:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-read-statement/m-p/3016947#M713029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-15T05:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: regarding read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-read-statement/m-p/3016948#M713030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Do Like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE ITAB INDEX 1 INTO workarea1 .&lt;/P&gt;&lt;P&gt;READ TABLE ITAB INDEX 2 INTO workarea2 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT workarea1 IS INITIAL .&lt;/P&gt;&lt;P&gt;   PROCESS workarea1 .&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;  PROCESS workarea2 .&lt;/P&gt;&lt;P&gt;ENDIF .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please inform if there is some other req .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this Helps .&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2007 05:07:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-read-statement/m-p/3016948#M713030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-15T05:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: regarding read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-read-statement/m-p/3016949#M713031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can loop at the internal table instead of using read statement......or still if u want to use read statement and want to consider first two records...then read by using index 1 and if it is blank then use index 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2007 05:08:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-read-statement/m-p/3016949#M713031</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-15T05:08:54Z</dc:date>
    </item>
  </channel>
</rss>

