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

Employee create using HR_MAINTAIN_MASTERDATA

Former Member
0 Likes
1,899

Hey All,

I am trying to create a new employee using HR_MAINTAIN_MASTERDATA and HR_INFOTYPE operation(using the no_existence_check), but am running into issues every time. Is it possible to create a new employee using this FM. Is there any other FM which can be used instead. I want to use a FM and not BDC/LSMW.

Any suggestions are highly appreciated.

Thanks,

Aparna

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,011

Not a good Idea to use this FM. Actions in HR are done in Info groups (chain of Infotypes). If you want to use this Fm you will have to use this FM for Chain of IT. The person can get hired but will be incomplete.

Complicated Logic

1. Create IT000 - Actions Record via FM

2. Create IT001 - Org Assignment Record via FM

3. Create IT002 - Personal Data Record via FM - Screen Changes as per country

BDC will be a better Idea. SAP has provided a tool for migration called DTT which uses BDC sessions. To use DTT is mentioned in the SAP HR Best Practices as well.

Amandeep

6 REPLIES 6
Read only

Former Member
0 Likes
1,012

Not a good Idea to use this FM. Actions in HR are done in Info groups (chain of Infotypes). If you want to use this Fm you will have to use this FM for Chain of IT. The person can get hired but will be incomplete.

Complicated Logic

1. Create IT000 - Actions Record via FM

2. Create IT001 - Org Assignment Record via FM

3. Create IT002 - Personal Data Record via FM - Screen Changes as per country

BDC will be a better Idea. SAP has provided a tool for migration called DTT which uses BDC sessions. To use DTT is mentioned in the SAP HR Best Practices as well.

Amandeep

Read only

0 Likes
1,011

Thanks for your reply. Can you give me more information about this DTT tool. Like how do i access it. Is there a transaction?

Thanks,

Aparna

Read only

0 Likes
1,011
Read only

0 Likes
1,011

I found that link. But isnt that specific to canada. I am based in US. I tried the transaction /HRBP/ZDDT. But the transaction is not avalaible in my system. Do i have to install any pakage?

Read only

Former Member
0 Likes
1,011

Figured it out myself. Was able to create new employees by customizing HR_INFOTYPE_OPERATION.

Thanks.

Read only

0 Likes
1,011

Hello Aparna - we are facing similar problem .Creating a new employee using HR_MAINTAIN_MASTERDATA . We are also able to create by using custom FM. But I am wondering is there anyway we can do with out customizing ? Is your case also failing at sy-binpt field ? In our case as this is not being checked , infotype 3 is not getting filled , so it's getting failed...Is this same issue with you ?