<?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: Modify Internal table? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-internal-table/m-p/4655700#M1095442</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do like this to achieve what you want:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
INSERT wa INTO TABLE itab.
if sy-subrc ne 0. "record is in
 MODIFY TABLE itab FROM wa. 
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Oct 2008 07:08:14 GMT</pubDate>
    <dc:creator>MarcinPciak</dc:creator>
    <dc:date>2008-10-10T07:08:14Z</dc:date>
    <item>
      <title>Modify Internal table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-internal-table/m-p/4655697#M1095439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              in open sql, as far i know, when we use modify &amp;lt;internal table&amp;gt; from &amp;lt;wa&amp;gt;.....&lt;/P&gt;&lt;P&gt;if record already exits it modifies, bt if not than it insert new in internal table bt its not working...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any simple example....?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Saurin Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 07:00:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-internal-table/m-p/4655697#M1095439</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T07:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Internal table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-internal-table/m-p/4655698#M1095440</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;Modify on an internal table will only modify an existing entry. Modify DBTAB from an internal table will modify or insert entries into the database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Darren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 07:02:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-internal-table/m-p/4655698#M1095440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T07:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Internal table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-internal-table/m-p/4655699#M1095441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  MODIFY statement will have 2 faces.&lt;/P&gt;&lt;P&gt;1) while you are using it on internal tables, if the entry is available then that perticular entry will be get updated.&lt;/P&gt;&lt;P&gt;2) while you are using it on database tables, if that perticular entry is available then it get modified.  else a record will be inserted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Kishore M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 07:06:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-internal-table/m-p/4655699#M1095441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T07:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Internal table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-internal-table/m-p/4655700#M1095442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do like this to achieve what you want:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
INSERT wa INTO TABLE itab.
if sy-subrc ne 0. "record is in
 MODIFY TABLE itab FROM wa. 
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 07:08:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-internal-table/m-p/4655700#M1095442</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-10-10T07:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Internal table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-internal-table/m-p/4655701#M1095443</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;   before modifying u can check whether the internal table is blank or not...if its not blank i.e. it contains data then modify the internal table....&lt;/P&gt;&lt;P&gt;modify &amp;lt;internal table&amp;gt; from &amp;lt;wa&amp;gt; or&lt;/P&gt;&lt;P&gt;modify &amp;lt;internal table&amp;gt; index &amp;lt; &amp;gt; from &amp;lt;wa&amp;gt; transporting .....&lt;/P&gt;&lt;P&gt;(in transporting only those fields which r to be modified).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if internal table is blank then...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append &amp;lt;wa&amp;gt; into &amp;lt;internal table&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that will work....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 07:11:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-internal-table/m-p/4655701#M1095443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T07:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Internal table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-internal-table/m-p/4655702#M1095444</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;Refer to this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/modify_d.htm" target="test_blank"&gt;http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/modify_d.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it will be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sreelakshmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 07:13:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-internal-table/m-p/4655702#M1095444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T07:13:19Z</dc:date>
    </item>
  </channel>
</rss>

