cancel
Showing results for 
Search instead for 
Did you mean: 

Hire using HR_MAINTAIN_MASTERDATA

0 Kudos

Hi All,

I wrote a program for hiring employees using FM HR_MAINTAIN_MASTERDATA from a Z table ( this will be populated through an IDOC). I have only Infotype 0,1,2 data, so that my requirement is i need to stop the FM after those infotypes data pushed. In my program FM is trying to get data from next infotype ( IT 6) which is configured for infogroup for HIRE action and trigerring an error as "Fill mandatory fields" and not creating the employee no.

My objective is hire an employee with minimum data and return back in an alv output with personnel no.

Note : Mandatory to get back the personnel generated. FM HR_MAINTAIN_MASTERDATA returns the personnel no. only entries data pushed for HIRE action.

Can anybody to help to resolve / achieve this task ?

Regards,

Ranjith

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

you can use Lsmw for that. After saving it0002 press save button and then press back button. Hope this will solve ur problem. If not, please let me know more detail about the prog which u wrote. How u r calling the fm and in which mode. LSMW is best option in that case.

Sandip