You are on page 1of 3

BADI: HRSFI_B_TEMPL_DETERMINATION

Determine the suitable ID of the template for job requisitions from SuccessFactors BizX for a position to be
staffed so that a job requisition for the position can be created in SuccessFactors BizX.

Method: DETERMINE_TEMPLATE_ID

Import Parameters
o IS_POSITION
Position for which the ID of the job requisition template is to be determined
o IS_DECISION_DATA
Additional, optional data on the position (organizational unit, company code, personnel area,
personnel subarea, employee group, employee subgroup, business area)
o IV_KEY_DATE
Key date on which the ID of the job requisition template for the position is to be determined

Return Parameter
o RV_TEMPLATE_ID
Determines the ID of the job requisition template

Currently I have hardcoded, better if we can fetch from some parameter table.

METHOD: GET_TEMPLATE_NAME with the following parameters:

Import Parameter
o IV_TEMPLATE_ID
ID of job requisition template

Return Parameter
o RV_TEMPLATE_NAME
Name of job requisition template

You can use this method to provide the name of a job requisition template. Since the names are not
transferred from SuccessFactors BizX to the SAP ERP system, you need to enter the names manually
if you want to use them.
BADI: HRSFI_B_FIELD_MAPPING_OUTBOUND
To map the content of SAP ERP fields to SuccessFactors BizX fields. You need a separate BAdI
implementation for each field for which you want to implement this BAdI.

There should be a filter value set for each implementation with the field name and field set id (ZHR_JOB_REQ)

 Import parameters
o IS_POSITION
Position for which data is transferred from the SAP ERP system to SuccessFactors BizX
o IV_KEY_DATE
System date on which the report Create and Update Job Requisitions in SuccessFactors
(RH_SFI_TRIGGER_JOB_REQUISITION) is run.
o IV_LANGU
Extraction language in which the report Create and Update Job Requisitions in
SuccessFactors (RH_SFI_TRIGGER_JOB_REQUISITION) is run.
 Return parameter
o RS_MAPPED_DATA
Structure with the SuccessFactors BizX field as it has been defined by SuccessFactors BizX
in the application programming interface (API) mentioned, and its calculated field value

Method EXECUTE should have the logic for each field to be send to Successfactors.
BADI: HRSFI_B_FIELD_MAPPING
To map the content of SuccessFactors BizX fields to SAP ERP fields. You need a separate BAdI
implementation for each field.

This BAdI uses the method EXECUTE with the following parameters:
 Import Parameters
o IS_SFSF_DATA
Table with all fields and field values transferred from SuccessFactors BizX
FIELD_ID 1 Types HRSFI_SFSF_FIELD_ID CHAR 255 0 ID of
SFSF
Field
FIELD_CONTENT 1 Types STRING 0 0

o IV_MOLGA
Country grouping of transferred data
 Return Parameter
o RS_MAPPED_DATA
Table with all infotype fields and field values that have been mapped to the fields transferred
from SuccessFactors BizX in the SAP ERP system.

INFTY 1 INFTY CHAR 4 0 Infotype


Types
INFTY_FIELD_NAM 1 NAME_FEL CHAR 30 0 Field name
E Types D
SUBTY 1 SUBTY CHAR 4 0 Subtype
Types
SEQNR 1 SEQNR NUMC 3 0 Number of Infotype Record
Types with Same Key
INFTY_FIELD_VAL 1 STRIN 0 0 Field Value
UE Types G

You might also like