<?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: Not modfying ithe infotype while using FM HR_INFOTYPE_OPERATION in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-modfying-ithe-infotype-while-using-fm-hr-infotype-operation/m-p/5565133#M1269633</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try by adding the BAPI TRANSACTION COMMIT function module after the operation FM..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 May 2009 10:29:18 GMT</pubDate>
    <dc:creator>former_member242255</dc:creator>
    <dc:date>2009-05-18T10:29:18Z</dc:date>
    <item>
      <title>Not modfying ithe infotype while using FM HR_INFOTYPE_OPERATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-modfying-ithe-infotype-while-using-fm-hr-infotype-operation/m-p/5565132#M1269632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i am using this FM HR_INFOTYPE_OPERATION its not modifying the infotype 14.Can you please suggest me. Please see my below code. Can please let me know if i am wrong..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form INSERT_DATA_0014 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    loop at pa_0014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     number        = pa_0014-pernr&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    RETURN        = it_return.&lt;/P&gt;&lt;P&gt;           .&lt;/P&gt;&lt;P&gt;IF it_return-id EQ 'E'.&lt;/P&gt;&lt;P&gt;  WRITE: / v_pernr, 'Enqueue failed'.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;    write: 'successfully locked'.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HR_INFOTYPE_OPERATION'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    infty                  = '0014'&lt;/P&gt;&lt;P&gt;    number                 = pa_0014-pernr&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SUBTYPE                = pa_0014-SUBTY&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; OBJECTID               = pa_0014-OBJPS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  LOCKINDICATOR          = pa_0014-SPRPS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   VALIDITYEND            = pa_0014-begda&lt;/P&gt;&lt;P&gt;   VALIDITYBEGIN          = pa_0014-endda&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  RECORDNUMBER           = pa_0014-SEQNR&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    record                 = pa_0014&lt;/P&gt;&lt;P&gt;    operation              = 'MOD'&lt;/P&gt;&lt;P&gt; TCLAS                  = 'A'&lt;/P&gt;&lt;P&gt;   DIALOG_MODE            = '0'&lt;/P&gt;&lt;P&gt;   NOCOMMIT               = ''&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VIEW_IDENTIFIER        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SECONDARY_RECORD       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   RETURN                 = l_bapireturn&lt;/P&gt;&lt;P&gt;   KEY                    = bapipakey_tab&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF l_bapireturn-id NE space.&lt;/P&gt;&lt;P&gt;  WRITE: / v_pernr, 'error'.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    WRITE: /'SUCCESSFULLY INSERTED'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    number        = v_pernr&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   RETURN        = l_bapireturn&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IF l_bapireturn-id NE space.&lt;/P&gt;&lt;P&gt;   WRITE: / v_pernr, 'Enqueue failed'.&lt;/P&gt;&lt;P&gt;   else.&lt;/P&gt;&lt;P&gt;     write: /'record successfully modified'.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.     &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;Munna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 10:27:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-modfying-ithe-infotype-while-using-fm-hr-infotype-operation/m-p/5565132#M1269632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T10:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Not modfying ithe infotype while using FM HR_INFOTYPE_OPERATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-modfying-ithe-infotype-while-using-fm-hr-infotype-operation/m-p/5565133#M1269633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try by adding the BAPI TRANSACTION COMMIT function module after the operation FM..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 10:29:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-modfying-ithe-infotype-while-using-fm-hr-infotype-operation/m-p/5565133#M1269633</guid>
      <dc:creator>former_member242255</dc:creator>
      <dc:date>2009-05-18T10:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Not modfying ithe infotype while using FM HR_INFOTYPE_OPERATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-modfying-ithe-infotype-while-using-fm-hr-infotype-operation/m-p/5565134#M1269634</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 the importing return parameter after the function module in debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using dialog mode '1', so that you can understand what exactly is happening and then change the dialog mode to '0'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 11:07:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-modfying-ithe-infotype-while-using-fm-hr-infotype-operation/m-p/5565134#M1269634</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2009-05-18T11:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Not modfying ithe infotype while using FM HR_INFOTYPE_OPERATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-modfying-ithe-infotype-while-using-fm-hr-infotype-operation/m-p/5565135#M1269635</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 the entire return internal table I_BAPIRETURN of FM HR_INFOTYPE_OPERATION what it has got to say ( a error message will be there which will tell where is the problem ). If it is initial then check the table PA0014 if the record has been modified. If its still not modified then check if at all it can be manually by PA30. If it doesnt get modified even manually then this is some configuration related issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 11:56:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-modfying-ithe-infotype-while-using-fm-hr-infotype-operation/m-p/5565135#M1269635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T11:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Not modfying ithe infotype while using FM HR_INFOTYPE_OPERATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-modfying-ithe-infotype-while-using-fm-hr-infotype-operation/m-p/5565136#M1269636</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 check following in your code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Start and end dates are set wrongly. They are swapped. &lt;/P&gt;&lt;P&gt;2. If the record is successfully locked, only then call the info type opeartion FM. So, it should be in &lt;/P&gt;&lt;P&gt;   your else part.&lt;/P&gt;&lt;P&gt;3. Pass lock indicator as space&lt;/P&gt;&lt;P&gt;4. Pass nocommit indicator as space&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;SKJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 14:36:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-modfying-ithe-infotype-while-using-fm-hr-infotype-operation/m-p/5565136#M1269636</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T14:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Not modfying ithe infotype while using FM HR_INFOTYPE_OPERATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-modfying-ithe-infotype-while-using-fm-hr-infotype-operation/m-p/5565137#M1269637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check  l_bapireturn contents and problem will be solved. I think you have some config Issue in T511 table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 18:24:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-modfying-ithe-infotype-while-using-fm-hr-infotype-operation/m-p/5565137#M1269637</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T18:24:45Z</dc:date>
    </item>
  </channel>
</rss>

