<?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: how to modify dynamic table  ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-dynamic-table/m-p/3544764#M852801</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Dakota,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to write back the modified data from the work area to the internal table:&lt;/P&gt;&lt;P&gt;MODIFY &amp;lt;GT_TABLE&amp;gt; FROM &amp;lt;DYN_TABLE&amp;gt; INDEX g_index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(please note you coded READ TABLE ... &lt;EM&gt;INTO&lt;/EM&gt; and not READ TABLE ... &lt;EM&gt;ASSIGNING&lt;/EM&gt; ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Mar 2008 14:21:07 GMT</pubDate>
    <dc:creator>JozsefSzikszai</dc:creator>
    <dc:date>2008-03-25T14:21:07Z</dc:date>
    <item>
      <title>how to modify dynamic table  ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-dynamic-table/m-p/3544763#M852800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to modify my dynamic table  , but the table not&lt;/P&gt;&lt;P&gt;get the data  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------" /&gt;&lt;P&gt;this is my code :&lt;/P&gt;&lt;P&gt;   read table &amp;lt;GT_TABLE&amp;gt;  index g_index into &amp;lt;DYN_TABLE&amp;gt; .&lt;/P&gt;&lt;P&gt;      CONCATENATE 'COL' WA_BSIK-BUDAT(4) WA_BSIK-BUDAT+4(2) INTO FIELD1.&lt;/P&gt;&lt;P&gt;        ASSIGN COMPONENT FIELD1 OF STRUCTURE &amp;lt;DYN_TABLE&amp;gt; TO &amp;lt;F_FS&amp;gt;.&lt;/P&gt;&lt;P&gt;        IF WA_BSIK-SHKZG = 'H'.&lt;/P&gt;&lt;P&gt;          &amp;lt;F_FS&amp;gt; =  &amp;lt;F_FS&amp;gt; + WA_BSIK-DMBTR  * ( -1 ) .&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          &amp;lt;F_FS&amp;gt; =  &amp;lt;F_FS&amp;gt; + WA_BSIK-DMBTR   .&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i see that &amp;lt;DYN_TABLE&amp;gt; get the data  , but the table &amp;lt;GT_TABLE&amp;gt; not get it , why ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 14:17:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-dynamic-table/m-p/3544763#M852800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T14:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to modify dynamic table  ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-dynamic-table/m-p/3544764#M852801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Dakota,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to write back the modified data from the work area to the internal table:&lt;/P&gt;&lt;P&gt;MODIFY &amp;lt;GT_TABLE&amp;gt; FROM &amp;lt;DYN_TABLE&amp;gt; INDEX g_index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(please note you coded READ TABLE ... &lt;EM&gt;INTO&lt;/EM&gt; and not READ TABLE ... &lt;EM&gt;ASSIGNING&lt;/EM&gt; ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 14:21:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-dynamic-table/m-p/3544764#M852801</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-03-25T14:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to modify dynamic table  ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-dynamic-table/m-p/3544765#M852802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that there is an additional MODIFY required:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
read table &amp;lt;GT_TABLE&amp;gt; index g_index into &amp;lt;DYN_TABLE&amp;gt; .
CONCATENATE 'COL' WA_BSIK-BUDAT(4) WA_BSIK-BUDAT+4(2) INTO FIELD1.
ASSIGN COMPONENT FIELD1 OF STRUCTURE &amp;lt;DYN_TABLE&amp;gt; TO &amp;lt;F_FS&amp;gt;.
IF WA_BSIK-SHKZG = 'H'.
&amp;lt;F_FS&amp;gt; = &amp;lt;F_FS&amp;gt; + WA_BSIK-DMBTR * ( -1 ) .
ELSE.
&amp;lt;F_FS&amp;gt; = &amp;lt;F_FS&amp;gt; + WA_BSIK-DMBTR .
ENDIF.
" Apparently &amp;lt;DYN_TABLE&amp;gt; has the modified value.
" Next update &amp;lt;GT_TABLE&amp;gt;:

  MODIFY &amp;lt;gt_table&amp;gt; FROM &amp;lt;dyn_table&amp;gt; INDEX g_index.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;   Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 14:22:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-dynamic-table/m-p/3544765#M852802</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-03-25T14:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to modify dynamic table  ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-dynamic-table/m-p/3544766#M852803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks both  &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 14:38:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-dynamic-table/m-p/3544766#M852803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T14:38:48Z</dc:date>
    </item>
  </channel>
</rss>

