Ansicht
Dokumentation

HRSFI_BADI_EX_VARPAY - BAdI: Extraction of Variable Pay Data

HRSFI_BADI_EX_VARPAY - BAdI: Extraction of Variable Pay Data

ABAP Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used for the integration add-on for SAP ERP HCM and SuccessFactors HCM Suite. You can use this BAdI to map the content of SAP ERP fields to SuccessFactors fields for the variable pay program. You need a separate BAdI implementation for each field for which you want to implement this BAdI.

Note
During the transfer of data to the SuccessFactors system, the SAP ERP system checks whether the SuccessFactors fields are assigned to the corresponding SAP ERP infotype fields in Customizing. For SuccessFactors fields for which you have chosen the mapping mode Mapped via BAdI in Customizing, the SAP ERP system runs the relevant implementation of this BAdI.

This BAdI uses the method GET_FIELD_VALUES with the following parameters:

Import Parameters Description
IV_LEADING_PERNR Leading personnel number for an employee
IV_PERSON_ID Person ID of an employee
IV_FIELD_SET Field set defined in Customizing
IV_FIELD_ID SuccessFactors field ID for which data is needed
IV_SFSF_VARPAY_PRG SuccessFactors variable pay program ID
IV_SFSF_BKG_OBJECT Background object used for variable pay program
IV_VARPAY_PRG_BEGDA Variable pay program begin date
IV_VARPAY_PRG_ENDDA Variable pay program end date
IV_USER_ELIG_BEGDA Begin date from which user is eligible for variable pay
IV_USER_ELIG_ENDDA End date to which user is eligible for variable pay
IV_LANGUAGE_KEY Extraction language for data
IT_P0000 Infotype 0000 data of user from variable pay program begin date to variable pay program end date
IT_P0001 Infotype 0001 data of user from variable pay program begin date to variable pay program end date
IT_P0002 Infotype 0002 data of user from variable pay program begin date to variable pay program end date
IT_P0008 Infotype 0008 data of user from variable pay program begin date to variable pay program end date

Export Parameter Description
ET_FIELD_VALUE Table containing field ID and value with dates

ET_FIELD_VALUE

ET_FIELD_VALUE

Filter Values

You can use the following filter values to implement the BAdI more than once, so that you can create a suitable implementation for each field of your choice.

Filter Value Description
SFSF_FIELD_SET_ID ID of field set defined in Customizing
SFSF_FIELD_ID ID of SuccessFactors field defined in Customizing

BAdI Implementations

There should be no BAdI implementations for the following SuccessFactors fields: startDate, endDate, userId, lastModified, Id

For more information about the standard settings (filters, single, or multiple uses), see the Enh. Spot Element Definitions tab in the BAdI Builder (transaction SE18).

SFSF_FIELD_ID

Since this BAdI uses the ID of the field set as a filter value, you must create a customer-specific BAdI implementation for SuccessFactors fields.

Additional Information

For information about implementing BAdIs in the Enhancement Framework, see the SAP NetWeaver library on SAP Help Portal at http://help.sap.com/netweaver and choose Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework.

SFSF_FIELD_ID






General Data in Customer Master   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 5470 Date: 20240523 Time: 192526     sap01-206 ( 62 ms )