<?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_ECM_INSERT_INFOTYPE produces runtime error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-ecm-insert-infotype-produces-runtime-error/m-p/4528701#M1070353</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The FM HR_INFOTYPE_OPERATION  bombs with either &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CX_HRPA_INVALID_PARAMETER or &lt;/P&gt;&lt;P&gt;CX_HRPA_VIOLATED_ASSERTION or&lt;/P&gt;&lt;P&gt;CX_SY_REF_IS_INITIAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that I am not providing some pertinent information&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; CALL FUNCTION 'HR_INFOTYPE_OPERATION'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     infty         = c_infotype_0008&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     number        = p0759-pernr&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     validityend   = w_rec_it0008-endda&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     validitybegin = w_rec_it0008-begda&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     record        = w_rec_it0008&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     operation     = c_actio_ins&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     return        = w_return&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     key           = w_infty_key.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and that is why it bombs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Daniel A. La Mendola&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Oct 2008 19:47:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-07T19:47:23Z</dc:date>
    <item>
      <title>HR_ECM_INSERT_INFOTYPE produces runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-ecm-insert-infotype-produces-runtime-error/m-p/4528698#M1070350</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;     Good Afternoon. I have been trying to us the FM HR_ECM_INSERT_INFOTYPE or the FM HR_INFOTYPE_OPERATION&lt;/P&gt;&lt;P&gt;and I am receiving runtime errors such as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CX_HRPA_VIOLATED_ASSERTION or &lt;/P&gt;&lt;P&gt;CX_SY_REF_IS_INITIAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it seems that the message handler is not functioning as I have expected it to function. I have tried to enqueue the pernr prior to this code, but that doesn't help either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'HR_ECM_READ_INFOTYPE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      pernr           = p_pernr&lt;/P&gt;&lt;P&gt;      infty           = '0002'&lt;/P&gt;&lt;P&gt;      message_handler = message_handler&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      infotype_tab    = p0002_tab&lt;/P&gt;&lt;P&gt;      is_ok           = is_ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CHECK is_ok EQ true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SORT p0002_tab DESCENDING.&lt;/P&gt;&lt;P&gt;  READ TABLE p0002_tab INTO w_p0002 INDEX 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE sy-datum TO w_p0002-aedtm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'HR_ECM_INSERT_INFOTYPE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      pnnnn           = w_p0002&lt;/P&gt;&lt;P&gt;      message_handler = message_handler&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      is_ok           = is_ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CHECK is_ok EQ true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Daniel A. La Mendola&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 19:18:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-ecm-insert-infotype-produces-runtime-error/m-p/4528698#M1070350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T19:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: HR_ECM_INSERT_INFOTYPE produces runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-ecm-insert-infotype-produces-runtime-error/m-p/4528699#M1070351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not very familiar with the function which you are using .&lt;/P&gt;&lt;P&gt;what problem you are facing with the function HR_INFOTYPE_OPERATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think you will have the problem with this function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 19:29:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-ecm-insert-infotype-produces-runtime-error/m-p/4528699#M1070351</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T19:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: HR_ECM_INSERT_INFOTYPE produces runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-ecm-insert-infotype-produces-runtime-error/m-p/4528700#M1070352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of this FM 'HR_ECM_READ_INFOTYPE' use HR_READ_INFOTYPE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 19:37:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-ecm-insert-infotype-produces-runtime-error/m-p/4528700#M1070352</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2008-10-07T19:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: HR_ECM_INSERT_INFOTYPE produces runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-ecm-insert-infotype-produces-runtime-error/m-p/4528701#M1070353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The FM HR_INFOTYPE_OPERATION  bombs with either &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CX_HRPA_INVALID_PARAMETER or &lt;/P&gt;&lt;P&gt;CX_HRPA_VIOLATED_ASSERTION or&lt;/P&gt;&lt;P&gt;CX_SY_REF_IS_INITIAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that I am not providing some pertinent information&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; CALL FUNCTION 'HR_INFOTYPE_OPERATION'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     infty         = c_infotype_0008&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     number        = p0759-pernr&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     validityend   = w_rec_it0008-endda&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     validitybegin = w_rec_it0008-begda&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     record        = w_rec_it0008&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     operation     = c_actio_ins&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     return        = w_return&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     key           = w_infty_key.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and that is why it bombs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Daniel A. La Mendola&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 19:47:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-ecm-insert-infotype-produces-runtime-error/m-p/4528701#M1070353</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T19:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: HR_ECM_INSERT_INFOTYPE produces runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-ecm-insert-infotype-produces-runtime-error/m-p/4528702#M1070354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how you define w_rec_it0008 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and are you able to do the same operation using PA30 transaction. check it once.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 21:44:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-ecm-insert-infotype-produces-runtime-error/m-p/4528702#M1070354</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T21:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: HR_ECM_INSERT_INFOTYPE produces runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-ecm-insert-infotype-produces-runtime-error/m-p/4528703#M1070355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you are passing duplicate pernr or blank entry of pernr to 'HR_ECM_READ_INFOTYPE' ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 06:26:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-ecm-insert-infotype-produces-runtime-error/m-p/4528703#M1070355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-08T06:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: HR_ECM_INSERT_INFOTYPE produces runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-ecm-insert-infotype-produces-runtime-error/m-p/4528704#M1070356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have reviewed all of the data going into the FM and it appears to be correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 21:42:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-ecm-insert-infotype-produces-runtime-error/m-p/4528704#M1070356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-08T21:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: HR_ECM_INSERT_INFOTYPE produces runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-ecm-insert-infotype-produces-runtime-error/m-p/4528705#M1070357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is type p0008&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 21:43:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-ecm-insert-infotype-produces-runtime-error/m-p/4528705#M1070357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-08T21:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: HR_ECM_INSERT_INFOTYPE produces runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-ecm-insert-infotype-produces-runtime-error/m-p/4528706#M1070358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post the code using the function HR_INFOTYPE_OPERATION .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are you authorized to create any HR infotype records&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2008 02:19:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-ecm-insert-infotype-produces-runtime-error/m-p/4528706#M1070358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-09T02:19:42Z</dc:date>
    </item>
  </channel>
</rss>

