<?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 a dynamic ITAB... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-dynamic-itab/m-p/6327589#M1395608</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You so mean to do this without loop and assigning?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I donu2019t know the way changing the Dynamic internal tables without a loop whereas we do have the option for modify the static internal tables without loop like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;itab FROM wa TRANSPORTING comp1 comp2 ... WHERE log_exp&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Oct 2009 10:12:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-29T10:12:17Z</dc:date>
    <item>
      <title>How to MODIFY a dynamic ITAB...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-dynamic-itab/m-p/6327585#M1395604</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 wants to modify a dynamic itab in a Z-programme which takes inputs. But I can not use the &lt;EM&gt;normal itab modifying syntax&lt;/EM&gt; for it. Therefore I needs to find out a way to modify this itab and it is really essential for my programme. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me on this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking You,&lt;/P&gt;&lt;P&gt;Yohan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 09:18:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-dynamic-itab/m-p/6327585#M1395604</guid>
      <dc:creator>yohan_weerasinghe</dc:creator>
      <dc:date>2009-10-29T09:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to MODIFY a dynamic ITAB...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-dynamic-itab/m-p/6327586#M1395605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;did you try using field symbols?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field-Symbols:  &amp;lt;line&amp;gt; like line of myTab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT myTab assining &amp;lt;line&amp;gt;.&lt;/P&gt;&lt;P&gt;  &amp;lt;line&amp;gt;-mycomonent = 'a'.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 09:25:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-dynamic-itab/m-p/6327586#M1395605</guid>
      <dc:creator>TimoJohn_TecFlow</dc:creator>
      <dc:date>2009-10-29T09:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to MODIFY a dynamic ITAB...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-dynamic-itab/m-p/6327587#M1395606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at =&amp;gt; &lt;SPAN __jive_macro_name="thread" id="1484993"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 09:25:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-dynamic-itab/m-p/6327587#M1395606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-29T09:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to MODIFY a dynamic ITAB...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-dynamic-itab/m-p/6327588#M1395607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the prompt replies. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dear Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already done the things mention in the link you sent me. This is ok for when I loop the dynamic itab step by step. So it will modify the itab, line by line.  But, what I wants to do is modify an itab field which have the same key in multiple lines. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For an example say in my structure I have material #. I wants to update all the rows of column 'material description' which have the same material #. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is where I have stucked... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking you,&lt;/P&gt;&lt;P&gt;Yohan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 09:42:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-dynamic-itab/m-p/6327588#M1395607</guid>
      <dc:creator>yohan_weerasinghe</dc:creator>
      <dc:date>2009-10-29T09:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to MODIFY a dynamic ITAB...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-dynamic-itab/m-p/6327589#M1395608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You so mean to do this without loop and assigning?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I donu2019t know the way changing the Dynamic internal tables without a loop whereas we do have the option for modify the static internal tables without loop like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;itab FROM wa TRANSPORTING comp1 comp2 ... WHERE log_exp&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 10:12:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-dynamic-itab/m-p/6327589#M1395608</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-29T10:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to MODIFY a dynamic ITAB...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-dynamic-itab/m-p/6327590#M1395609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 11:53:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-dynamic-itab/m-p/6327590#M1395609</guid>
      <dc:creator>yohan_weerasinghe</dc:creator>
      <dc:date>2009-10-29T11:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to MODIFY a dynamic ITAB...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-dynamic-itab/m-p/6327591#M1395610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: lp_data TYPE REF TO DATA.

FIELD-SYMBOLS: &amp;lt;wa&amp;gt; TYPE ANY,
             &amp;lt;field1&amp;gt; TYPE ANY.

CREATE DATA lp_data LIKE LINE OF input_table.
ASSIGN lp_data-&amp;gt;* TO &amp;lt;wa&amp;gt;.
READ TABLE input_table WITH KEY ('FIELD1') = val1 ('FIELD2') = val2 INTO &amp;lt;wa&amp;gt;.
ASSIGN COMPONENT 'FIELD1' OF STRUCTURE &amp;lt;wa&amp;gt; TO &amp;lt;fld&amp;gt;.
&amp;lt;fld&amp;gt; = 'New Value'.
MODIFY TABLE input_table FROM &amp;lt;wa&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Might give you some ideas.  Also have a look at some of my posts from last month - I think I've covered something similar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 13:12:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-dynamic-itab/m-p/6327591#M1395610</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2009-10-29T13:12:04Z</dc:date>
    </item>
  </channel>
</rss>

