‎2017 Jul 25 7:00 PM
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
‎2017 Jul 26 6: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
‎2017 Jul 26 6: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
‎2017 Jul 26 3:41 PM
Thanks Mangesh! It works, I have used the subtype value and the seqnr field of the structure for multiple values.