<?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_MAINTIAN_MASTERDATA in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313984#M1225169</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 program RPUTRBK0 to update IT0003 status, any field in IT0003 can be updated very easily. &lt;/P&gt;&lt;P&gt;go to SE38-&amp;gt;RPUTRBK0-&amp;gt;excute , fill in fields as required to update IT0003. &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;Baabu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Feb 2011 11:33:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-02-09T11:33:54Z</dc:date>
    <item>
      <title>HR_MAINTIAN_MASTERDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313970#M1225155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using Fm HR_MAINTAIN_MASTERDATA to create new hire.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get an error stating that IT0003 is not creating&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any workaround to avoid this error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its working when i create infotypes 0000 and 0002 in one go and then if i create 0001 new employee is created,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But want to create 0000,0001 and 0002 at one go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error iam getting is ' No data available for A 00069949 0003'&lt;/P&gt;&lt;P&gt;where 00069949 is pernr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 11:17:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313970#M1225155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-02T11:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: HR_MAINTIAN_MASTERDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313971#M1225156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you resplve this I am getting the same error !! .. any info you could give would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Damien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 14:03:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313971#M1225156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-17T14:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: HR_MAINTIAN_MASTERDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313972#M1225157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vijaya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you are getting this error because IT 0003 is maintained by the systm itself,we cannot maintain the infotype 0003. for better results you can make use of LSMW.Hoping that you are creating the employess for the first time..!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;KK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 14:09:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313972#M1225157</guid>
      <dc:creator>KK07</dc:creator>
      <dc:date>2009-04-17T14:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: HR_MAINTIAN_MASTERDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313973#M1225158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did U try creating the record by changing the order of Infotypes ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PA0000 , PA0002 , PA0001  .. when passing data to HR_MAINTAIN_MASTERDATA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 14:09:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313973#M1225158</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-17T14:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: HR_MAINTIAN_MASTERDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313974#M1225159</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;The input to this FM is pernr, so if the pernr is not yet generated then we can not use it. I think its only used for fast upload where employee no is already existing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We should use LSMW for employee create.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br/Manas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 14:31:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313974#M1225159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-17T14:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: HR_MAINTIAN_MASTERDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313975#M1225160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@ Srini Vas   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I tried the order suggested and no joy .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@ Manas &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works for inro types 0000 and 0002 without pernr provided only when tyying to also do 0001 it fails with the message outlined in the original post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One point to note when creating 0000 and 0002. using the FM HR_MAINTAIN_MASTERDATA. It does generate the pernr. It also populates the infotypes 0000 and 0002 that can be viewed through transaction pa20. But if I click the "Assignment Overview" button for the Employee I see there was an exception raised:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Errors         UNCAUGHT_EXCEPTION&lt;/P&gt;&lt;P&gt;Except.                CX_HRPA_MISSING_PERSONID&lt;/P&gt;&lt;P&gt;Date and Time          17.04.2009 16:34:49&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Short text&lt;/P&gt;&lt;P&gt;     An exception occurred that was not caught.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; What happened?&lt;/P&gt;&lt;P&gt;     The exception 'CX_HRPA_MISSING_PERSONID' was raised, but it was not caught&lt;/P&gt;&lt;P&gt;      anywhere along&lt;/P&gt;&lt;P&gt;     the call hierarchy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Since exceptions represent error situations and this error was not&lt;/P&gt;&lt;P&gt;     adequately responded to, the running ABAP program&lt;/P&gt;&lt;P&gt;      'CL_HRCCE_PERSON_READER========CP' has to be&lt;/P&gt;&lt;P&gt;     terminated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Error analysis&lt;/P&gt;&lt;P&gt;     An exception occurred that is explained in detail below.&lt;/P&gt;&lt;P&gt;     The exception, which is assigned to class 'CX_HRPA_MISSING_PERSONID', was not&lt;/P&gt;&lt;P&gt;      caught in&lt;/P&gt;&lt;P&gt;     procedure "OVERVIEW_CE" "(FORM)", nor was it propagated by a RAISING clause.&lt;/P&gt;&lt;P&gt;     Since the caller of the procedure could not have anticipated that the&lt;/P&gt;&lt;P&gt;     exception would occur, the current program is terminated.&lt;/P&gt;&lt;P&gt;     The reason for the exception is:&lt;/P&gt;&lt;P&gt;     Technical Person ID (CP) Missing for Personnel Number 06000386&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Missing RAISING Clause in Interface&lt;/P&gt;&lt;P&gt;     Program                                 SAPMP50A_CE&lt;/P&gt;&lt;P&gt;     Include                                 SAPMP50A_CE&lt;/P&gt;&lt;P&gt;     Row                                     403&lt;/P&gt;&lt;P&gt;     Module type                             (FORM)&lt;/P&gt;&lt;P&gt;     Module Name                             OVERVIEW_CE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Trigger Location of Exception&lt;/P&gt;&lt;P&gt;     Program                                 CL_HRCCE_PERSON_READER========CP&lt;/P&gt;&lt;P&gt;     Include                                 CL_HRCCE_PERSON_READER========CM004&lt;/P&gt;&lt;P&gt;     Row                                     26&lt;/P&gt;&lt;P&gt;     Module type                             (METHOD)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source Code Extract&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line  SourceCde&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    1 METHOD get_personid.&lt;/P&gt;&lt;P&gt;    2&lt;/P&gt;&lt;P&gt;    3   DATA personid_pernr TYPE personid_pernr.&lt;/P&gt;&lt;P&gt;    4   DATA hrpersonee     TYPE hrpersonee_s.&lt;/P&gt;&lt;P&gt;    5&lt;/P&gt;&lt;P&gt;    6&lt;/P&gt;&lt;P&gt;    7   READ TABLE a_personid_by_pernr_tab INTO personid_pernr&lt;/P&gt;&lt;P&gt;    8     WITH TABLE KEY pernr = p_pernr.&lt;/P&gt;&lt;P&gt;    9&lt;/P&gt;&lt;P&gt;   10   IF sy-subrc IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;   11     IF lines( a_personid_by_pernr_tab ) &amp;gt;= c_max_buffer_size.&lt;/P&gt;&lt;P&gt;   12 *     ensure that buffer will not use up to much memory&lt;/P&gt;&lt;P&gt;   13 *     ensure that virtual relations are not lost&lt;/P&gt;&lt;P&gt;   14       a_personid_by_pernr_tab = a_saved_relations.&lt;/P&gt;&lt;P&gt;   15     ENDIF.&lt;/P&gt;&lt;P&gt;   16&lt;/P&gt;&lt;P&gt;   17&lt;/P&gt;&lt;P&gt;   18 *   entry not buffered --&amp;gt; fill buffer&lt;/P&gt;&lt;P&gt;   19     CALL FUNCTION 'HR_PERSONEE_GETPERSON'&lt;/P&gt;&lt;P&gt;   20       EXPORTING&lt;/P&gt;&lt;P&gt;   21         iv_employee_id    = p_pernr&lt;/P&gt;&lt;P&gt;   22         iv_with_authority = space&lt;/P&gt;&lt;P&gt;   23       IMPORTING&lt;/P&gt;&lt;P&gt;   24         es_hrpersonee     = hrpersonee.&lt;/P&gt;&lt;P&gt;   25     IF hrpersonee-personid IS INITIAL.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;       RAISE EXCEPTION TYPE cx_hrpa_missing_personid&lt;/P&gt;&lt;P&gt;   27          EXPORTING&lt;/P&gt;&lt;P&gt;   28           textid = cx_hrpa_missing_personid=&amp;gt;cx_hrpa_missing_perso&lt;/P&gt;&lt;P&gt;   29             tclas  = cl_hrpa_tclas=&amp;gt;tclas_employee&lt;/P&gt;&lt;P&gt;   30             pernr  = p_pernr.&lt;/P&gt;&lt;P&gt;   31     ENDIF.&lt;/P&gt;&lt;P&gt;   32&lt;/P&gt;&lt;P&gt;   33     personid_pernr-pernr    = p_pernr.&lt;/P&gt;&lt;P&gt;   34     personid_pernr-personid = hrpersonee-personid.&lt;/P&gt;&lt;P&gt;   35 *   do not fill other buffer table because we may be missing&lt;/P&gt;&lt;P&gt;   36 *   some entries&lt;/P&gt;&lt;P&gt;   37     INSERT personid_pernr INTO TABLE a_personid_by_pernr_tab.&lt;/P&gt;&lt;P&gt;   38   ENDIF.&lt;/P&gt;&lt;P&gt;   39&lt;/P&gt;&lt;P&gt;   40   p_personid = personid_pernr-personid.&lt;/P&gt;&lt;P&gt;   41 ENDMETHOD.                    "GET_PERSONID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;If anyone can help I will open a new thread to award points as I think I have taken over this thread !!&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Damien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 15:37:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313975#M1225160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-17T15:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: HR_MAINTIAN_MASTERDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313976#M1225161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In overview it checks if the pernr(P) exists in HRP1001 ... &lt;/P&gt;&lt;P&gt;If it does'n it raises this exception . ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 16:13:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313976#M1225161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-17T16:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: HR_MAINTIAN_MASTERDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313977#M1225162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srini ... Maybe a basic question but do u think this exception is related to the problem with the addition of the 0001 infotype ? Thanks Damien ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Apr 2009 13:46:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313977#M1225162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-19T13:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: HR_MAINTIAN_MASTERDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313978#M1225163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Damien,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The original post, posted by Vijaya, was as part of investigation i was also involved in.&lt;/P&gt;&lt;P&gt;We tried all possibilities, calling the FM by changing the order of infotypes 0000,0001,0002,0003 etc, nothing worked. in some of the order we tried, we had to call the FM twice.&lt;/P&gt;&lt;P&gt;first to generate the personnel number, and second, pass the newly generated personnel number and excute the same FM again this way infotype0003 was populated. but in reality its not a fesible approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 0003, is a secondary infotype,which automatically gets generated during the new hire process from GUI(pa40), same is not possible using this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what we finally did was to perform a screen recording of pa30 newhire process from tcode: SHDB, and then converting that recording into FM (from the menu options to convert the recording into FM).&lt;/P&gt;&lt;P&gt;This worked beautifully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however, there was one suggestion given by [Suresh Datti|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=t%2bxghz16eaf%2fa1mn%2fxxpmw%3d%3d]  to try the below option, which we dint get to try..maybe of some help to you..do check out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt; I guess the Infotype View Indicator(VIEKN) might be causing the error. You can try deleting the entry for the particular country in the feature IVWID.&lt;/P&gt;&lt;P&gt;I would also suggest you take a look at the function module RSM_PROCESS_ACTIONS that SAP uses for external hiring.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;~Suresh &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;hruser&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 11:22:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313978#M1225163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T11:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: HR_MAINTIAN_MASTERDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313979#M1225164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the info Hruser . I have done a BDC as suggested on transaction pa30. published this as an FM. Now in my interface in PI I have successfully used this in a synchronous interface for the creation of employees. I have opened thread:&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="1318097"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply and I will award points ! .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;damien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 12:58:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313979#M1225164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-23T12:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: HR_MAINTIAN_MASTERDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313980#M1225165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Damien,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I finally gave up using HR_MAINTAIN_MASTERDATA and HR_INFOTYPE_OPERATION to create new employee as I am updating 5 infotypes. I want to achieve the same thing but for my scenario, I will need to update the hidden field PERID from PA0002 as well using an uploaded excel file. Mind sharing some samples or giving me some tips on how to achieve this?Appreciate it alot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 05:57:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313980#M1225165</guid>
      <dc:creator>jjay</dc:creator>
      <dc:date>2011-02-08T05:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: HR_MAINTIAN_MASTERDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313981#M1225166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can this help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_HRMASTER_SAVE_REPL_MULT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regs,&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 06:07:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313981#M1225166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-08T06:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: HR_MAINTIAN_MASTERDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313982#M1225167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to the Documentation, it says it has restriction. Am yet to test this but isnt it replicating the HR data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"If your Human Resources Management System is linked by ALE to an Accounting System, you are advised for technical reasons not to use the BAPI because synchronous validation would lead to a COMMIT. This would prevent a ROLLBACK if a posting error occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If data is posted using the BAPI, ALE change pointers are not written."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 10:39:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313982#M1225167</guid>
      <dc:creator>jjay</dc:creator>
      <dc:date>2011-02-08T10:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: HR_MAINTIAN_MASTERDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313983#M1225168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harsh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any tips or sample code tht i can refer 2?Kinda need this solution urgently &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt; been holding on this for far too long...any advise?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 11:19:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313983#M1225168</guid>
      <dc:creator>jjay</dc:creator>
      <dc:date>2011-02-09T11:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: HR_MAINTIAN_MASTERDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313984#M1225169</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 program RPUTRBK0 to update IT0003 status, any field in IT0003 can be updated very easily. &lt;/P&gt;&lt;P&gt;go to SE38-&amp;gt;RPUTRBK0-&amp;gt;excute , fill in fields as required to update IT0003. &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;Baabu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 11:33:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313984#M1225169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-09T11:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: HR_MAINTIAN_MASTERDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313985#M1225170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neesha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since there are some restrictions to this BAPI, the gurus are suggesting not to use it. If you still want to go ahead with it, let me know. Will share some sample code with you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 17:33:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313985#M1225170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-09T17:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: HR_MAINTIAN_MASTERDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313986#M1225171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harsh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be of great help if you could share the source code for tht BAPI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2011 03:10:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313986#M1225171</guid>
      <dc:creator>jjay</dc:creator>
      <dc:date>2011-02-10T03:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: HR_MAINTIAN_MASTERDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313987#M1225172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;* This will be common for all Infotypes.
        W_BAPIHROBJ-PLAN_VER = C_01.
        W_BAPIHROBJ-OBJ_TYPE = C_P.
        W_BAPIHROBJ-OBJ_ID = W_INPUT-PERNR.
        W_BAPIHROBJ-PROOF = ''.
        W_BAPIHROBJ-OPERATOR = C_U.
        APPEND W_BAPIHROBJ TO T_BAPIHROBJ.
        CLEAR W_BAPIHROBJ.

        W_BAPIHRINF-PLAN_VER = C_01.
        W_BAPIHRINF-OBJ_TYPE = C_P.
        W_BAPIHRINF-OBJ_ID = W_INPUT-PERNR.
        W_BAPIHRINF-INFOTYPE = C_0000.
        CLEAR W_BAPIHRINF-SUBTYPE.
        W_BAPIHRINF-FROM_DATE = G_DT.
        W_BAPIHRINF-TO_DATE = W_FP-ENDDA.
        APPEND W_BAPIHRINF TO T_BAPIHRINF.
        CLEAR W_BAPIHRINF.

        W_BAPIHR0000-OBJ_ID = W_INPUT-PERNR.
        W_BAPIHR0000-INFOTYPE = C_0000.
        W_BAPIHR0000-TO_DATE = W_FP-ENDDA.
        W_BAPIHR0000-FROM_DATE = G_DT.
        W_BAPIHR0000-CHANGED_ON = SY-DATUM.
        W_BAPIHR0000-CHANGED_BY = SY-UNAME.
        W_BAPIHR0000-ACTION_TYPE = W_INPUT-ACTTYPE.
        W_BAPIHR0000-ACTION_REASON = C_01.
        IF W_INPUT-EMP_STAT = C_1.
          W_BAPIHR0000-EMPLOYMENT_STATUS = C_3.
        ELSEIF W_INPUT-EMP_STAT = C_2.
          W_BAPIHR0000-EMPLOYMENT_STATUS = C_1.
        ENDIF.
        APPEND W_BAPIHR0000 TO T_BAPIHR0000.
        CLEAR W_BAPIHR0000.

  W_BAPIHR0001-OBJ_ID = W_INPUT-PERNR.
  W_BAPIHR0001-INFOTYPE = C_0001.
  W_BAPIHR0001-TO_DATE = L_TODT.
  W_BAPIHR0001-FROM_DATE = L_FROMDT.
  W_BAPIHR0001-CHANGED_ON = SY-DATUM.
  W_BAPIHR0001-CHANGED_BY = SY-UNAME.
  W_BAPIHR0001-SORT_NAME = L_FULLNAME+0(29).
  W_BAPIHR0001-FORMATTED_NAME = L_FULLNAME+0(39).
  W_BAPIHR0001-POSITION = W_FP-PLANS.
*  w_bapihr0001-position = '00000000'.
  W_BAPIHR0001-PERSONNEL_SUBAREA = L_BUKRS. "w_input-bukrs.
  W_BAPIHR0001-PAYROLL_AREA = W_FP-ABKRS.
*  w_bapihr0001-payroll_area = c_99.
  IF L_MSTBR IS NOT INITIAL.
    W_BAPIHR0001-SUPERVISOR_AREA = L_MSTBR. "w_input-opr_mgr_locsys_id.
  ELSE.
    SORT T_PATAB BY PERNR.
    READ TABLE T_PATAB INTO W_PATAB WITH KEY PERNR = W_INPUT-FIRSTPORT_ID
                                             ENDDA = W_FP-ENDDA.
*                                             endda = '99991231'.
    IF SY-SUBRC = 0.
      W_BAPIHR0001-SUPERVISOR_AREA = W_PATAB-MSTBR.
    ENDIF.
  ENDIF.
  W_BAPIHR0001-PERS_AREA = L_BUKRS."w_input-bukrs.
  W_BAPIHR0001-EMPLOYEE_GROUP = W_FP-PERSG.
*  w_bapihr0001-employee_group = 'Z'.
  W_BAPIHR0001-EMPLOYEE_SUBGROUP = W_FP-PERSK.
*  w_bapihr0001-employee_subgroup = 'ZZ'.
  IF W_INPUT-BUKRS IS NOT INITIAL.
    W_BAPIHR0001-COMP_CODE = L_BUKRS. "w_input-bukrs.
  ENDIF.
*  w_bapihr0001-costcenter = l_kostl."w_input-kostl.
  APPEND W_BAPIHR0001 TO T_BAPIHR0001.
  CLEAR W_BAPIHR0001.

        CALL FUNCTION 'BAPI_HRMASTER_SAVE_REPL_MULT'
          TABLES
            HR_OBJECT_HEADER          = T_BAPIHROBJ
            HR_INFOTYPE_HEADER        = T_BAPIHRINF
            EMPLOYEE_PERSONNEL_ACTION = T_BAPIHR0000
  EMPLOYEE_organisational_assignment = T_BAPIHR0001

            RETURN                    = T_BAPIRET2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the sample code to for filling the 00 and 01 infotypes. You can add accordingly the infotypes you need. Let me know in case of any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2011 04:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintian-masterdata/m-p/5313987#M1225172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-10T04:42:45Z</dc:date>
    </item>
  </channel>
</rss>

