Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Create new employee

Former Member
0 Likes
865

Hi,

Is any one familiar with a standard bapi to create a new employee, without using HR_INFOTYPE_OPERATION for each infotype.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
810

Hi,

try this one.

BAPI_PERSDATA_CREATE

You can use this method to create a Personal Data record (0002).

Hi,

Is any one familiar with a standard bapi to create a new employee, without using HR_INFOTYPE_OPERATION for each infotype.

5 REPLIES 5
Read only

Former Member
0 Likes
811

Hi,

try this one.

BAPI_PERSDATA_CREATE

You can use this method to create a Personal Data record (0002).

Read only

0 Likes
810

In order to create new employee data I have to update Infotypes 0000, 0001 & 0002 simultaneously.

We are currently using a batch input in this case. Does anyone knows another way to this ?

Read only

0 Likes
810

Use PA40 to create a new employee .. it will create one by one

as these Infotypes 0000, 0001 & 0002 would be in the

Infogroup ..

Read only

0 Likes
810

But In order to this in background I have to use a batch input.

I am looking for another way to do this.

Read only

Former Member
0 Likes
810

hi check this..

the FM - BAPI_HRMASTER-SAVE_REPL_MULT for updating the PD tables (HRP Tables).

I worked on one PA-PD integration project and in that first the PD tables(HRP 1000 - 9999) are updated and then PA Tables (PA tables).

First for PD tables,FM - BAPI_HRMASTER-SAVE_REPL_MULT is used and after PD tables are updated , for PA Tables

FM - HR_INFOTYPE_OPERATION is used.

But I faced one sync problem when I used FM - BAPI_HRMASTER-SAVE_REPL_MULT, it is not updating at the first moment (For OrgUnit,CostCenter,Position,JOB,Holder relationships with HRP1001) and the control goes to PA FM - HR_INFOTYPE_OPERATION and gives error for creating the corresponding entries in PA Tables.

Then I searched in R/3 and I found FM - RH_INSERT_INFTY_1001_EXT which is working fine.

Check this infotype for integrating HRP1001 table and FM - BAPI_HRMASTER-SAVE_REPL_MULT, for the rest in general.

regards,

venkat