<?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 to use modify in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827870#M353035</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;how to i use the stmt modify transproting,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my main internal table is it_equi and other internal table itab to get values...is itab how do i write the modify stmt...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls, help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CAPC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jan 2007 05:27:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-29T05:27:21Z</dc:date>
    <item>
      <title>to use modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827870#M353035</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;how to i use the stmt modify transproting,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my main internal table is it_equi and other internal table itab to get values...is itab how do i write the modify stmt...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls, help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CAPC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 05:27:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827870#M353035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T05:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: to use modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827871#M353036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check this sample stmt:&lt;/P&gt;&lt;P&gt;         MODIFY i_open_item FROM ws_clsd_item&lt;/P&gt;&lt;P&gt;                TRANSPORTING bcs_amount&lt;/P&gt;&lt;P&gt;                             bcs_balance&lt;/P&gt;&lt;P&gt;                             bcs_amount_gc&lt;/P&gt;&lt;P&gt;                             bcs_balance_gc&lt;/P&gt;&lt;P&gt;                             bcs_ukurs&lt;/P&gt;&lt;P&gt;                             difference&lt;/P&gt;&lt;P&gt;                             difference_gc&lt;/P&gt;&lt;P&gt;                             luname&lt;/P&gt;&lt;P&gt;                             ldatum&lt;/P&gt;&lt;P&gt;                             recon_reqd&lt;/P&gt;&lt;P&gt;                             status&lt;/P&gt;&lt;P&gt;               WHERE cert_id = ws_cert_id.&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;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 05:29:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827871#M353036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T05:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: to use modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827872#M353037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Check this code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF TAB OCCURS 500, &lt;/P&gt;&lt;P&gt;        FLAG     TYPE C, &lt;/P&gt;&lt;P&gt;        COMP(20) TYPE C, &lt;/P&gt;&lt;P&gt;      END OF TAB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR TAB-FLAG. &lt;/P&gt;&lt;P&gt;MODIFY TAB TRANSPORTING FLAG WHERE FLAG = 'X'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-SatyaPriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 05:31:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827872#M353037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T05:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: to use modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827873#M353038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try this....&lt;/P&gt;&lt;P&gt;      modify it_equi from itab index lv_index&lt;/P&gt;&lt;P&gt;                                          transporting vbeln.&lt;/P&gt;&lt;P&gt;assuming that vbeln is the key field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 05:31:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827873#M353038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T05:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: to use modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827874#M353039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it_equi-matnr = itab-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify it_equi transporting matnr where equnr = itab-equnr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 05:31:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827874#M353039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T05:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: to use modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827875#M353040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Variant 1&lt;/P&gt;&lt;P&gt;MODIFY itab [FROM wa] [INDEX idx] [ASSIGNING &amp;lt;fs&amp;gt;|REFERENCE INTO dref] [TRANSPORTING f1 ... fn]. &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;Changes a single entry in the internal table itab, specifying the index explicitly or implicitly. You can only use this variant with index table (standard or sorted tables). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you specify "FROM wa", the new values are taken from the work area wa. If you do not specify FROM, the header line of itab is used as the work area. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use "INDEX idx" to specify the table index of the line you want to change. This may be omitted within a LOOP at an internal table. In this case, the current table line is changed. &lt;/P&gt;&lt;P&gt;The INDEX specification can come before the FROM addition. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use the addition ASSIGNING &amp;lt;fs&amp;gt;, the field symbol &amp;lt;fs&amp;gt; is set to the modified line. If you use the addition REFERENCE INTO ref, the data reference dref is filled with the reference of the modified line. Both the field symbol and the reference are only set if the statement is processed successfully. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you specify "TRANSPORTING f1 ... fn ", only components f1, f2, ... of the work area are copied into the table. You can also specify components dynamically in the form (name). The actual component name is then taken from the field name at runtime. If name contains an invalid component name, the system triggers a runtime error. In HASHED or SORTED tables, you cannot use a TRANSPORTING field as a key field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Return Code is set as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you specify the insertion point with INDEX idx: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SUBRC = 0: &lt;/P&gt;&lt;P&gt;The entry was changed. &lt;/P&gt;&lt;P&gt;SY-SUBRC = 4: &lt;/P&gt;&lt;P&gt;Index position too large. No entry was changed, since the table contains less than idx entries. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do not specify an insertion point, Return Code is set to 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 2&lt;/P&gt;&lt;P&gt;MODIFY TABLE itab [FROM wa] [ASSIGNING &amp;lt;fs&amp;gt;|REFERENCE INTO dref] [TRANSPORTING f1 ... fn]. &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;Generic change to a single entry in the internal table itab with key. Unlike variant 1, you can use this variant for any table. All additions have the same meaning as for variant 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The key of the entry to be changed is taken from the work area. The procedure depends on the table type: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STANDARD TABLE: &lt;/P&gt;&lt;P&gt;The table is searched sequentially by its table key. The first entry found is changed. The runtime required for the search is in linear relation to the number of table entries. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORTED TABLE: &lt;/P&gt;&lt;P&gt;The table is searched by its table key using a binary search. In tables with a non-unique key ( NON-UNIQUE) only the first entry in the list of duplicates is changed. The runtime required for the search is in logarithmic relation to the number of table entries. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HASHED TABLE: &lt;/P&gt;&lt;P&gt;The entry is found and changed by table key using the internal hash administration. The runtime required is essentially constant, since, unlike in standard or sorted tables, it does not depend on the number of table entries. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Return Code is set as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SUBRC = 0: &lt;/P&gt;&lt;P&gt;The first entry with the specified key was changed. &lt;/P&gt;&lt;P&gt;SY-SUBRC = 4: &lt;/P&gt;&lt;P&gt;There was no entry with the specified key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 3&lt;/P&gt;&lt;P&gt;MODIFY itab [FROM wa] TRANSPORTING f1 ... fn WHERE cond. &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;Changes several entries in the internal table itab. You can use this variant for any table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use " FROM wa" and "TRANSPORTING f1 ... fn" as in variant 1. If the table has the type SORTED TABLE or HASHED TABLE, the TRANSPORTING list may not contain key fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In comparisons within the logical expression cond, the first operand must always be a subfield of the line structure of itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Return Code is set as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SUBRC = 0: &lt;/P&gt;&lt;P&gt;At least one entry was changed. &lt;/P&gt;&lt;P&gt;SY-SUBRC = 4: &lt;/P&gt;&lt;P&gt;None of the entries was changed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 05:31:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827875#M353040</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T05:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: to use modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827876#M353041</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;MODIFY itab [FROM wa] TRANSPORTING f1 ... fn WHERE cond. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Changes several entries in the internal table itab. You can use this variant for any table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use " FROM wa" and "TRANSPORTING f1 ... fn" as in variant 1. If the table has the type SORTED TABLE or HASHED TABLE, the TRANSPORTING list may not contain key fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In comparisons within the logical expression cond, the first operand must always be a subfield of the line structure of itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 05:32:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827876#M353041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T05:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: to use modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827877#M353042</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;Please go through these links &lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb35eb358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb35eb358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb37b2358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb37b2358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satyendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 05:32:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827877#M353042</guid>
      <dc:creator>satykumar</dc:creator>
      <dc:date>2007-01-29T05:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: to use modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827878#M353043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop the itab1 into wa_orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the following&lt;/P&gt;&lt;P&gt;MODIFY itab2 FROM wa_orders TRANSPORTING field1 field2&lt;/P&gt;&lt;P&gt;        WHERE condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY itab [FROM wa] [INDEX idx] [ASSIGNING &amp;lt;fs&amp;gt;|REFERENCE INTO dref] [TRANSPORTING f1 ... fn]. &lt;/P&gt;&lt;P&gt;- MODIFY TABLE itab [FROM wa] [ASSIGNING &amp;lt;fs&amp;gt;|REFERENCE INTO dref] [TRANSPORTING f1 ... fn]. &lt;/P&gt;&lt;P&gt;- MODIFY itab [FROM wa] TRANSPORTING f1 ... fn WHERE cond. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can use the above syntaxes and i present u a example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF TAB OCCURS 500, &lt;/P&gt;&lt;P&gt;        FLAG     TYPE C, &lt;/P&gt;&lt;P&gt;        COMP(20) TYPE C, &lt;/P&gt;&lt;P&gt;      END OF TAB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR TAB-FLAG. &lt;/P&gt;&lt;P&gt;MODIFY TAB TRANSPORTING FLAG WHERE FLAG = 'X'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY i_aw9orders FROM wa_aw9orders TRANSPORTING daysofnoti&lt;/P&gt;&lt;P&gt;        WHERE aufnr = wa_aw9orders-aufnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;award points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 05:33:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827878#M353043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T05:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: to use modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827879#M353044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THANKS EVERYONE FOR THE REPLY ITS BEEN SOLVED&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 07:21:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827879#M353044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T07:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: to use modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827880#M353045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Execute the code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: begin of itab occurs 0 ,
      f1 type i ,
      f2 type i,
      end of itab.
data : sum type i.
data : cntr like sy-tabix.


      itab-f1 = '20'.
      append itab.

      itab-f1 = '30'.
      append itab.

      itab-f1 = '40'.
      append itab.



      loop at itab.

      sum = sum + itab-f1.
      cntr = cntr + 1.
      at last.
      itab-f2 = sum.
      clear sum.

      modify itab index cntr transporting f2.  "check this .
      endat.

      endloop.

     loop at itab .
      write:/ itab-f1,
              itab-f2.
      endloop.[/code

the o/p is 

[code]20
30
40   90 " ----&amp;gt; 90 gets displayed in the third row at 2 column .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;90 = 20&lt;EM&gt;30&lt;/EM&gt;40 to calculate the sum and display at the end of field f1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 07:24:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827880#M353045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T07:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: to use modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827881#M353046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2007 04:18:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-use-modify/m-p/1827881#M353046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-23T04:18:14Z</dc:date>
    </item>
  </channel>
</rss>

