Skip to Content
0
Former Member
Dec 30, 2013 at 11:26 AM

HR_MAINTAIN_MASTERDATA doesn't record any data

58 Views

Hi,

I'm using FM HR_MAINTAIN_MASTERDATA in order to create a new employee. I pass every required data to the FM trhough table PROPOSED_VALUES, and let field PERNR empty, but I don't get any record.

I've set DIALOG_MODE parameter to '2' in order to check it step by step, and I can see that FM goes to every infotype and fill in screen fields correctly, but any OKCODE is ordered.

I've also tried by passing PERNR with next value abailable, but it still doesn't work.

CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'

EXPORTING

PERNR = L_pernr

MASSN = 'A1'

ACTIO = 'INS'

TCLAS = 'A'

BEGDA = l_begda

IMPORTING

RETURN = l_return

TABLES

PROPOSED_VALUES = it_values.

Can anyone help me?

Thanks a lot!!

Victoria