<?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: Getting error while Updating Infotype 0377 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-while-updating-infotype-0377/m-p/8624089#M1664195</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using the function module 'HR_INFOTYPE_OPERATION' but now i am getting dump. please find the dump description below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Category               ABAP Programming Error&lt;/P&gt;&lt;P&gt;Runtime Errors         UNCAUGHT_EXCEPTION&lt;/P&gt;&lt;P&gt;Except.                CX_HRPA_INVALID_PARAMETER&lt;/P&gt;&lt;P&gt;ABAP Program           SAPFP50P&lt;/P&gt;&lt;P&gt;Application Component  PA-PA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to resolve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arpita.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2012 09:36:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-03-01T09:36:42Z</dc:date>
    <item>
      <title>Getting error while Updating Infotype 0377</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-while-updating-infotype-0377/m-p/8624087#M1664193</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 am using FM 'HR_ECM_INSERT_INFOTYPE' for updating data from an excel file in infotype 0377 but i am getting this error 'Entry   VSEL   does not exist in T5UBA (check entry)'. This is coming due to the foreign key validation on the fields BPLAN &amp;amp; LEVL1. So the records are not getting updated in the infotype. But when i am trying to create a record with same data manually through PA30 its getting created. Can you please tell me which FM is being used for infotype updation in PA30. If i use the same FM, may be my issue gets resolved.Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arpita.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 10:49:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-while-updating-infotype-0377/m-p/8624087#M1664193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-29T10:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while Updating Infotype 0377</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-while-updating-infotype-0377/m-p/8624088#M1664194</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;The FM usually used to maintained PA infotypes is HR_INFOTYPE_OPERATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Manu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 14:22:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-while-updating-infotype-0377/m-p/8624088#M1664194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-29T14:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while Updating Infotype 0377</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-while-updating-infotype-0377/m-p/8624089#M1664195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using the function module 'HR_INFOTYPE_OPERATION' but now i am getting dump. please find the dump description below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Category               ABAP Programming Error&lt;/P&gt;&lt;P&gt;Runtime Errors         UNCAUGHT_EXCEPTION&lt;/P&gt;&lt;P&gt;Except.                CX_HRPA_INVALID_PARAMETER&lt;/P&gt;&lt;P&gt;ABAP Program           SAPFP50P&lt;/P&gt;&lt;P&gt;Application Component  PA-PA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to resolve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arpita.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 09:36:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-while-updating-infotype-0377/m-p/8624089#M1664195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-01T09:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while Updating Infotype 0377</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-while-updating-infotype-0377/m-p/8624090#M1664196</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;Hard to say without a bit of code &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can you paste the call to the FM over here (with how you populate the structure passed to parameter RECORD)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A couple of question first: &lt;/P&gt;&lt;P&gt;Have you call FMs for enqueuing and dequeuing the employee before and after the update?&lt;/P&gt;&lt;P&gt;Is the infotype 171 (General Benefit Info.) correctly maintained for that employee?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;Manu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 10:00:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-while-updating-infotype-0377/m-p/8624090#M1664196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-01T10:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while Updating Infotype 0377</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-while-updating-infotype-0377/m-p/8624091#M1664197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check the values being passed to the FM.&lt;/P&gt;&lt;P&gt;Also there are several threads on sdn for the same dump.Please go through them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1505513"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 10:20:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-while-updating-infotype-0377/m-p/8624091#M1664197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-01T10:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while Updating Infotype 0377</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-while-updating-infotype-0377/m-p/8624092#M1664198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find the code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; CREATE OBJECT v_message_handler.
    CLEAR: v_is_ok.
    CALL FUNCTION 'HR_ECM_INITIALIZE_BUFFER'
      EXPORTING
        message_handler = v_message_handler.
    CALL FUNCTION 'HR_ECM_ENQUEUE_PERNR'
      EXPORTING
        pernr           = wa_p0377-pernr
        message_handler = v_message_handler
      IMPORTING
        is_ok           = v_is_ok.
    CLEAR v_error_mssg.
    IF v_is_ok IS INITIAL.
      PERFORM get_error_msg USING v_message_handler
                                  wa_p0377-pernr
                            CHANGING v_error_mssg.
      v_tot_err = v_tot_err + 1.
    ELSE.


*      CALL FUNCTION 'HR_ECM_INSERT_INFOTYPE'
*        EXPORTING
*          pnnnn           = wa_p0377
*          message_handler = v_message_handler
*        IMPORTING
*          is_ok           = v_is_ok.
*
*      IF  v_is_ok IS INITIAL.
*        PERFORM get_error_msg USING v_message_handler
*                                    wa_p0377-pernr
*                              CHANGING v_error_mssg.
*        v_tot_err = v_tot_err + 1.
*      ELSE.
*        v_tot_suc = v_tot_suc + 1.
*        CLEAR wa_error.
*        wa_error-cnt = '1'.
*        wa_error-pernr = wa_p0377-pernr.
*        wa_error-desc = 'Data Successfully Uploaded'.
*        APPEND wa_error TO i_error.
*      ENDIF.

      CALL FUNCTION 'HR_INFOTYPE_OPERATION'
        EXPORTING
          infty            = '0377'
          number           = wa_p0377-pernr
*         SUBTYPE          =
*         OBJECTID         =
*         LOCKINDICATOR    =
          validityend      = wa_p0377-endda
          validitybegin    = wa_p0377-begda
*         RECORDNUMBER     =
          record           = wa_p0377
          operation        = 'INS'
*         TCLAS            = 'A'
*         DIALOG_MODE      = '0'
*         NOCOMMIT         =
*         VIEW_IDENTIFIER  =
*         SECONDARY_RECORD =
        IMPORTING
          return           = v_return
          key              = wa_perdatakey
        EXCEPTIONS
          OTHERS           = 0.

      IF sy-subrc = 0.
        "Success
      ENDIF.

      IF v_error_mssg IS INITIAL.
        CALL FUNCTION 'HR_ECM_FLUSH_INFOTYPE'
          EXPORTING
            nocommit        = ' '
            message_handler = v_message_handler.
      ENDIF.
      CLEAR v_is_ok.
      CALL FUNCTION 'HR_ECM_DEQUEUE_PERNR'
        EXPORTING
          pernr           = wa_p0377-pernr
          message_handler = v_message_handler
        IMPORTING
          is_ok           = v_is_ok.
    ENDIF.
    CLEAR wa_p0377.
  ENDLOOP.
  FREE i_it0377.           "Clearing the internal table
ENDFORM.                    " SELECT_UPLOAD_DATA &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually in this program i am fetching values from an excel file &amp;amp; updating them into IT0377.Yes the IT171 is maintained for those employees. CAn you please guide me as how to resolve this issue? If need more info, pls let me know.Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2012 04:03:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-while-updating-infotype-0377/m-p/8624092#M1664198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-05T04:03:19Z</dc:date>
    </item>
  </channel>
</rss>

