<?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 Read Table Stmt in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-stmt/m-p/3118131#M740494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I selected some data from table and put into internal table.I want to change some fields by some calculations.I tried using read stmt.it fetches only one record.I need to change group of records(not in dbase.)in internal table.How to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 17 Nov 2007 11:27:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-17T11:27:23Z</dc:date>
    <item>
      <title>Read Table Stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-stmt/m-p/3118131#M740494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I selected some data from table and put into internal table.I want to change some fields by some calculations.I tried using read stmt.it fetches only one record.I need to change group of records(not in dbase.)in internal table.How to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2007 11:27:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-stmt/m-p/3118131#M740494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-17T11:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Read Table Stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-stmt/m-p/3118132#M740495</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;*--change fields of record&lt;/P&gt;&lt;P&gt;itab-field1 = 'A'.&lt;/P&gt;&lt;P&gt;modify itab index sy-tabix.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2007 11:41:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-stmt/m-p/3118132#M740495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-17T11:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Read Table Stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-stmt/m-p/3118133#M740496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khanna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do in this way... implement for your requirement...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Types: begin of ty_tab1,
             a type i,
             b type i,
             c type i,
           end of ty_tab1.

Data: itab1 type table of ty_tab1,
         wa1 type ty_tab1.

wa1-a = 10.
wa1-b = 20.
append wa1 to itab1.

wa1-a = 15.
wa1-b = 25.
append wa1 to itab1.

loop at itab1 into wa1.
 wa1-c = wa1-a + wa1-b.
 modify itab1 from wa1 transporting c.
 clear wa1.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points if this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2007 11:43:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-stmt/m-p/3118133#M740496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-17T11:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Read Table Stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-stmt/m-p/3118134#M740497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use EDITOR-CALL key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;syntax is&lt;/P&gt;&lt;P&gt;EDITOR-CALL FOR ITAB TITLE 'editing of it'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is helpful reward points&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2007 11:54:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-stmt/m-p/3118134#M740497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-17T11:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Read Table Stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-stmt/m-p/3118135#M740498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do it with LOOP statment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT ITAB INTO WA_ITAB WHERE FIELD = 'TEST'.
 WA_ITAB-FIELD2 = 'TEST11'.
 MODIFY ITAB FROM WA_ITAB.
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>Sat, 17 Nov 2007 16:20:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-stmt/m-p/3118135#M740498</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-11-17T16:20:44Z</dc:date>
    </item>
  </channel>
</rss>

