Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HR_MAINTAIN_MASTERDATA

Former Member
0 Likes
614

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
550

i would try to create one infotype at a time to see where it's failing, then evalute your entries for that infotype

3 REPLIES 3
Read only

Former Member
0 Likes
550

bump...

anyone have an idea?

Read only

Former Member
0 Likes
551

i would try to create one infotype at a time to see where it's failing, then evalute your entries for that infotype

Read only

0 Likes
550

would you still use HR_MAINTAIN_MASTERDATA Robert?