on 01-11-2018 9:59 AM
Hi -
We are getting Candidate's child DOB from SF to SAP HCM and we need to update this in Infotype 0021 field FASEX.
We wrote the code in in BAdi HRSFI_B_FIELD_MAPPING as below.
CLEAR rs_mapped_data.
IF is_sfsf_data-field_id = 'S_Child01Gdr'.
IF is_sfsf_data-field_content = 'Male'.
rs_mapped_data-infty_field_value = '1'. "According to table T522G
rs_mapped_data-infty = '0021'.
rs_mapped_data-SUBTY = 2.
rs_mapped_data-SEQNR = 1.
rs_mapped_data-infty_field_name = 'FASEX'.
ELSEIF is_sfsf_data-field_content = 'Female'.
rs_mapped_data-infty_field_value = '2'. "According to table T522G
rs_mapped_data-infty = '0021'.
rs_mapped_data-SUBTY = 2.
rs_mapped_data-SEQNR = 1.
rs_mapped_data-infty_field_name = 'FASEX'.
ENDIF.
ENDIF.
But it's not populting in infotype 0021 when we ran the transaction HRSFI_ONB_HIRE
Could you please help me what's wrong here ?
Regards,
Monalisa
User | Count |
---|---|
3 | |
3 | |
3 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.