<?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: Update Statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement/m-p/1908738#M378501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anversha , &lt;/P&gt;&lt;P&gt;   Yes it is generally recommended to use the Modify command , but in my case i want to a large number of records and the feild to be modified is only 1 , so if i used the modify command i will first have to retreive all the data from the table MARA and the use this command. &lt;/P&gt;&lt;P&gt;Because is feel transporting addition does not work when we update database tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Feb 2007 06:22:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-20T06:22:21Z</dc:date>
    <item>
      <title>Update Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement/m-p/1908734#M378497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;  I am using  update statement to update a feild in a table&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;    UPDATE mara&lt;/P&gt;&lt;P&gt;      SET &amp;lt;feild_name&amp;gt; = &amp;lt;value&amp;gt;&lt;/P&gt;&lt;P&gt;      WHERE matnr IN g_r_matnr.&lt;/P&gt;&lt;P&gt;where g_r_matnr is a range for matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the number of records in the range is less the program works fine  , but when it is large it results in a dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i am planning to do is split this range into smaller sections and the use it , could you suggest some other alternative for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 06:03:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement/m-p/1908734#M378497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T06:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Update Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement/m-p/1908735#M378498</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;You can try out loop at table where matnr in r_manr.&lt;/P&gt;&lt;P&gt;Update inside the loop based on index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sudhakar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 06:07:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement/m-p/1908735#M378498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T06:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Update Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement/m-p/1908736#M378499</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;1 . dont use UPDATE statement in standard SAP tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Use only MODIFY statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 06:09:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement/m-p/1908736#M378499</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2007-02-20T06:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Update Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement/m-p/1908737#M378500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.hi,maybe you could check first the number of records prior your plan splitting your ranges, if the the records described less than range then no need to splitting&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 06:11:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement/m-p/1908737#M378500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T06:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Update Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement/m-p/1908738#M378501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anversha , &lt;/P&gt;&lt;P&gt;   Yes it is generally recommended to use the Modify command , but in my case i want to a large number of records and the feild to be modified is only 1 , so if i used the modify command i will first have to retreive all the data from the table MARA and the use this command. &lt;/P&gt;&lt;P&gt;Because is feel transporting addition does not work when we update database tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 06:22:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement/m-p/1908738#M378501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T06:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Update Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement/m-p/1908739#M378502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : v_num type i.&lt;/P&gt;&lt;P&gt; ranges : v_temp for .......&lt;/P&gt;&lt;P&gt;   loop the range &lt;/P&gt;&lt;P&gt;    i  =  i + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    v_temp-sign = 'EQ'&lt;/P&gt;&lt;P&gt;    v_temp-option = 'I'&lt;/P&gt;&lt;P&gt;    v_temp-low = 'EQ'  &lt;/P&gt;&lt;P&gt;    appen v_temp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   if i eq  '2000'.&lt;/P&gt;&lt;P&gt;     UPDATE mara&lt;/P&gt;&lt;P&gt;      SET &amp;lt;feild_name&amp;gt; = &amp;lt;value&amp;gt;&lt;/P&gt;&lt;P&gt;      WHERE matnr IN g_r_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    clear i.&lt;/P&gt;&lt;P&gt;   endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. mark if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 06:42:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement/m-p/1908739#M378502</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T06:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Update Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement/m-p/1908740#M378503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THANKS A LOT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 09:17:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement/m-p/1908740#M378503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T09:17:39Z</dc:date>
    </item>
  </channel>
</rss>

