<?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 How to modify table dynamically with user input? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-dynamically-with-user-input/m-p/11880921#M1960651</link>
    <description>&lt;P&gt;i want to modify table with user input data in a selected field. How to achieve this ?&lt;/P&gt;
  &lt;P&gt;FIELD-SYMBOLS:&lt;BR /&gt; &amp;lt;i_itab&amp;gt; TYPE table,&lt;BR /&gt; &amp;lt;wa_tab&amp;gt; TYPE ANY,&lt;BR /&gt; &amp;lt;w_field&amp;gt; TYPE ANY.&lt;/P&gt;
  &lt;P&gt;CREATE DATA i_table TYPE TABLE OF (viewname).&lt;BR /&gt; ASSIGN i_table-&amp;gt;* TO &amp;lt;i_itab&amp;gt;.&lt;/P&gt;
  &lt;P&gt;ASSIGN wa_all-&amp;gt;* TO &amp;lt;wa_tab&amp;gt;.&lt;BR /&gt; ASSIGN wa_all-&amp;gt;* to &amp;lt;w_field&amp;gt;.&lt;/P&gt;
  &lt;P&gt;what would i can right next code to modify the row? it should modify only the entered field others should not change.&lt;/P&gt;
  &lt;P&gt;-thanks for your help!&lt;/P&gt;</description>
    <pubDate>Tue, 21 May 2019 10:25:38 GMT</pubDate>
    <dc:creator>vinayad</dc:creator>
    <dc:date>2019-05-21T10:25:38Z</dc:date>
    <item>
      <title>How to modify table dynamically with user input?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-dynamically-with-user-input/m-p/11880921#M1960651</link>
      <description>&lt;P&gt;i want to modify table with user input data in a selected field. How to achieve this ?&lt;/P&gt;
  &lt;P&gt;FIELD-SYMBOLS:&lt;BR /&gt; &amp;lt;i_itab&amp;gt; TYPE table,&lt;BR /&gt; &amp;lt;wa_tab&amp;gt; TYPE ANY,&lt;BR /&gt; &amp;lt;w_field&amp;gt; TYPE ANY.&lt;/P&gt;
  &lt;P&gt;CREATE DATA i_table TYPE TABLE OF (viewname).&lt;BR /&gt; ASSIGN i_table-&amp;gt;* TO &amp;lt;i_itab&amp;gt;.&lt;/P&gt;
  &lt;P&gt;ASSIGN wa_all-&amp;gt;* TO &amp;lt;wa_tab&amp;gt;.&lt;BR /&gt; ASSIGN wa_all-&amp;gt;* to &amp;lt;w_field&amp;gt;.&lt;/P&gt;
  &lt;P&gt;what would i can right next code to modify the row? it should modify only the entered field others should not change.&lt;/P&gt;
  &lt;P&gt;-thanks for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 10:25:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-dynamically-with-user-input/m-p/11880921#M1960651</guid>
      <dc:creator>vinayad</dc:creator>
      <dc:date>2019-05-21T10:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify table dynamically with user input?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-dynamically-with-user-input/m-p/11880922#M1960652</link>
      <description>&lt;P&gt;If I understand you correctly - you have some input fields and you only want to apply those input fields data to your dynamic table ?&lt;/P&gt;&lt;P&gt;You will have to iterate over the input fields - so assuming you have some kind of field catalog ( eg based upon a struct info )&lt;/P&gt;&lt;P&gt;Pseudo code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at lt_input_field_catalog assigning field-symbol&amp;lt;fs_fc_info&amp;gt;.&lt;BR /&gt;assign component &amp;lt;fs_fc_info&amp;gt;-x of structure &amp;lt;wa_input_data_line&amp;gt; to field-symbol(&amp;lt;fs_field_input&amp;gt;).&lt;BR /&gt;check (sy-subrc eq 0).&lt;BR /&gt;assign component &amp;lt;fs_fc_info&amp;gt;-x of structure &amp;lt;wa_tab&amp;gt; to field-symbol(&amp;lt;fs_field_target&amp;gt;).&lt;BR /&gt;check (sy-subrc eq 0).&lt;BR /&gt;&amp;lt;fs_field_target&amp;gt; = &amp;lt;fs_field_source&amp;gt;.&lt;BR /&gt;endloop.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 May 2019 12:13:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-dynamically-with-user-input/m-p/11880922#M1960652</guid>
      <dc:creator>StevenDeSaeger</dc:creator>
      <dc:date>2019-05-21T12:13:19Z</dc:date>
    </item>
  </channel>
</rss>

