<?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: loop on internal table columns in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473389#M1651530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How clearly do you want the statements made....&lt;STRONG&gt;LOOP processes ROWs, not columns&lt;/STRONG&gt;.  We must handle each column in the row individually....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have already received two good answers from which you can solve the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jan 2012 19:53:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-01-05T19:53:48Z</dc:date>
    <item>
      <title>loop on internal table columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473376#M1651517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii all,&lt;/P&gt;&lt;P&gt;i want to loop on columns of internal table.suppose while i am looping an internal table i have 4 amount field columns. so once it comes into loop i want to convert all the 4 amount field columns to other currency. so i want to convert the 4 amount columns of each row of an internal table. can anyone of you help me in this please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;Anil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 16:36:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473376#M1651517</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T16:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: loop on internal table columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473377#M1651518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop at itab assigning &amp;lt;fs&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;fs&amp;gt;-col1 = req1.&lt;/P&gt;&lt;P&gt;&amp;lt;fs&amp;gt;-col2 = req2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 16:46:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473377#M1651518</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T16:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: loop on internal table columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473378#M1651519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii sowmya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx for responding for my question firstly. my requirment is in internal table i have 4 amount fields like wrbtr,wrbtr1,wrbtr2 etc.&lt;/P&gt;&lt;P&gt;once we do loop and single row enters into workarea i have to convert each amount field coulmn i.e wrbtr ,wrbtr1 etc into other currency using function module. so i got struck up at how to do looping each column of an internal table.&lt;/P&gt;&lt;P&gt;can you please help me in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Anil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 16:50:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473378#M1651519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T16:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: loop on internal table columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473379#M1651520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOOP AT ITAB ASSIGNING   &amp;lt;FIELD_SYMBOL&amp;gt;&lt;/P&gt;&lt;P&gt; ASSIGN COMPONENT &amp;lt;FIELD_SYMBOL&amp;gt;-wrbtr of structure &amp;lt;internal table structure&amp;gt; to &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;.convert amount &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN COMPONENT &amp;lt;FIELD_SYMBOL&amp;gt;-wrbtr1 of structure &amp;lt;internal table structure&amp;gt; to &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;convert amount &lt;/P&gt;&lt;P&gt;ASSIGN COMPONENT &amp;lt;FIELD_SYMBOL&amp;gt;-wrbtr2 of structure &amp;lt;internal table structure&amp;gt; to &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 16:56:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473379#M1651520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T16:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: loop on internal table columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473380#M1651521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Bhanu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that was an helpful answer but i want an reference program or any other detailed code so that it could be more helpful to me.can you provide any code or any reference program to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Anil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 16:59:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473380#M1651521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T16:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: loop on internal table columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473381#M1651522</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;&lt;/P&gt;&lt;P&gt;types:&lt;/P&gt;&lt;P&gt;    BEGIN OF TY_FIELDNAME,&lt;/P&gt;&lt;P&gt;      FIELD_NAME     TYPE C LENGTH 100,&lt;/P&gt;&lt;P&gt;      SEARCH_STRING  TYPE STRING,&lt;/P&gt;&lt;P&gt;      END OF TY_FIELDNAME .&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;FIELD_NAME&amp;gt;     TYPE TY_FIELDNAME,&lt;/P&gt;&lt;P&gt; FIELD-SYMBOLS: &amp;lt;FS_JOB_LIST&amp;gt;     TYPE ANY,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using below code to find some text in each column of my internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_FIELD_NAME ASSIGNING  &amp;lt;FIELD_NAME&amp;gt;.&lt;/P&gt;&lt;P&gt;        ASSIGN COMPONENT &amp;lt;FIELD_NAME&amp;gt;-FIELD_NAME OF STRUCTURE &amp;lt;FS_JOB_LIST&amp;gt; TO &amp;lt;FIELD&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        FIND FIRST OCCURRENCE OF REGEX  I_SEARCH_STRING&lt;/P&gt;&lt;P&gt;        IN                       &amp;lt;FIELD&amp;gt; IN CHARACTER MODE&lt;/P&gt;&lt;P&gt;                                 IGNORING CASE&lt;/P&gt;&lt;P&gt;                                 RESULTS RESULT_TAB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 17:11:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473381#M1651522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T17:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: loop on internal table columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473382#M1651523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiii,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actuallly i am using like this.&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;here i get itab-waerk,itab-wrbtr,itab-wrbtr1,itab-wrbtr2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i have to convert each field i.e itab-wrbtr,itab-wrbtr1 to other currency using FM.&lt;/P&gt;&lt;P&gt;but i need to know how to loop each column from row here.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you provide any help how to solve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Anil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 17:20:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473382#M1651523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T17:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: loop on internal table columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473383#M1651524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab ASSIGNING &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;ASSIGN COMPONENT &amp;lt;fs&amp;gt;-waerk of STRUCTURE (itab structure) to &amp;lt;field&amp;gt; (this statement now will hold the value of &amp;lt;fs&amp;gt;-waerk )&lt;/P&gt;&lt;P&gt;convert the currency using  &amp;lt;fs&amp;gt;-waerk pass this to your F.M &lt;/P&gt;&lt;P&gt;  call f.m currency converted&lt;/P&gt;&lt;P&gt;   importin  =  &amp;lt;fs&amp;gt;-waerk&lt;/P&gt;&lt;P&gt;   exporting =  &amp;lt;fs&amp;gt;-waerk (converted currency)&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;pass the converted value back to      &amp;lt;fs&amp;gt;-waerk   &lt;/P&gt;&lt;P&gt;    &amp;lt;fs&amp;gt;-waerk = &amp;lt;field&amp;gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;similarly   &amp;lt;fs&amp;gt;-wrbtr &lt;/P&gt;&lt;P&gt;            &amp;lt;fs&amp;gt;-wrbtr1&lt;/P&gt;&lt;P&gt;            &amp;lt;fs&amp;gt;-wrbtr2&lt;/P&gt;&lt;P&gt;            &lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 17:27:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473383#M1651524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T17:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: loop on internal table columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473384#M1651525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you dont loop in the columns... loop is for ROWS. get this clear first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say your itab is of type it_type&lt;/P&gt;&lt;P&gt;then define a field symbol of type it_type. why field symbol? because its like pointer in C. no need of workarea. data updated in field symbol will directly get updated in the table columns,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at itam assigning &amp;lt;fs&amp;gt;.
call function XYZ
 exporting abc = &amp;lt;fs&amp;gt;-wrbtr1
 importing def = &amp;lt;fs&amp;gt;-wrbtr1.
call function XYZ
 exporting abc = &amp;lt;fs&amp;gt;-wrbtr2
 importing def = &amp;lt;fs&amp;gt;-wrbtr2.
call function XYZ
 exporting abc = &amp;lt;fs&amp;gt;-wrbtr3
 importing def = &amp;lt;fs&amp;gt;-wrbtr3.
call function XYZ
 exporting abc = &amp;lt;fs&amp;gt;-wrbtr4
 importing def = &amp;lt;fs&amp;gt;-wrbtr4.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 17:29:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473384#M1651525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T17:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: loop on internal table columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473385#M1651526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiii sowmya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to loop the columns in a row. actually i told correctly.because generally we do loop for rows.but in a single row if there are multiple amount fields need to be converted then we have to do loop for those columns in each row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actuallly i am using like this.&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;here i get itab-waerk,itab-wrbtr,itab-wrbtr1,itab-wrbtr2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i have to convert each field i.e itab-wrbtr,itab-wrbtr1 to other currency using FM.&lt;/P&gt;&lt;P&gt;but i need to know how to loop each column from row here.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you provide any help how to solve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Anil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 17:33:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473385#M1651526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T17:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: loop on internal table columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473386#M1651527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 17:35:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473386#M1651527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T17:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: loop on internal table columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473387#M1651528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;anil. can you please explain me whats wrong in the code i gave you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 17:44:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473387#M1651528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T17:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: loop on internal table columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473388#M1651529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey dont mind otherwise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is nothing wrong in ur code.but my need is different. so i just explained u clearly regarding my requirement so u can help me in bit closer. nothign much.sry if i hurt you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Anil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 17:48:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473388#M1651529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T17:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: loop on internal table columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473389#M1651530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How clearly do you want the statements made....&lt;STRONG&gt;LOOP processes ROWs, not columns&lt;/STRONG&gt;.  We must handle each column in the row individually....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have already received two good answers from which you can solve the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 19:53:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473389#M1651530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T19:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: loop on internal table columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473390#M1651531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per you requirement assume your internal table is as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types: begin of ty_itab.&lt;/P&gt;&lt;P&gt;             sno type char1,&lt;/P&gt;&lt;P&gt;             wrbtr1 &lt;/P&gt;&lt;P&gt;             wrbtr2&lt;/P&gt;&lt;P&gt;             wrbtr3&lt;/P&gt;&lt;P&gt;             wrbtr4,&lt;/P&gt;&lt;P&gt;            end of ty_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: i_itab type standard table of ty_itab with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if this is the case, then why is that you want to loop at columns....which is not possible without field symbols.&lt;/P&gt;&lt;P&gt; For coverting amounts into currency.....all you have to do is for each row call the FM four times.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT i_itab...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call function to convert wrbtr1 to currency1.&lt;/P&gt;&lt;P&gt;Call function to convert wrbtr2 to currency2.&lt;/P&gt;&lt;P&gt;Call function to convert wrbtr3 to currency3.&lt;/P&gt;&lt;P&gt;Call function to convert wrbtr4 to currency4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modify it_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2012 06:53:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-on-internal-table-columns/m-p/8473390#M1651531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-06T06:53:45Z</dc:date>
    </item>
  </channel>
</rss>

