<?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: LOCK in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock/m-p/2745004#M638061</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Goto tcode SE11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;choose "lock object" (the last option)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give a name starts with 'E' follwed by ur table name.For Ex: EZTESTTAB.And &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;click on create.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give description .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;click on Tables tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jus give name of the table on which u want to create the lock ...and lock mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There r differrent kind of locks:&lt;/P&gt;&lt;P&gt;Lock mode E: This sets a lock for changing data for single user. This lock can be accumulated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lock mode X: This mode is used like mode E for changing data. The only technical difference from mode E is that the respective lock does not allow accumulation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lock mode S: This mode ensures that data displayed in your program cannot be changed by other users during the entire display time. Here you do not want to change the data yourself (allows read only access for data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then add or remove secondary tables if u r table have any ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jus save and active.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after this the system will automaticall create two functiona modules named&lt;/P&gt;&lt;P&gt;ENQUEUE_&amp;lt;UR lockname&amp;gt;          -for locking a table&lt;/P&gt;&lt;P&gt;DEQUEUE_&amp;lt;UR lockname&amp;gt;         -for unlocking a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can call these function modules directly in ur report to lock and unlock that table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;jyothi D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Aug 2007 12:20:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-30T12:20:33Z</dc:date>
    <item>
      <title>LOCK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock/m-p/2745001#M638058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how we can creat a lock on perticular table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 12:55:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock/m-p/2745001#M638058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T12:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: LOCK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock/m-p/2745002#M638059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using lock objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/a2/3547360f2ea61fe10000009b38f839/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/a2/3547360f2ea61fe10000009b38f839/frameset.htm&lt;/A&gt;&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>Wed, 29 Aug 2007 12:57:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock/m-p/2745002#M638059</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-08-29T12:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: LOCK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock/m-p/2745003#M638060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;To create a lock go to SE11 in Lock object give the name of lock object you want to create. the first character of the lock name must be E this is the naming convention..Then give the tablename and craete it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once it is activated automatically two function Modules are generated ENQUEUE_&amp;lt;LOCK OBJECT NAME&amp;gt; and DEQEUE_&amp;lt;LOCK OBJECT NAME&amp;gt;. To lock the record of a table at any point in the program we use ENQUEUE_&amp;lt;LOCK OBJECT NAME&amp;gt; function module however to unlock we use DEQEUE_&amp;lt;LOCK OBJECT NAME&amp;gt;. function module. generally these function modules are called inside the LOOP statement where we lock the record from Work area if we feel should be locked by passing them to the parameters of ENQEUE_&amp;lt;LOCK OBJECT NAME&amp;gt;  Function module and once we require them to unlock function module EQEUE_&amp;lt;LOCK OBJECT NAME&amp;gt; is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Kindly reward points for helpfull answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Tanweer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 11:43:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock/m-p/2745003#M638060</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-30T11:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: LOCK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock/m-p/2745004#M638061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Goto tcode SE11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;choose "lock object" (the last option)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give a name starts with 'E' follwed by ur table name.For Ex: EZTESTTAB.And &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;click on create.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give description .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;click on Tables tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jus give name of the table on which u want to create the lock ...and lock mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There r differrent kind of locks:&lt;/P&gt;&lt;P&gt;Lock mode E: This sets a lock for changing data for single user. This lock can be accumulated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lock mode X: This mode is used like mode E for changing data. The only technical difference from mode E is that the respective lock does not allow accumulation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lock mode S: This mode ensures that data displayed in your program cannot be changed by other users during the entire display time. Here you do not want to change the data yourself (allows read only access for data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then add or remove secondary tables if u r table have any ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jus save and active.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after this the system will automaticall create two functiona modules named&lt;/P&gt;&lt;P&gt;ENQUEUE_&amp;lt;UR lockname&amp;gt;          -for locking a table&lt;/P&gt;&lt;P&gt;DEQUEUE_&amp;lt;UR lockname&amp;gt;         -for unlocking a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can call these function modules directly in ur report to lock and unlock that table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;jyothi D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 12:20:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock/m-p/2745004#M638061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-30T12:20:33Z</dc:date>
    </item>
  </channel>
</rss>

