<?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: Updating Database Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197645#M130135</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use 'MODIFY' and also hardcode the value for "1" Record and see the effect . You&amp;#146;ll definitely able to do it . I am sure you must be missing some of the main condition , like belnr or any thing .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Feb 2006 18:04:51 GMT</pubDate>
    <dc:creator>former_member181966</dc:creator>
    <dc:date>2006-02-16T18:04:51Z</dc:date>
    <item>
      <title>Updating Database Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197639#M130129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i have a program which Updates BSEG-ZUONR , &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
UPDATE BSEG SET ZUONR = 'value'
where cond1
and cond2.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have executed the program and it is working fine , but after 12 hrs i tested and it wasnt updating that particular field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i again retested after sometime it is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I somewhere read that , update database table will be dealt with locks and it is sensible if multiple ppl are accesing that table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so is there any standard procedure or code or Function Module which can take care of all these issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and iam not getting any error messages or warnings , as in authorizations or something like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if there are any issues like this where can i get that status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;Kishore Kumar Yerra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2006 17:55:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197639#M130129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-16T17:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Database Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197640#M130130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Having you tried using the MODIFY statement instead?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2006 17:56:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197640#M130130</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-02-16T17:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Database Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197641#M130131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also use COMMIT WORK AND WAIT once you modify the record.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2006 17:59:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197641#M130131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-16T17:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Database Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197642#M130132</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 think you should do a BDC program for trx FB09 to change that field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to change a value of BSEG, you have to change that value for the same field of account index table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BSIS/BSAS for CO.GE&lt;/P&gt;&lt;P&gt;BSIK/BSAK for vendor&lt;/P&gt;&lt;P&gt;BSID/BSAD for customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZUONR field is a key for that tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2006 18:01:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197642#M130132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-16T18:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Database Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197643#M130133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kishore,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE BSEG SET ZUONR = 'value'&lt;/P&gt;&lt;P&gt;   where cond1and cond2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHAT IS YOUR WHERE CONDITION?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF YOU DON'T PROVIDE CORRECT CONDITION IT WON'T WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS&lt;/P&gt;&lt;P&gt;VIJAY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2006 18:01:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197643#M130133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-16T18:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Database Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197644#M130134</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; since i have several where statements and conditions ,&lt;/P&gt;&lt;P&gt;and the code is inside a loop and a read table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   i thought update would be appropriate , and there is no bar on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Kishore Kumar Yerra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2006 18:03:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197644#M130134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-16T18:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Database Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197645#M130135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use 'MODIFY' and also hardcode the value for "1" Record and see the effect . You&amp;#146;ll definitely able to do it . I am sure you must be missing some of the main condition , like belnr or any thing .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2006 18:04:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197645#M130135</guid>
      <dc:creator>former_member181966</dc:creator>
      <dc:date>2006-02-16T18:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Database Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197646#M130136</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 have checked all the conditions and all of them are correct and i have tested hardcoding it both in program and also in Debug mode , but no results&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Kishore Kumar Yerra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2006 18:09:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197646#M130136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-16T18:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Database Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197647#M130137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please post your code , so we can take a look and suggest you something .&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2006 18:11:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197647#M130137</guid>
      <dc:creator>former_member181966</dc:creator>
      <dc:date>2006-02-16T18:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Database Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197648#M130138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kishore&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Commit Statement. It works. Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE BSEG SET ZUONR = 'value'&lt;/P&gt;&lt;P&gt;where cond1&lt;/P&gt;&lt;P&gt;and cond2.&lt;/P&gt;&lt;P&gt;Commit Work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Changes to lines made with the UPDATE command only become final after a database commit (see Logical Unit of Work (LUW)). Prior to this, any database update can be canceled by a database rollback (see Programming Transactions). "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suresh B Mannem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2006 18:23:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197648#M130138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-16T18:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Database Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197649#M130139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Max is right - you could be digging yourself into a hole you won't be able to get out of. Use BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2006 18:39:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197649#M130139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-16T18:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Database Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197650#M130140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I updated a single assignment for a single document with a performance trace on. It did 13 inserts and 7 updates to SAP tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Also 7 deletes).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rob Burbank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2006 20:00:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-database-table/m-p/1197650#M130140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-16T20:00:20Z</dc:date>
    </item>
  </channel>
</rss>

