<?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 sap standard table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-sap-standard-table/m-p/3549734#M854024</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its definitely not advisable to update SAP standard tables using UPDATE statement directly in your Z-program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP is not recommending the direct update because: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Authorization checks are not supported by the UPDATE statement. You must include these in the program yourself. &lt;/P&gt;&lt;P&gt;In the UPDATE &amp;lt;tablename&amp;gt; will not support the authority check. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. You have to use SAP Locking mechanism before the UPDATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. A SAP transaction updates not just 1 or 2 DB tables. So direct update might &lt;/P&gt;&lt;P&gt;   result in DB inconsistencies. So its not highly recommended.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Mar 2008 08:08:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-19T08:08:22Z</dc:date>
    <item>
      <title>update sap standard table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-sap-standard-table/m-p/3549730#M854020</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;        is it a good practice to update a sap delivered &lt;/P&gt;&lt;P&gt;        table directly using &lt;U&gt;abap keyword  update&lt;/U&gt; , &lt;STRONG&gt;i.e&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;       &lt;STRONG&gt;without using bdc or bapi?&lt;/STRONG&gt;   &lt;/P&gt;&lt;P&gt;       IF yes then why &amp;amp; if not then why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;pankaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 08:01:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-sap-standard-table/m-p/3549730#M854020</guid>
      <dc:creator>former_member841898</dc:creator>
      <dc:date>2008-03-19T08:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: update sap standard table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-sap-standard-table/m-p/3549731#M854021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use UPDATE keyword to update customized Ztables.&lt;/P&gt;&lt;P&gt;For standard tables, use bdc/bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 08:03:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-sap-standard-table/m-p/3549731#M854021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T08:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: update sap standard table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-sap-standard-table/m-p/3549732#M854022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;generally not...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the reason being that most of sap transactions do not just update a single table. There is a whole set of a tables that might get updated when you run a transaction or a bapi in SAP. If your program logic can take this into account and provide the same consistency of data then sure...you can update the tables the way u want. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, having said that, it really depends on what your requirement is and how critical is your update. For example, you could go with updates on master data through your programs. So it depends on the kind of update your program is doing and also the table which is being updated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 08:05:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-sap-standard-table/m-p/3549732#M854022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T08:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: update sap standard table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-sap-standard-table/m-p/3549733#M854023</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;If you custom/ Z  table table it would be better to use insert modify or update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you updating master / SAP standard table then it is recommended to use BDC BAPI or FM so that all the related tables should updated &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 08:05:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-sap-standard-table/m-p/3549733#M854023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T08:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: update sap standard table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-sap-standard-table/m-p/3549734#M854024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its definitely not advisable to update SAP standard tables using UPDATE statement directly in your Z-program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP is not recommending the direct update because: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Authorization checks are not supported by the UPDATE statement. You must include these in the program yourself. &lt;/P&gt;&lt;P&gt;In the UPDATE &amp;lt;tablename&amp;gt; will not support the authority check. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. You have to use SAP Locking mechanism before the UPDATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. A SAP transaction updates not just 1 or 2 DB tables. So direct update might &lt;/P&gt;&lt;P&gt;   result in DB inconsistencies. So its not highly recommended.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 08:08:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-sap-standard-table/m-p/3549734#M854024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T08:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: update sap standard table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-sap-standard-table/m-p/3549735#M854025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi priyank,&lt;/P&gt;&lt;P&gt;     thanks for your advice , but is it possible to mention in programs all the sap delivered tables to be updated............&lt;/P&gt;&lt;P&gt;a single update can reflect in 100 tables(guess)......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;pankaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 08:12:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-sap-standard-table/m-p/3549735#M854025</guid>
      <dc:creator>former_member841898</dc:creator>
      <dc:date>2008-03-19T08:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: update sap standard table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-sap-standard-table/m-p/3549736#M854026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Punkaj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not good practice to update standard tables. In SAP all tables will be linked with many tables. We ll have related data stored in multiple tables. If we change one record in one table, remaining related will not be changed. If we use BDC (screen flow like va01) or BAPI, all the related tables will be updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subbu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 08:12:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-sap-standard-table/m-p/3549736#M854026</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T08:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: update sap standard table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-sap-standard-table/m-p/3549737#M854027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand what you mean by :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"a single update can reflect in 100 tables"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are asking a way to know which tables does a program updates then yes there is definitely a way to know this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL trace comes to your help here. you can activate the SQL trace through transaction ST05, thereafter run your program. Once the execution is finished, deactivate the sql trace and analyze it. You will get to see a hell lot of things that the program has done on the database level. Here you can make out which are the tables updated by the program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that help? Is that what you were looking for???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 08:16:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-sap-standard-table/m-p/3549737#M854027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T08:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: update sap standard table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-sap-standard-table/m-p/3549738#M854028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi priyank,&lt;/P&gt;&lt;P&gt;   yes thru sql trace i will get all the table names,......&lt;/P&gt;&lt;P&gt;   but i think bdc or bapi will be better as data integrity will be maintained..............thanks&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;pankaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 08:26:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-sap-standard-table/m-p/3549738#M854028</guid>
      <dc:creator>former_member841898</dc:creator>
      <dc:date>2008-03-19T08:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: update sap standard table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-sap-standard-table/m-p/3549739#M854029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Indeed!! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are convinced with the answers, then please close the post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 08:30:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-sap-standard-table/m-p/3549739#M854029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T08:30:37Z</dc:date>
    </item>
  </channel>
</rss>

