<?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 Doubt in Internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2428774#M542794</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;&lt;/P&gt;&lt;P&gt;   I have a internal table with one row of records + header records, due to my programe my header data was changed, but i want to modify the modification in the body of internal table.  &lt;/P&gt;&lt;P&gt;wht is syntax for tht?&lt;/P&gt;&lt;P&gt;give small example.&lt;/P&gt;&lt;P&gt;point will sure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gowri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Jun 2007 05:22:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-23T05:22:21Z</dc:date>
    <item>
      <title>Doubt in Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2428774#M542794</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;&lt;/P&gt;&lt;P&gt;   I have a internal table with one row of records + header records, due to my programe my header data was changed, but i want to modify the modification in the body of internal table.  &lt;/P&gt;&lt;P&gt;wht is syntax for tht?&lt;/P&gt;&lt;P&gt;give small example.&lt;/P&gt;&lt;P&gt;point will sure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gowri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2007 05:22:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2428774#M542794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-23T05:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2428775#M542795</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;DATA: l_index type sy-tabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;l_index = sy-tabix.&lt;/P&gt;&lt;P&gt;itab-field1 = 53.  "changing the value.&lt;/P&gt;&lt;P&gt;modify itab index l_tabix.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: sy-tabix value will be changed if any Loop statement or READ TABLE statement is given. &lt;/P&gt;&lt;P&gt;So, its good practise to either use field-symbols or store index value in some variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the new code using field-symbols.&lt;/P&gt;&lt;P&gt;FIELD-SYMOLS: &amp;lt;itab&amp;gt; type itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab assigning &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;lt;itab&amp;gt;-field1 = 53.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;"No modify statement is required. Hence more optimized solution.&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;Regards&lt;/P&gt;&lt;P&gt;Navneet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Navneet Saraogi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2007 05:24:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2428775#M542795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-23T05:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2428776#M542796</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;chk out the foll code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;itab-field1 = 'aa'.&lt;/P&gt;&lt;P&gt;modify itab index sy-tabix. " or modify itab.&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;Navneeth K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2007 05:25:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2428776#M542796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-23T05:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2428777#M542797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;type modify in the code window and cursor point to that and press F1 when u get the window modify itab &lt;/P&gt;&lt;P&gt;you can get servaral helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards if Helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2007 05:29:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2428777#M542797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-23T05:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2428778#M542798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gowri , &lt;/P&gt;&lt;P&gt;  Use the modify command , since what i understand is you are using a internal table with header line so the modify statement will do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrads&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2007 05:34:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2428778#M542798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-23T05:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2428779#M542799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i dont know by which way you are accessing the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is in loop at and endloop..&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;itab-f1 = 'ABC'.&lt;/P&gt;&lt;P&gt;modify itab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;here index sy-tabix is not necessary....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are accessing by read table statement...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table itab with key f1 = 'ABC'.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;itab-f1 = 'DEF'.&lt;/P&gt;&lt;P&gt;modify itab index sy-tabix.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here sy-tabix is necessary...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2007 05:49:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2428779#M542799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-23T05:49:50Z</dc:date>
    </item>
  </channel>
</rss>

