<?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: Locking in update task in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-update-task/m-p/4519805#M1068653</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;before calling the function module in update task you need to dequeue the lock&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;MD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Oct 2008 11:00:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-06T11:00:41Z</dc:date>
    <item>
      <title>Locking in update task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-update-task/m-p/4519804#M1068652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a weird issue with locking during update task.&lt;/P&gt;&lt;P&gt;I have a report, which enqueue a specific lock object in exclusive cumulative mode (mode E) with scope 2.&lt;/P&gt;&lt;P&gt;Afterwards, I call FM in update task, which also enqueue exactly the same object in exclusive cumulative mode with scope 2. The FM is triggered after commit work has been executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some reason, the enqueue during the update task process fails (because object is locked by other owner).&lt;/P&gt;&lt;P&gt;As I know, there shouldn't be any locking problem because the update task inherits the lock owner (as described in &lt;A href="http://help.sap.com/saphelp_erp60_sp/helpdata/EN/7b/f9813712f7434be10000009b38f8cf/frameset.htm)" target="test_blank"&gt;http://help.sap.com/saphelp_erp60_sp/helpdata/EN/7b/f9813712f7434be10000009b38f8cf/frameset.htm)&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Does anyone why does it occur? How can I solve this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Shai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 10:57:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-update-task/m-p/4519804#M1068652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T10:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Locking in update task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-update-task/m-p/4519805#M1068653</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;before calling the function module in update task you need to dequeue the lock&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;MD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 11:00:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-update-task/m-p/4519805#M1068653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T11:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Locking in update task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-update-task/m-p/4519806#M1068654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is that?&lt;/P&gt;&lt;P&gt;The lock is defined in exclusive cumulative mode, what means that the same lock can be requested by the same owner several times.&lt;/P&gt;&lt;P&gt;This scenario works just fine in normal dialog process (with two sequent locks), but fails in update task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your knowledge,&lt;/P&gt;&lt;P&gt;Shai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 06:57:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-update-task/m-p/4519806#M1068654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T06:57:04Z</dc:date>
    </item>
  </channel>
</rss>

