FM HR_PAD_HIRE_EMPLOYEE

Hello
I migrate HR master data with the FM HR_PAD_HIRE_EMPLOYEE, it works fine.
There is a problem with the custom-fields - Z Fields in structure P0001 - include structure PS0001 - customer include CI_P0001 Z-fields are inserted.
This Z-fields are not transmitted from the FM properly.
In debugg-mode I can see that the fields are filled,
the FM create a correct dataset - I can see it in transaction PA30 - but this Z-fields are empty.
Thanks in advance
Daniel

Hello
I migrate HR master data with the FM HR_PAD_HIRE_EMPLOYEE, it works fine.
There is a problem with the custom-fields - Z Fields in structure P0001 - include structure PS0001 - customer include CI_P0001 Z-fields are inserted.
This Z-fields are not transmitted from the FM properly.
In debugg-mode I can see that the fields are filled,
the FM create a correct dataset - I can see it in transaction PA30 - but this Z-fields are empty.
Thanks in advance
Daniel

Similar Messages

  • 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.

  • 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.

  • Usе decoupled infotype framework at dismissal or repeated acceptance for work

    Whether there are FM or class for dismissal(fire) and repeated acceptance for work constructed for work using on decoupled infotype framework?
    As works (on hire) FM 'HR_PAD_HIRE_EMPLOYEE' I understood. Possibly somebody has examples on dismissal and the repeated device?
    PS - sorry for my English = \

    Hi,
    The time infotypes 2XXX are not yet decoupled as per the standard infotype framework. Hence there are no decoupled classes delivered in standard.
    Regards
    Roy
    SAP Labs

Maybe you are looking for