Skip to Content
avatar image
Former Member

HR_MAINTAIN_MASTERDATA with multiple subtypes

I'm using HR_MAINTAIN_MASTERDATA FM and I'm having problems to create an employee's infotypes with multiple subtypes. For example infotype 0006 or 0022.

I have been searching information about proposed_values table and the seqnr field on it but until now I can't create multiple records. The FM takes the last assigned infotype value.

Thanks in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jul 26, 2017 at 05:15 AM

    Hi,

    Have you tried adding subtype field in the proposed values table?

    wa_proposed_values-infty = '0006'.    
    wa_proposed_values-fname = 'P0006-SUBTY'.    
    wa_proposed_values-fval = '1'.    
    append wa_proposed_values to proposed_values.

    Hope it works.

    Regards,

    Mangesh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Mangesh! It works, I have used the subtype value and the seqnr field of the structure for multiple values.