<?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: HR_INFOTYPE_OPERATION error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-infotype-operation-error/m-p/2906508#M683748</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;use the function module 'BAPI_EMPLOYEE_ENQUEUE'  before your function module, and after your function module use '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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Oct 2007 14:52:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-12T14:52:17Z</dc:date>
    <item>
      <title>HR_INFOTYPE_OPERATION error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-infotype-operation-error/m-p/2906507#M683747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using FM HR_INFOTYPE_OPERATION to upload data to some infotypes. I'm using BAPI_EMPLOYEE_ENQUEUE before I call the FM, and the BAPI returns no error, which means the employee has been locked, but when I call the FM it returns "Employee/applicant not locked yet". I tried using BAPI_APPLICANT_ENQUEUE instead, but it still didn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help will be welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;Hermes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;null&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 14:48:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-infotype-operation-error/m-p/2906507#M683747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T14:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: HR_INFOTYPE_OPERATION error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-infotype-operation-error/m-p/2906508#M683748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;use the function module 'BAPI_EMPLOYEE_ENQUEUE'  before your function module, and after your function module use '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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 14:52:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-infotype-operation-error/m-p/2906508#M683748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T14:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: HR_INFOTYPE_OPERATION error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-infotype-operation-error/m-p/2906509#M683749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using it, but still it's not working. As I said in the first post, although the BAPI_EMPLOYEE_DEQUEUE returns no error the FM HR_INFOTYPE_OPERATION is saying that the employee is not locked...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Hermes Alves&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 15:28:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-infotype-operation-error/m-p/2906509#M683749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T15:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: HR_INFOTYPE_OPERATION error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-infotype-operation-error/m-p/2906510#M683750</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;In your fm HR_INFOTYPE_OPERATION already system is locking the PERNR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check for function module HR_MAINTAIN_MASTERDATA within this system locks PERNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
      perform enqueue_pernr(sapfp50g)
                       using pspar-pernr ' '.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then why do you need explicit lock before calling HR_INFOTYPE_OPERATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 16:28:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-infotype-operation-error/m-p/2906510#M683750</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-10-12T16:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: HR_INFOTYPE_OPERATION error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-infotype-operation-error/m-p/2906511#M683751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to make sure we cover the obvious stuff, make sure that you're passing the same pernr when you call HR_INFOTYPE_OPERATION as when you just called BAPI_EMPLOYEE_ENQUEUE.  &lt;/P&gt;&lt;P&gt; - April King&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 18:39:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-infotype-operation-error/m-p/2906511#M683751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T18:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: HR_INFOTYPE_OPERATION error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-infotype-operation-error/m-p/2906512#M683752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hermes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a similar problem.  Did you ever resolve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 18:49:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-infotype-operation-error/m-p/2906512#M683752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T18:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: HR_INFOTYPE_OPERATION error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-infotype-operation-error/m-p/2906513#M683753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;         number =  lv_pa0008-pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;        number = lv_pa0008-pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use these function modules..They are definitely going to work!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shashank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 06:11:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-infotype-operation-error/m-p/2906513#M683753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-25T06:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: HR_INFOTYPE_OPERATION error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-infotype-operation-error/m-p/2906514#M683754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try fm:&lt;/P&gt;&lt;P&gt;ENQUEUE_EPPRELE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: abapuser on Sep 25, 2009 8:17 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 06:15:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-infotype-operation-error/m-p/2906514#M683754</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2009-09-25T06:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: HR_INFOTYPE_OPERATION error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-infotype-operation-error/m-p/2906515#M683755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am facing the same problem. Any solution yet??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used bapi_employee_enqueue and bapi_employee_dequeue, for hr_infotype_operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its working perfect for infotype 0008, but is showing "Employee/applicant is not locked yet" for 0014&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 07:02:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-infotype-operation-error/m-p/2906515#M683755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-03T07:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: HR_INFOTYPE_OPERATION error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-infotype-operation-error/m-p/2906516#M683756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'MS Shell Dlg 2','sans-serif'; color: black;"&gt;Did you check the return code from the BAPI call. What I do is this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: gray; background: white; font-family: 'Courier New';"&gt;* Lock Employee&lt;/EM&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;call function &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: #4da619;"&gt;'BAPI_EMPLOYEE_ENQUEUE'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;exporting&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;number &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;ls_0001&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: gray;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;pernr&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;importing&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;return &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;enq_ret&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;if &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;enq_ret &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;is not initial&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;write&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;/ ls_0001&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: gray;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;pernr&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: #4da619;"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;enq_ret&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: gray;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;message&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;endif&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&lt;BR /&gt;then:&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;call function &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: #4da619;"&gt;'HR_INFOTYPE_OPERATION'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'MS Shell Dlg 2','sans-serif'; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'MS Shell Dlg 2','sans-serif'; color: black;"&gt;Also, you have marked this question as “assumed answered”. Please then provide what solution worked for you, this way we can all learn on this forum. Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 07:37:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-infotype-operation-error/m-p/2906516#M683756</guid>
      <dc:creator>former_member201275</dc:creator>
      <dc:date>2014-12-03T07:37:57Z</dc:date>
    </item>
  </channel>
</rss>

