<?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 Modifying Internal Table row - The column name is dynamic in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-internal-table-row-the-column-name-is-dynamic/m-p/2013706#M411285</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;I need to update the internal table as described below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assume that i have 10 columns in my internal table and i need to modifying the column value in row, which is dynamic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example, i'm writing it in Subroutine and it has 3 formal parameter &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Key field value&lt;/P&gt;&lt;P&gt;2) Column name &lt;/P&gt;&lt;P&gt;3) Value of the column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my subroutine i need to write code to modify the row, which should handle the columns dynamically.&lt;/P&gt;&lt;P&gt;Samples,&lt;/P&gt;&lt;P&gt;7th record i need to modify the 4th column value.&lt;/P&gt;&lt;P&gt;4th record i need to modify the 9th column value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me to handle this requirement.write me if i'm not clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...Nandha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Mar 2007 18:57:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-12T18:57:07Z</dc:date>
    <item>
      <title>Modifying Internal Table row - The column name is dynamic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-internal-table-row-the-column-name-is-dynamic/m-p/2013706#M411285</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;I need to update the internal table as described below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assume that i have 10 columns in my internal table and i need to modifying the column value in row, which is dynamic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example, i'm writing it in Subroutine and it has 3 formal parameter &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Key field value&lt;/P&gt;&lt;P&gt;2) Column name &lt;/P&gt;&lt;P&gt;3) Value of the column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my subroutine i need to write code to modify the row, which should handle the columns dynamically.&lt;/P&gt;&lt;P&gt;Samples,&lt;/P&gt;&lt;P&gt;7th record i need to modify the 4th column value.&lt;/P&gt;&lt;P&gt;4th record i need to modify the 9th column value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me to handle this requirement.write me if i'm not clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...Nandha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 18:57:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-internal-table-row-the-column-name-is-dynamic/m-p/2013706#M411285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-12T18:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying Internal Table row - The column name is dynamic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-internal-table-row-the-column-name-is-dynamic/m-p/2013707#M411286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the column check the ASSIGN statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No system here, but I think it is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN COMPONENT &amp;lt;index&amp;gt; OF STRUCTURE &amp;lt;structure&amp;gt; TO &amp;lt;field-symbol&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the row:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE &amp;lt;itab&amp;gt; INDEX &amp;lt;index&amp;gt; INTO &amp;lt;work area&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt; For your 1. example you could write:&lt;/P&gt;&lt;P&gt;READ TABLE &amp;lt;itab&amp;gt; INDEX 7 INTO &amp;lt;work area&amp;gt;.&lt;/P&gt;&lt;P&gt;ASSIGN COMPONENT 4 OF STRUCTURE &amp;lt;work area&amp;gt; TO &amp;lt;field-symbol&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;field symbol&amp;gt; now points to the 4th column of the 7th row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guenther&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 19:05:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-internal-table-row-the-column-name-is-dynamic/m-p/2013707#M411286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-12T19:05:32Z</dc:date>
    </item>
  </channel>
</rss>

