<?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: BAPI_EMPLOYEE_DEQUEUE lock not being released until Loop is finished in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-employee-dequeue-lock-not-being-released-until-loop-is-finished/m-p/2220802#M476814</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;Try ..COMMIT WORK AND WAIT...For V1 updates to get completed..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HR_INFOTYPE_OPERATION'&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 May 2007 16:06:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-09T16:06:14Z</dc:date>
    <item>
      <title>BAPI_EMPLOYEE_DEQUEUE lock not being released until Loop is finished</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-employee-dequeue-lock-not-being-released-until-loop-is-finished/m-p/2220799#M476811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am processing 2000+ records in a loop and the function BAPI_EMPLOYEE_DEQUEUE is not releasing any of the employees until the entire loop has finished.  A very simplistic version of my code is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT rec.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'HR_INFOTYPE_GETDETAIL'&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'HR_INFOTYPE_OPERATION'&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know why it is not releasing the employee until the end of the loop or how I can get this to happen?   I did check and I am passing these functions the correct employee #'s.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points will be rewarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 15:51:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-employee-dequeue-lock-not-being-released-until-loop-is-finished/m-p/2220799#M476811</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T15:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_EMPLOYEE_DEQUEUE lock not being released until Loop is finished</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-employee-dequeue-lock-not-being-released-until-loop-is-finished/m-p/2220800#M476812</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;Please try to add COMMIT WORK after FM 'HR_INFOTYPE_OPERATION' when the update is successfully. Then you can call FM BAPI_EMPLOYEE_DEQUEUE'.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 15:55:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-employee-dequeue-lock-not-being-released-until-loop-is-finished/m-p/2220800#M476812</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-05-09T15:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_EMPLOYEE_DEQUEUE lock not being released until Loop is finished</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-employee-dequeue-lock-not-being-released-until-loop-is-finished/m-p/2220801#M476813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good suggestion, but it did not work.  Any other ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 16:02:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-employee-dequeue-lock-not-being-released-until-loop-is-finished/m-p/2220801#M476813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T16:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_EMPLOYEE_DEQUEUE lock not being released until Loop is finished</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-employee-dequeue-lock-not-being-released-until-loop-is-finished/m-p/2220802#M476814</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;Try ..COMMIT WORK AND WAIT...For V1 updates to get completed..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HR_INFOTYPE_OPERATION'&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 16:06:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-employee-dequeue-lock-not-being-released-until-loop-is-finished/m-p/2220802#M476814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T16:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_EMPLOYEE_DEQUEUE lock not being released until Loop is finished</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-employee-dequeue-lock-not-being-released-until-loop-is-finished/m-p/2220803#M476815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi janice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I had also done this kind of loop, but it was working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Maybe ucan try commit work after&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'&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>Wed, 09 May 2007 16:13:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-employee-dequeue-lock-not-being-released-until-loop-is-finished/m-p/2220803#M476815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T16:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_EMPLOYEE_DEQUEUE lock not being released until Loop is finished</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-employee-dequeue-lock-not-being-released-until-loop-is-finished/m-p/2220804#M476816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Darn thing.  I tried both the COMMIT WORK AND WAIT.&lt;/P&gt;&lt;P&gt;and COMMIT WORK in vairous places and it still does not release the employee until after the entire loop is finished.  Doesn't make any sense to me.  Any other ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 16:52:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-employee-dequeue-lock-not-being-released-until-loop-is-finished/m-p/2220804#M476816</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T16:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_EMPLOYEE_DEQUEUE lock not being released until Loop is finished</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-employee-dequeue-lock-not-being-released-until-loop-is-finished/m-p/2220805#M476817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm still not having any luck.  If someone has some sample code could you perhaps send it to me?  thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 20:56:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-employee-dequeue-lock-not-being-released-until-loop-is-finished/m-p/2220805#M476817</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T20:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_EMPLOYEE_DEQUEUE lock not being released until Loop is finished</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-employee-dequeue-lock-not-being-released-until-loop-is-finished/m-p/2220806#M476818</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;Instead of calling Enqueue..Dequeue..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try calling the FM BAPI_EMPLCOMM_CHANGE directly..&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 21:06:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-employee-dequeue-lock-not-being-released-until-loop-is-finished/m-p/2220806#M476818</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T21:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_EMPLOYEE_DEQUEUE lock not being released until Loop is finished</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-employee-dequeue-lock-not-being-released-until-loop-is-finished/m-p/2220807#M476819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is obviously my day to be a blond.  Somedays you just can't see the obvious.  I just figured it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My 2 function calls were calling different employee #'s .... one was calling '1234' and the other was calling '00001234'.  I can't believe I have been struggling with this!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx for your responses.  I am still going to reward points because I appreciated the responses.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 21:12:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-employee-dequeue-lock-not-being-released-until-loop-is-finished/m-p/2220807#M476819</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T21:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_EMPLOYEE_DEQUEUE lock not being released until Loop is finished</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-employee-dequeue-lock-not-being-released-until-loop-is-finished/m-p/2220808#M476820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Janice,&lt;/P&gt;&lt;P&gt;I just figured out that I did the same mistake as you did and have been struggling for hours. You made my day. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Amber&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 09:04:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-employee-dequeue-lock-not-being-released-until-loop-is-finished/m-p/2220808#M476820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-20T09:04:01Z</dc:date>
    </item>
  </channel>
</rss>

