<?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: Row Level Locking while inserting a record. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/row-level-locking-while-inserting-a-record/m-p/3648433#M878705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well Poorma, U are quite right about how to make a lock objects and how to use them, but my question is different here. I want to know that whether one should use row level locking while insertion or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Apr 2008 13:46:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-04T13:46:12Z</dc:date>
    <item>
      <title>Row Level Locking while inserting a record.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/row-level-locking-while-inserting-a-record/m-p/3648431#M878703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is a good practice to lock the whole table or do the row level locking while performing any DELETE / UPDATE / MODIFY actions on a database table. Is it necessary to do the same thing while inserting a record via INSERT statement?&lt;/P&gt;&lt;P&gt;One point may arise if two  users are inserting same records at a same time....&lt;/P&gt;&lt;P&gt;Well i am little bit confused here bcos if a record doen't exist in a table what is the point of locking it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2008 12:35:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/row-level-locking-while-inserting-a-record/m-p/3648431#M878703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-04T12:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Row Level Locking while inserting a record.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/row-level-locking-while-inserting-a-record/m-p/3648432#M878704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create a lock object using SE11 for that perticular table and include field names in Lock parameters. Then it will generate two FMs one for locking and another for unlocking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call the lock FM before updating the table and pass that row key value(For fields which taken in lock parameters for creating lock objects) to the exporting parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then do the updation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful...................&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2008 12:49:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/row-level-locking-while-inserting-a-record/m-p/3648432#M878704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-04T12:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Row Level Locking while inserting a record.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/row-level-locking-while-inserting-a-record/m-p/3648433#M878705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well Poorma, U are quite right about how to make a lock objects and how to use them, but my question is different here. I want to know that whether one should use row level locking while insertion or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2008 13:46:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/row-level-locking-while-inserting-a-record/m-p/3648433#M878705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-04T13:46:12Z</dc:date>
    </item>
  </channel>
</rss>

