cancel
Showing results for 
Search instead for 
Did you mean: 

Child DOB from SuccessFactors to SAP HCM Infotype 0021

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (0)