<?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: error using FM RH_INSERT_INFTY in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-fm-rh-insert-infty/m-p/6706900#M1453222</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try HR_INFOTYPE_OPERATION and HR_MAINTAIN_MASTERDATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fm you mentioned can be only used for Organizational management &amp;amp; PD Infotypes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Feb 2010 19:02:50 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2010-02-25T19:02:50Z</dc:date>
    <item>
      <title>error using FM RH_INSERT_INFTY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-fm-rh-insert-infty/m-p/6706899#M1453221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guy's &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im facing an issue while using FM RH_INSERT_INFTY to insert data in Infotype HRP1028 &lt;/P&gt;&lt;P&gt;its raising a exception "&lt;STRONG&gt;2-ERROR_DURING_INSERT&lt;/STRONG&gt; "&lt;/P&gt;&lt;P&gt;DATA : it_hrp1028 TYPE STANDARD TABLE OF HRP1028 INITIAL SIZE 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      it_hrp1028-PLVAR = '01'.&lt;/P&gt;&lt;P&gt;       it_hrp1028-otype = 'S'.&lt;/P&gt;&lt;P&gt;       it_hrp1028-objid = positionid.&lt;/P&gt;&lt;P&gt;       it_hrp1028-infty = '1028'.&lt;/P&gt;&lt;P&gt;       it_hrp1028-istat = '1'.&lt;/P&gt;&lt;P&gt;       it_hrp1028-begda = begda.&lt;/P&gt;&lt;P&gt;       it_hrp1028-endda = endda.&lt;/P&gt;&lt;P&gt;       it_hrp1028-build = build.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       APPEND it_hrp1028.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       CALL FUNCTION 'RH_INSERT_INFTY'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;           FCODE                     = 'INSE'&lt;/P&gt;&lt;P&gt;           VTASK                     = 'S'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         ORDER_FLG                 = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         COMMIT_FLG                = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         AUTHY                     = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         PPPAR_IMP                 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         OLD_TABNR                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         REPID                     = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         FORM                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         KEEP_LUPD                 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         WORKF_ACTV                = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         TABLES&lt;/P&gt;&lt;P&gt;           INNNN                     = it_hrp1028&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         ILFCODE                   =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          NO_AUTHORIZATION          = 1&lt;/P&gt;&lt;P&gt;          ERROR_DURING_INSERT       = 2&lt;/P&gt;&lt;P&gt;          REPID_FORM_INITIAL        = 3&lt;/P&gt;&lt;P&gt;          CORR_EXIT                 = 4&lt;/P&gt;&lt;P&gt;          BEGDA_GREATER_ENDDA       = 5&lt;/P&gt;&lt;P&gt;          OTHERS                    = 6&lt;/P&gt;&lt;P&gt;                 .&lt;/P&gt;&lt;P&gt;       IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'RH_UPDATE_DATABASE'&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;P&gt;              vtask     = 'S'&lt;/P&gt;&lt;P&gt;            EXCEPTIONS&lt;/P&gt;&lt;P&gt;              corr_exit = 1&lt;/P&gt;&lt;P&gt;              OTHERS    = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 18:29:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-fm-rh-insert-infty/m-p/6706899#M1453221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-25T18:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: error using FM RH_INSERT_INFTY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-fm-rh-insert-infty/m-p/6706900#M1453222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try HR_INFOTYPE_OPERATION and HR_MAINTAIN_MASTERDATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fm you mentioned can be only used for Organizational management &amp;amp; PD Infotypes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 19:02:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-fm-rh-insert-infty/m-p/6706900#M1453222</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-02-25T19:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: error using FM RH_INSERT_INFTY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-fm-rh-insert-infty/m-p/6706901#M1453223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if T777Z and T777D has value for the entered infotype.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 19:09:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-fm-rh-insert-infty/m-p/6706901#M1453223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-25T19:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: error using FM RH_INSERT_INFTY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-fm-rh-insert-infty/m-p/6706902#M1453224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you solve this issue? I am facing a similar problem with FM RH_INSERT_INFTY, it's also raising a exception "2-ERROR_DURING_INSERT". In my case, i'm trying to insert a new record for the infotype 1028 but not as a position (S), im trying to insert the record as object type 'O'. So, in this case I don't have the field hrp1028-build. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 May 2010 00:08:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-fm-rh-insert-infty/m-p/6706902#M1453224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-26T00:08:12Z</dc:date>
    </item>
  </channel>
</rss>

