<?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: Problem unlocking objects in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-unlocking-objects/m-p/5249854#M1212925</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;can you try with the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'DEQUEUE_ALL'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Feb 2009 14:12:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-11T14:12:10Z</dc:date>
    <item>
      <title>Problem unlocking objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-unlocking-objects/m-p/5249853#M1212924</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've a problem trying to unlock some objects (TO, delivery and purchase orders). This is my scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I begin confirming a TO on LT12. On this transaction TO and its delivery are locked (objects ELLTAKE and EVVBLKE). When pushing 'Save' button, process is ended and OT is supposed to be confirmed, but previously FM L_TA_QUITTIEREN is called IN UPDATE TASK, so other process is running as well and when I exit from LT12 I receive the next message: "Express document Update was terminated received from author... "&lt;/P&gt;&lt;P&gt;  I've checked SM13, and now I know that the problem comes from an user-exit inside FM L_TA_QUITTIEREN. This exit tries to make a good receipt via BAPI BAPI_GOODSMVT_CREATE but it's not able because of related purchase order is locked previously on L_TA_QUITTIEREN. So I'm trying to unlock the purchase order and the delivery before calling BAPI (and locking them again after the calling) in order to avoid the error but locks are not released. I use the same objects than in locking: EVVBLKE for delivery and EMEKKOS for PO.&lt;/P&gt;&lt;P&gt;  My code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'DEQUEUE_EMEKKOS'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;         MODE_EKKO       = 'E'&lt;/P&gt;&lt;P&gt;         MANDT           = SY-MANDT&lt;/P&gt;&lt;P&gt;         EBELN           = wg_pedidos-vgbel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'DEQUEUE_EVVBLKE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        MODE_LIKP       = 'E'&lt;/P&gt;&lt;P&gt;        MANDT           = SY-MANDT&lt;/P&gt;&lt;P&gt;        VBELN           = w_ltak-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tryed passing parameter _SYNCHRON       = 'X' but locks still remain set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody know if is it possible to unlock these objects?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 14:06:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-unlocking-objects/m-p/5249853#M1212924</guid>
      <dc:creator>danielpalacios3</dc:creator>
      <dc:date>2009-02-11T14:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem unlocking objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-unlocking-objects/m-p/5249854#M1212925</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;can you try with the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'DEQUEUE_ALL'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 14:12:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-unlocking-objects/m-p/5249854#M1212925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T14:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem unlocking objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-unlocking-objects/m-p/5249855#M1212926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I`ve tried this but still don´t work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 15:01:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-unlocking-objects/m-p/5249855#M1212926</guid>
      <dc:creator>danielpalacios3</dc:creator>
      <dc:date>2009-02-11T15:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem unlocking objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-unlocking-objects/m-p/5249856#M1212927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when i confirmed via idocs, we got the same issue, but, once in thousands, so, we overlloked and sent to production, bcoz of dead line. just try to search the OSS notes.&lt;/P&gt;&lt;P&gt;thanq&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 15:07:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-unlocking-objects/m-p/5249856#M1212927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T15:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem unlocking objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-unlocking-objects/m-p/5249857#M1212928</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 had the same issue in my development and followed the below process to over come the locking issue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) Call BDC LT06 (as per my requirement) to create the transfer order&lt;/P&gt;&lt;P&gt;(2) Wait for 3 seconds (with my analysis, I came up with 3 seconds)&lt;/P&gt;&lt;P&gt;(3) Call L_TO_CONFIRM to confirm the TO &lt;/P&gt;&lt;P&gt;(4) Commit work (Bapi transaction commit) if successful message from step 3 else Roll Back (Bapi transaction rollback)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try this option alternatively and let me know. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nagarajan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 23:02:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-unlocking-objects/m-p/5249857#M1212928</guid>
      <dc:creator>nagarajan_ramudu</dc:creator>
      <dc:date>2009-02-11T23:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem unlocking objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-unlocking-objects/m-p/5249858#M1212929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nagarajan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Finally i solved this issue calling my FM inside the exit in mode STARTING NEW TASK. Therefore locks are released when BAPI_GOODSMVT_CREATE is executed and goods receipt can be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 12:16:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-unlocking-objects/m-p/5249858#M1212929</guid>
      <dc:creator>danielpalacios3</dc:creator>
      <dc:date>2009-02-12T12:16:51Z</dc:date>
    </item>
  </channel>
</rss>

