<?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: How to Lock a data base table for write access. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-lock-a-data-base-table-for-write-access/m-p/5808221#M1312851</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;See to this link it may help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/af/22ab01dd0b11d1952000a0c929b3c3/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/af/22ab01dd0b11d1952000a0c929b3c3/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/af/22ab01dd0b11d1952000a0c929b3c3/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/af/22ab01dd0b11d1952000a0c929b3c3/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jul 2009 12:48:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-09T12:48:52Z</dc:date>
    <item>
      <title>How to Lock a data base table for write access.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-lock-a-data-base-table-for-write-access/m-p/5808212#M1312842</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 requirement where in I have to insert a bunch of data into a standard table using some function module. I want to lock the table for the others to insert/modity the records during my insertion. Please help me provide the procedure how to lock a table for write access for others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 09:02:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-lock-a-data-base-table-for-write-access/m-p/5808212#M1312842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T09:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to Lock a data base table for write access.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-lock-a-data-base-table-for-write-access/m-p/5808213#M1312843</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;Activating a lock object in the ABAP Dictionary automatically creates function modules for setting (ENQUEUE_&amp;lt;lock object name&amp;gt;) and releasing (DEQUEUE_&amp;lt;lock object name&amp;gt;) locks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can use the ENQUEUE_&amp;lt;lock object name&amp;gt; in program or FM for locking the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A lock object is first need to be created between table which are used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 11:29:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-lock-a-data-base-table-for-write-access/m-p/5808213#M1312843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T11:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to Lock a data base table for write access.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-lock-a-data-base-table-for-write-access/m-p/5808214#M1312844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your update. But I already tried it. In that process I can only lock the table for a particalar entry each time. But I want to lock the table for a bunch of entries at a single shot. Because I am doing a mass update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 13:52:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-lock-a-data-base-table-for-write-access/m-p/5808214#M1312844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T13:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to Lock a data base table for write access.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-lock-a-data-base-table-for-write-access/m-p/5808215#M1312845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Try function Module 'ENQUEUE_E_TABLE' and 'DEQUEUE_E_TABLE'.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu Verma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 14:05:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-lock-a-data-base-table-for-write-access/m-p/5808215#M1312845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T14:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to Lock a data base table for write access.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-lock-a-data-base-table-for-write-access/m-p/5808216#M1312846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you say "the others to insert/modity the records during my insertion", you need to determine how those other change the table and find the lock object that uses (transaction SM12).  If that locks entries in the table individually, that's what you might have to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 14:11:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-lock-a-data-base-table-for-write-access/m-p/5808216#M1312846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T14:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to Lock a data base table for write access.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-lock-a-data-base-table-for-write-access/m-p/5808217#M1312847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Verma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what should be passed to VARKEY. If possible can you please give me an axample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 14:34:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-lock-a-data-base-table-for-write-access/m-p/5808217#M1312847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T14:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to Lock a data base table for write access.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-lock-a-data-base-table-for-write-access/m-p/5808218#M1312848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  VARKEY is an optional parameter this is used is you want to lock the table based on certain field values like if you want to lock BKPF based on company code then you ahve to pass that to this variable if you want to lock table irrespective of any vlaues you can just pass the table name to this function module and that should do the trick...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu Verma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 14:51:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-lock-a-data-base-table-for-write-access/m-p/5808218#M1312848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T14:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to Lock a data base table for write access.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-lock-a-data-base-table-for-write-access/m-p/5808219#M1312849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you want to apply for bunch of records , you can use loop for it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP.&lt;/P&gt;&lt;P&gt;      " some processing&lt;/P&gt;&lt;P&gt;      PERFORM lock record. " ENQUEUE&lt;/P&gt;&lt;P&gt;      " some processing again&lt;/P&gt;&lt;P&gt;      APPEND record TO update_table.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 04:31:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-lock-a-data-base-table-for-write-access/m-p/5808219#M1312849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T04:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to Lock a data base table for write access.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-lock-a-data-base-table-for-write-access/m-p/5808220#M1312850</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;Please go to this link.It may help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/abapdocu/en/ABENDB_LOCK.htm" target="test_blank"&gt;http://help.sap.com/abapdocu/en/ABENDB_LOCK.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewsrd if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;LN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 12:02:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-lock-a-data-base-table-for-write-access/m-p/5808220#M1312850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-09T12:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to Lock a data base table for write access.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-lock-a-data-base-table-for-write-access/m-p/5808221#M1312851</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;See to this link it may help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/af/22ab01dd0b11d1952000a0c929b3c3/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/af/22ab01dd0b11d1952000a0c929b3c3/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/af/22ab01dd0b11d1952000a0c929b3c3/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/af/22ab01dd0b11d1952000a0c929b3c3/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 12:48:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-lock-a-data-base-table-for-write-access/m-p/5808221#M1312851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-09T12:48:52Z</dc:date>
    </item>
  </channel>
</rss>

