<?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/1650763#M289192</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when we create the lock object two FM are created enqueue and dequeue.&lt;/P&gt;&lt;P&gt;there is one parameter _SCOPE , it passes the lock object to update program.&lt;/P&gt;&lt;P&gt;what is mean by update program ? how it works?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Nov 2006 06:37:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-27T06:37:43Z</dc:date>
    <item>
      <title>LOCK OBJECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/1650763#M289192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when we create the lock object two FM are created enqueue and dequeue.&lt;/P&gt;&lt;P&gt;there is one parameter _SCOPE , it passes the lock object to update program.&lt;/P&gt;&lt;P&gt;what is mean by update program ? how it works?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 06:37:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/1650763#M289192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T06:37: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/1650764#M289193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;update program is used to update the data to sap tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 06:39:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/1650764#M289193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T06:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: LOCK OBJECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/1650765#M289194</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;Check this link for information.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_40b/helpdata/en/cf/21eebf446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_40b/helpdata/en/cf/21eebf446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 06:40:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/1650765#M289194</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-11-27T06:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: LOCK OBJECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/1650766#M289195</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;reagrding _scope parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_SCOPE = 1: The lock is not sent to the update program. The lock is removed when the transaction is ended. &lt;/P&gt;&lt;P&gt;_SCOPE = 2: The lock is sent to the update program. The update program is responsible for removing the lock. The dialog program which requested the lock no longer has an influence on the lock behavior. This is the standard setting for the ENQUEUE function module. &lt;/P&gt;&lt;P&gt;_SCOPE = 3: The lock is also sent to the update program. The lock must be removed in both the dialog program and by the update program. This is the standard setting for the ENQUEUE function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;NAGARAJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 06:41:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/1650766#M289195</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2006-11-27T06:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: LOCK OBJECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/1650767#M289196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;The below link gives a detailed overview of SCOPE :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/23/edae617ba64e85bd4997f25c77eb1f/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/23/edae617ba64e85bd4997f25c77eb1f/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 06:43:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/1650767#M289196</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2006-11-27T06:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: LOCK OBJECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/1650768#M289197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;Lock Objects are basically created to ensure consistency while data is entered/changed in a table. &lt;/P&gt;&lt;P&gt;So the update program is the one which is updating the entries in a table. It could be the standard table maintenance generator , some custom function module or some custom/standard report which updates the data in a table.&lt;/P&gt;&lt;P&gt;Do let me know if you need any other details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chetan.&lt;/P&gt;&lt;P&gt;PS: Reward points if this is helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 06:43:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/1650768#M289197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T06:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: LOCK OBJECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/1650769#M289198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. _SCOPE is useful / comes into picture,&lt;/P&gt;&lt;P&gt;   only  if&lt;/P&gt;&lt;P&gt;   we are using Update routines - Update FMS&lt;/P&gt;&lt;P&gt;   in our main program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. from help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. &lt;/P&gt;&lt;P&gt;you can determine whether a lock should be transferred to the update routine if one is called.&lt;/P&gt;&lt;P&gt;If _SCOPE has the value '1', the lock remains with the the ordering transaction. If _SCOPE has the value '2', the lock can pass to the update routine. Finally, if the parameter has the value '3', two locks of the same kind will be generated, one of which passes to an update routine when one is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By calling the DEQUEUE module, a transaction can explicitly release a lock which it holds. The lock parameter and lock mode must be supplied with the same value as for calling the ENQUEUE module. If the parameter _SCOPE has the value '1', only one lock is released which cannot pass to an update routine. If the parameter has the value '2', only one lock is released which can pass to the update program. Finally, if the parameter has the value '3', both locks can be released. Note however that a transaction can release neither a lock which has already been transferred to the update program, nor a lock which is held by another transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 06:45:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/1650769#M289198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T06:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: LOCK OBJECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/1650770#M289199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;after activating the lock object , the 2 FM are generated , how we can use these FM in our code. do u have any code.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 06:48:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/1650770#M289199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T06:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: LOCK OBJECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/1650771#M289200</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 didn't ahve the code,but we can call directly in our program,by using pattern button as we do for FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'Enqueue_&amp;lt;lockobjectname&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'DEQUEUE_&amp;lt;lockobjectname&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For dequeue FM u neednot pass any parameter,but for enqueue u need to pass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 07:03:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object/m-p/1650771#M289200</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2006-11-27T07:03:12Z</dc:date>
    </item>
  </channel>
</rss>

