<?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 lock object in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/3854832#M926670</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 created a lock object on table pa0006&lt;/P&gt;&lt;P&gt;so that if any1 trys to create a record for a particular employee in this table, then he shud not be allowed&lt;/P&gt;&lt;P&gt;but its not working.&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt;dont provide with the links.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 May 2008 07:43:43 GMT</pubDate>
    <dc:creator>manubhutani</dc:creator>
    <dc:date>2008-05-19T07:43:43Z</dc:date>
    <item>
      <title>lock object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/3854832#M926670</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 created a lock object on table pa0006&lt;/P&gt;&lt;P&gt;so that if any1 trys to create a record for a particular employee in this table, then he shud not be allowed&lt;/P&gt;&lt;P&gt;but its not working.&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt;dont provide with the links.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 07:43:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/3854832#M926670</guid>
      <dc:creator>manubhutani</dc:creator>
      <dc:date>2008-05-19T07:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: lock object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/3854833#M926671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     After creating a Lock object two function modules will be genarated ...Enqueue_xxx AND Dequeue_xxx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use these two function modules in the program you want to create and then try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raghav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 07:47:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/3854833#M926671</guid>
      <dc:creator>former_member182354</dc:creator>
      <dc:date>2008-05-19T07:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: lock object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/3854834#M926672</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 am using these Fm's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ENQUEUE_EZLOCK1'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   MODE_PA0006          = 'E'&lt;/P&gt;&lt;P&gt;   MANDT                = SY-MANDT&lt;/P&gt;&lt;P&gt;   PERNR                = 00001008&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SUBTY                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OBJPS                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SPRPS                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ENDDA                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  BEGDA                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SEQNR                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  X_PERNR              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  X_SUBTY              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  X_OBJPS              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  X_SPRPS              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  X_ENDDA              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  X_BEGDA              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  X_SEQNR              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   _SCOPE               = '2'&lt;/P&gt;&lt;P&gt;   _WAIT                = ' '&lt;/P&gt;&lt;P&gt;   _COLLECT             = ' '&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   FOREIGN_LOCK         = 1&lt;/P&gt;&lt;P&gt;   SYSTEM_FAILURE       = 2&lt;/P&gt;&lt;P&gt;   OTHERS               = 3&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in debug mode after executing this FM(before leaving program)&lt;/P&gt;&lt;P&gt;i am maintqaining data for this emplo no 00001008 through transaction pa30&lt;/P&gt;&lt;P&gt;and it is allowing but it shud not as it shud have been locked&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 07:56:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/3854834#M926672</guid>
      <dc:creator>manubhutani</dc:creator>
      <dc:date>2008-05-19T07:56:37Z</dc:date>
    </item>
  </channel>
</rss>

