Skip to Content
0
Jun 06, 2010 at 08:02 AM

Hire using HR_MAINTAIN_MASTERDATA

47 Views

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