Skip to Content
avatar image
Former Member

Child DOB from SuccessFactors to SAP HCM Infotype 0021

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers