FM for Hiring: HR_PAD_HIRE_EMPLOYEE

Good day,
  I need to process a hiring action in background. I found out this FM called HR_PAD_HIRE_EMPLOYEE which I could use. The problem here is that I keep on getting a dump whenever I tried testing it. The exception is CX_HRPA_INVALID_PARAMETER.
  This is my first time using this FM and I would really appreciate if you could give me a working sample program. Thank you.
Regards,
Chris

Hi ravi sr,
  Thanks for the answer. I have investigated and studied the exception error. This was related to a failed process when the FM called class CL_HRPA_INFTY_0001->INSERT. This class uses CL_HRPA_FEATURE=>GET_VALUE to get the SMBOD data for the current P0001 data (the one included in parameter PNNNN_TAB of the HR_PAD_HIRE_EMPLOYEE FM).
  I'm not quite sure but is there a required configuration for features before this FM can be used correctly? Also, I need to know the following:
1. What are the REQUIRED infotypes to make this FM work? All I know is IT0000, 0001 and 0002.
2. What fields are needed/required for each infotype?
3. Is there a configuration requirement for this FM to work? Since its using features to map field values.
Hi Anand,
  I believe this is not part of the standard release. You need to request this FM from SAP.

Similar Messages

  • Report for Hiring Action Along with BASIC Pay

    Dear
    I have created a BDC for hiring action for which data is updated in infotypes 0,1,2,6,7,8,9,14,15,16,41,105,587,588 mentioned in the infogroup.
    Earlier we are  not creating entries in 0008 now we need to BASIC PAY  in the hring Action.
    What should be the best apporch.
    Either we create perner by giving infotype values 0,1,2. and put this values in internal table and then update other infotypes.
                     OR
    In a single fo we provide all the data related to infotypes by using PA40.
    Now record need to be created of few of additonal infotypes which is not part of hiring action infogroup like 19,21,22,23,185.
    Thanks & Regards,
    Ravi

    Thanks for your valueable comment.
    AS hiring action it is must to input values of infotype 0,1,2.
    So acccording to you firstly, i need to hire a person through bdc.
    So for next infotypes i need to do by PA30. But for this i need pernr which i created in first step.
    how it is possible to  get perner created and then go for one by one infotypes sepratley.
    Rav Jordan
    Edited by: Rav Jordan on Dec 14, 2011 7:15 AM

  • HR_MAINTAIN_MASTERDATA or BDC for Hiring action

    Hi,
    I would like to know which is a better process for hiring an employee: HR_MAINTAIN_MASTERDATA or BDC.
    Also,
    please let me know the disadvantages of using HR_MAINTAIN_MASTERDATA for this.

    Hi Dude,
    Better go for FM only Insted of BDC..
    REPORT  ZD.
    data:   person_info like PPROP occurs 0 WITH HEADER LINE,
            msg_result  like BAPIRETURN1,
            hr_return   like HRHRMM_MSG.
    person_info-infty = '00298'.
    person_info-fname = 'P0298-MASSG'.
    person_info-fval  = '01'.
    append person_info.
    person_info-infty = '0298'.
    person_info-fname = 'P0298-ORDNU'. 
    person_info-fval  = 'Ô-12345678'.
    append person_info.
    person_info-infty = '0298'.
    person_info-fname = 'P0298-ORDDT'. 
    person_info-fval  = '20070102'.
    append person_info.
    person_info-infty = '0298'.
    person_info-fname = 'P0298-LOCAT'. 
    person_info-fval  = '1'.
    append person_info.
    person_info-infty = '0298'.
    person_info-fname = 'P0298-REMAR'.
    person_info-fval  = 'xyz'.
    append person_info.
    person_info-infty = '0298'.
    person_info-fname = 'P0298-ORDST'.
    person_info-fval  = ''.
    append person_info.
    person_info-infty = '0298'.
    person_info-fname = 'P0298-ACQDT'.
    person_info-fval  = '20071107'.
    append person_info.
    CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
    EXPORTING
        PERNR                    = '00000012'
        MASSN                   = '01'
        ACTIO                    = 'MOD'
        TCLAS                    = 'A'
        BEGDA                   = '20050201'
        ENDDA                   = '20050201'
    *   OBJPS                   =
    *   SEQNR                   =
    *   SPRPS                   =
        SUBTY                    = '0011'
        WERKS                   = 'UA01'
    *   PERSG                   =
    *   PERSK                   =
    *   PLANS                    =
        DIALOG_MODE        = '0'
        LUW_MODE             = '1'
    *   NO_EXISTENCE_CHECK   = ' '
    *   NO_ENQUEUE                  = ' '
    IMPORTING
    *   RETURN                 =
        RETURN1                = msg_result
        HR_RETURN            = HR_RETURN
    TABLES
        PROPOSED_VALUES  = person_info
    *   MODIFIED_KEYS      =
    MESSAGE msg_result TYPE 'I'.
    MESSAGE HR_RETURN  TYPE 'I'.
    exit.

  • HR_MAINTAIN_MASTERDATA for hiring employees

    Hi,
    I am trying to use HR_MAINTAIN_MASTERDATA for hiring employees and creating a list of infotypes. I have tried with a number of infotypes as well as with just 0000, 0001 and 0002.
    I am using 'DIALOG_MODE = 2' to see the steps as the function module progresses, I keep getting this error about Infotype 169. After creating IT0000, proceeds to IT0001 and then straight to IT0169 even though I do not have it on PROPOSEDVALUES. When it hits 169, I get the error saying the Infotype 171 cannot be read for Pernr xxxxxxxx on mm/dd/yyyy (begin date).
    I do not face this problem when I manually go through PA40. I have tried various combinations and still get the same issue.
    If you have any ideas, I would greatly appreciate those.
    Thanks,
    Jay Viswanathan

    Hi Mr. A,
    I have Action = 'INS' which is the default value (same as not sending any value).
    Normal hiring process takes me through 0000, 0001, 0002 etc .. however the function module stops at 169 before going to 0002.
    Thats whats confusing.
    Thanks,
    Jay

  • LSMW for hiring is not picking the next pernr

    Hello Friends,
    I have prepared an LSMW for hiring via PA40 and for the same i have created an action type with just 4 ITs in it.
    the problem is it is working fine for single employee but whn i try to test it for a sequence of employee then it is throwing error.
    The old pernr is saved and system is not able to take the new pernr in sequence. I have also tried to default 0000000 as pernr in recording but still the same issue.
    I am unable to run this LSMW and i have almost 150 employees data to upload.
    Please suggest.

    Does your recording have the pernr field pre-populated?
    Keep this field blank.

  • BDC  for  Hiring a Employee through hiring action

    Hi Experts,
    We have done BDC for hiring action.
    We do have PA & OM integrated. T77S0 PLOGI ORGA "X".
    After hiring is compelted through BDC holder relationship is not appearing for position.
    But when we are individually hiring an employee, position is assigned to a holder.
    Please advice.
    Regards,
    IFF

    Hi,
    During BDC, the integration PA-OM is not processed... you have to run RHINTE00 report.
    Kr,
    m.

  • Prepare for hiring

    hi,
    When I execute the action prepare for hiring it is not updating pa30 screen automatically.
    Can you please tell me what necessary configuration to do ?

    all actions shd be done in PA40
    check the below tables for configureint the personloa actions
    VV_T588C_G_ALO  user gropu dependency
    T588D         info group
    V_T529A    personnel action
    V_T530     reasons for action
    VV_T588C_M_ALA  user depoendency
    V_T588BM     action menu

  • Regarding an error in Dynamic action for hiring

    Hi Experts,
    when i perform a hiring action"AA" for action type "02" or "01" using a dynamic action .it is throwiing an error.
    " perform not found" "CX_SY_DYN_CALL_ILLEGAL_FORM"
    "MP000000" OR " MPPERS00"
    "MEASURE"
    please let me know how to proceed .
    regards
    Vishnu

    Hi Vishnu,
    this might just give you a clue and as suggested by our mate,you may need to debug it and see the code.
    PERFORM_NOT_FOUND short dump
    http://help.sap.com/abapdocu_70/en/ABAPPERFORM_GENERAL.htm
    No Worries
    KG
    Edited by: SAPenjoy:) on Sep 6, 2010 8:44 AM

  • Error while using pa40 for hiring an applicant

    Hi
    I am trying to hire an applicant using pa40 transaction code
    But it gives me an error "NO ACTIVITIES FOUND". ( The applicant has overall status as "to be hired" and action type as "cleared interview" which is created)
    However, when I go to Transaction code PB30  and change the applicant action type ( with  overall status as" to be hired"), it works
    Can someone explain to me why this is so?
    Is there some connection between applicant action type  and overall  status and pa40?
    Regards
    Jean

    Hi Jean,
    Try the same thing through t code PBA7 and check what the exact error you are geting, but make sure that b4 running this tcode your applicant action status shud be 2 (to be hired).
    If your are trying to do the same through tcode PA40 then make sure that in table T529A go through sm30 for the same action Function character should be 7.
    Hope this helps you.
    Regards,
    Prashantkumar Tata

  • HR : FM for Hiring action

    Hi all,
    I want to create an employee master data(a hiring action).
    Please let me know  is there any FM avail for the same(creation of Pernr).
    thank u.

    Hi Amit,
    Thanks for ur reply.
    This FM requires Pernr as Input, But my req is i want to create a personnel No.
    pernr  must be exported..
    plz guide me reg this.
    ur helpful answers will be rewarded.
    thank u

  • How to configure PA48 for hiring/rehiring from third party applicant system

    Hi,
    We are building the interface between SAP and third party applicant system. There is no ALE/RFC possible, so we will  develop a ABAP program to fill the interface table T752F from a XML file from the vendor system.  We would like to use transaction PA48 for performing hiring transaction.
    Question:
    1. We need to use 3 differnt action types depending on whether it is external candidate/Internal candidate or re-hiring. How to default the correct action type? What are the configuration steps?
    Would appreciate if anyone could share some documenation on the whole data transfer process.
    Appreciate your quick reply.
    Thanks,
    Jaya

    Hi Danish,
    Yes, you can supply HR action type in the in the interface (T752f-massn), which will be defaulted when you run the hire action from PA48 screen.
    Hope this is helpful.
    Jaya

  • Brain Teaser:Material Type for Hiring goods

    Hi Guru's
    We have scenario where we need to sell goods(ON HIRE BASIS) and actually donot selll it off.
    DOes any body know is there any Material type ( I think theres not)..but stilll if any body knows ...How can i map this scenario ..I have to sell the Material to customer on hire basis and then get it back from Him (Is this service ) ..
    Just getting confused..May be the Experts can guide me..
    Kind Regards
    Vikrant M Kelkar

    Hi Mer,
    Yes the requirement is we are charging for the Goods(Materials) that we are hiring ..so it needs Value updation ..I think we can change this setting in Material type...
    Please let me know..
    Regards
    Vikrant M Kelkar

  • Copy function in SAP E-recruiting for Hiring Manager

    Hello,
    we are facing a new error in SAP E-recruitig.
    whenever the hiring manger copies  existing or relased requisition we are getting "An internal error occured. Please try again later"  and also few fields are not appearing(out of five fields three were customised.). However when we click on Save button the fields are appearing. why this is happening. any back end configuration is required.
    Let us know your inputs.

    Hi,
    if the problem is still existing, check T-CodeSLG1. Usally all error of this kind writes additional information to the application log. If you cannot handle the error yourself just give us another post with the information.
    Copying the requisitions does not copy all fields. Some are especially excluded. Could you give the realease you are working on? In some there is no other option than doing a modification while newer offer at least some settings like setting a flag to have the posting copied with the requisition or not.
    Best regards
    Roman

  • Candidate Data transfer from E-Recruiting System to HR system for New Hiring.

    Hi All,
    Hope everyone doing in good Spirit.
    We are implementing E-Recruiting as Standalone for one of our client.
    Can any please help me in regards with Data transfer from E-Rec System to HR System for hiring once the candidate has been successfully completed recruiting process.
    You inputs are highly appreciable.
    Thank you.
    Sekhar.

    Hello Sekhar,
    there are three different scenarios for transferring the data of an external candidate to the HR core for hiring.
    the easiest and most commonly used is the RFC connection. When creating an activity of category data transfer the data of the candidate is transferred from eRec to HR core. There it is stored in table T752F. Then you can run transaction PA48. There you can select the candidate and run a hiring action. This is the same action like in PA40 only the system will preset the fields with the values from eRec (similar to batch input).
    Instead of using the RFC solution you can transfer the data using PI (this can be activated using a switch in T77S0). To be honest none of my customers is using this. Either they had no PI server at all or they did not use it for eRec
    The third was delivered with a business function HCM_HIRE_INT_CI_1. This is based on HCM processes and forms and targeted towards customers using Talent Management Core (e.g. data for education and work experience is transferred into the TM Core infotypes 740X as contrary to the hr core standard infotypes 0022 and 0023 they are structured like the eRec ones). Of course as you can do a lot of customer enhancements to HCMP&F you can replace the behavior nearly completely. One or two of my clients discussed this solution but as far as I know none is actually using it.
    The simple truth is most customers seem to not use any integration at all. The first solution is easy to activate but only covers around 13 fields. Compared to a real full blow hiring action this is not even 10% of the fields which have to be entered. So the presetting this small number of fields is not a great help especially as you have to check every information anyways. Furthermore PA48 is not very nice and lacks functions to structure the incoming records which makes it difficult to handle in large distributed organizations.
    The other two options require a lot of infrastructure for small functionality. What we discussed with a client was using the new hire integration to preset a full hiring form with eRec data and then send to the candidate as offline form to gather all missing information and use this for hiring. But there were to many issues on data privacy aspects when sending a form with social security data, bank account data, etc. via email. Furthermore they required actual signatures.
    Kind regards
    Roman  

  • HR_INFOTYPE_OPERATION not Working for IT0002 while Hire

    Hi all ,
    we have created a report which picks the file from the Application Server for creating Employee in HR.
    First created Position and Used FM 'HR_PAD_HIRE_EMPLOYEE'  to create Employee Pernr.
    After which I have used 'HR_INFOTYPE_OPERATION'  for  creating records in IT such as 2,6,8,14,22,105,185.
    Expect 2,6,185 everything works fine.
    I have debugged the FM 'HR_INFOTYPE_OPERATION'  ( Parameters are correct )  it returns nothing. No Error .
    Kindly assist.
    Jerome.J

    Using user program is not advised to hire/maintain an employee, because FM 'HR_INFOTYPE_OPERATION'  does not do all the validation/subsequent update performed in PA40/PA30 txn program module.
    1. Create an Excel file with the data required for each infotype in the same order as a hiring action and save as a *.txt file.
    2. Create a batch recording from PA40 transaction for hiring an employee
    3. Create a LSMW object using the batch recording from step 2.
    4. Test the LSMW object thoroughly using the file from step 1 above
    5. Save in a transport, the objects from steps 2 & 3 above
    6. Move the transport to Test system;  Test again here with more data as in 1 above
    7  Move the transport to prod system 
    In production system:
    8. With small no. of employee data (as in step 1), run the LSMW action.
        Display the data created.
    9. If everything is OK, you may proceed with the rest; if it is a large number of employees, you may split the LSMW run to a few batches.
    Alternatively, use 3rd party s/w e.g. INFO SHUTTLE, etc.

Maybe you are looking for

  • In your experience what are the best audio units to use

    I hope that some of you folks are open to sharing some of your presets with others who aren't quite as good at toggling the audio unit section of garageband. I'm actually surprised that no site has sprouted up offering file downloads of presets for t

  • Black border around iPad screen?

    Hello, I recently noticed that their is a small black border around my iPad 3's screen in between the screen and the actual glass and steel border, is this normal?

  • Song order rearranges in playlists

    I listen to music on my iPhone 4 (6.1.3 - not enough space to upgrade to ios7) when working out and traveling.  Recently I tried to change the order of songs in a couple of playlists and add new songs and the changes won't keep.  For instance when ed

  • The option to delete our browser history is gone.  How do I get it back?

    We click on "Clear History and Website Data" and nothing happens.  It's not highlighted.  It's like the option to delete browser data has been removed.

  • Oracle 11i in ipad

    Hi All, One query : Whether Oracle Application 11i runs in ipad. We have a requirement of running Oracle Apps 11(11.5.10.2) in ipad. I read that ipad doesnt support java and flash...so worried whether it will launch the forms Thanks in advance