Hi,
I am filling the following fields for each info type
Infotype FieldsName Value
0000 MASSN 01
0000 BEGDA todays date
0000 ENDDA 99991231
0001 WERKS USPS
0001 PLANS 99999999
0001 PERSG 01
0001 PERSK U3
0001 BTRTL 0002
0002 NACHN Last Name
0002 VORNA First Name
0002 MIDNM Middle Name
0002 GBDAT Date of Birth
0002 GESC1 M
0002 PERID 111223333
The values for WERKS, PLANS, PERSG, PERSK, BTRTL are taken after referring the existing records.
I filled all the values into an internal table I_PPROP and calling the function module
CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
EXPORTING
pernr = w_pernr "00000000
massn = w_massn "01
actio = w_actio "INS
tclas = w_tclas "A
begda = w_begda "Todays Date
endda = w_endda "99991231
werks = w_werks "USPS
persg = w_persg "01
persk = w_persk "U3
plans = w_plans "99999999
dialog_mode = '0'
IMPORTING
return1 = i_return2
TABLES
proposed_values = i_pprop.
But I get an error saying "Enter values in all required fields"
Could some one help me why I get this error though I am passing all the required data to the infotypes?