‎2006 Aug 14 6:56 PM
I tried to create Employee records using FM "HR_MAINTAIN_MASTERDATA" But I am unable to Do that.
I have to create following Info Types.
0000
0002
0001
0006
0207
0208
0210
0007
0008
0009
0015
I populated the it_proposed_values table for all the info type values. But In the return table I am getting mesage "maintain all Required fields".
I checked values by changing value of dialog_mode import parameter to '2'. The FM do not accept values of infor type 0002. But in internal table it_proposed_values I have populated all values.
Please let me know what is wronge ?
Is there any other FM to create Employee?
CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
EXPORTING
PERNR = '00000000'
massn = zvichire-massn
actio = 'INS'
TCLAS = 'A'
begda = zvichire-begda
endda = zvichire-endda
OBJPS =
SEQNR =
SPRPS =
SUBTY =
werks = zvichire-werks
persg = zvichire-persg
persk = zvichire-persk
plans = zvichire-plans
dialog_mode = '0'
LUW_MODE = '1'
NO_EXISTENCE_CHECK = ' '
NO_ENQUEUE = ' '
IMPORTING
return = wa_return
return1 = wa_return1
hr_return = wa_hr_return
TABLES
proposed_values = it_proposed_values
MODIFIED_KEYS =
.
Please let me know.
Aman
‎2007 Aug 13 8:44 PM
i would try to create one infotype at a time to see where it's failing, then evalute your entries for that infotype
‎2007 Aug 13 2:33 PM
‎2007 Aug 13 8:44 PM
i would try to create one infotype at a time to see where it's failing, then evalute your entries for that infotype
‎2007 Aug 14 8:08 AM