Skip to Content
0

Child DOB from SuccessFactors to SAP HCM Infotype 0021

Jan 11 at 09:59 AM

39

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers