<?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 Direct SAP table update issues in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/direct-sap-table-update-issues/m-p/10447211#M1847157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Currently, in my customer system i see one custom program which is updating SAP standard table (SCM EWM) directly using below statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp; "update /SAPAPO/MATLWH set rsqty = zmax_qty where matid = mat_wa_chunk-matid and scuguid = mat_wa_chunk-entitled_id."&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I see that program is there in production from last almost 2 years and that is a product quantity update program which has to run periodically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; As per my knowledge, this is not at all acceptable. Can you please share me your thoughts, what kind of problems will occur and pre-defined&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; errors with direct data base table update?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; What should we do now on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Jul 2014 16:42:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-07-12T16:42:04Z</dc:date>
    <item>
      <title>Direct SAP table update issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/direct-sap-table-update-issues/m-p/10447211#M1847157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Currently, in my customer system i see one custom program which is updating SAP standard table (SCM EWM) directly using below statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp; "update /SAPAPO/MATLWH set rsqty = zmax_qty where matid = mat_wa_chunk-matid and scuguid = mat_wa_chunk-entitled_id."&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I see that program is there in production from last almost 2 years and that is a product quantity update program which has to run periodically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; As per my knowledge, this is not at all acceptable. Can you please share me your thoughts, what kind of problems will occur and pre-defined&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; errors with direct data base table update?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; What should we do now on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jul 2014 16:42:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/direct-sap-table-update-issues/m-p/10447211#M1847157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-12T16:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Direct SAP table update issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/direct-sap-table-update-issues/m-p/10447212#M1847158</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;SAP usually provides a BAPI or some kind of update routine for updating standard tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is recommended that you use these routines, because they handle all the consistency checks, locking, errors, LUWs etc for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What to do now? Try to find a SAP routine for updating this table and use that instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Jul 2014 03:58:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/direct-sap-table-update-issues/m-p/10447212#M1847158</guid>
      <dc:creator>paul_bakker2</dc:creator>
      <dc:date>2014-07-13T03:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Direct SAP table update issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/direct-sap-table-update-issues/m-p/10447213#M1847159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sridhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.222222328186035px; color: #333333;"&gt; Updating directly in SAP tables is not recommended.Yes as mentioned it may create some inconsistencies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.222222328186035px; color: #333333;"&gt;Use the help of where used list by clicking on the field of the table &lt;STRONG style="font-size: 12.222222328186035px; color: #333333;"&gt;/SAPAPO/MATLWH &lt;/STRONG&gt;and see any Bapis/Function modules are available for doing this.Worst case you can go for a BDC upload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.222222328186035px; color: #333333;"&gt;Also you can request SAP via OSS to help providing an appropriate code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.222222328186035px; color: #333333;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 12.222222328186035px; color: #333333;"&gt;Kannan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Jul 2014 08:35:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/direct-sap-table-update-issues/m-p/10447213#M1847159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-13T08:35:15Z</dc:date>
    </item>
  </channel>
</rss>

