Ansicht
Dokumentation

HRSFI_BADI_COMP_EXTR - BAdI: Extraction of Compensation Data

HRSFI_BADI_COMP_EXTR - BAdI: Extraction of Compensation Data

General Material Data   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
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 BizX. You can use this BAdI to define which data the report Replication of Employee's Compensation Data (RH_SFI_SYNCH_COMP_DATA) is to extract for the SuccessFactors BizX fields.

The BAdI uses a filter value that you can use in the Customizing activity Define Fields for Extracting Compensation Data to select the BAdI implementation that you want to use to retrieve the data for one or more fields. For more information, see Define Fields for Extracting Compensation Data.

The BAdI uses the fallback class CL_HRSFI_FB_COMP_FIELD_EXTR.

  • HRSFI_COMP_STD_SALARY_FIELDS (filter value: SAP_STANDARD_SALARY)
This implementation provides data for the standard fields for the basic salary. The following fields are filled with data:
  • CUR_SALARY

The employee's salary according to the payroll periodicity (for example, monthly) and capacity utilization level configured in payroll.
  • LOCAL_CURRENCY_CODE

The currency defined in payroll for the employee.
  • UNITS_PER_YEAR

The factor for converting the employee salary to an annual amount.
Example: If the payroll periodicity is monthly, the factor is 12.
  • SALARY_TYPE

The designation of the payroll periodicity defined in payroll for the employee.
  • EMPLOYMENT_PERCENTAGE

The employee's capacity utilization level.
  • HRSFI_COMP_ANN_100_SALARY_FLDS (filter value: SAP_ANNUAL_100PCT_SALARY)
This implementation provides data for the standard fields for the basic salary. The following fields are filled with data:
  • CUR_SALARY

The employee's salary, corresponding to an annual payroll periodicity and a capacity utilization level of 100%. If the payroll periodicity or the capacity utilization level is different, the salary is converted accordingly.
  • LOCAL_CURRENCY_CODE

The currency defined in payroll for the employee.
  • UNITS_PER_YEAR

The factor for converting the employee salary to an annual amount. Since the salary is already determined converted to an annual value, the value 1 is returned.
  • SALARY_TYPE

The designation of the annual payroll periodicity.
  • EMPLOYMENT_PERCENTAGE

The employee's capacity utilization level. The value 100% is not returned; the value stored for the employee in the system is returned instead.
  • HRSFI_COMP_ANN_SALARY_FIELDS (filter value: SAP_ANNUAL_SALARY)
This implementation provides data for the standard fields for the basic salary. The following fields are filled with data:
  • CUR_SALARY

The employee's salary corresponding to an annual payroll periodicity and the capacity utilization level defined for the employee. If there is a different payroll periodicity, the salary is converted to an annual value.
  • LOCAL_CURRENCY_CODE

The currency defined in payroll for the employee.
  • UNITS_PER_YEAR

The factor for converting the employee salary to an annual amount. Since the salary is already determined converted to an annual value, the value 1 is returned.
  • SALARY_TYPE

The designation of the annual payroll periodicity.
  • EMPLOYMENT_PERCENTAGE

The employee's capacity utilization level.
  • HRSFI_COMP_CURR_POS_DATE (filter value: SAP_CURRENT_POSITION_DATE)
This implementation uses the infotype Organizational Assignment (0001) to determine the date as of which the employee has held the position and returns this date as the content for the field START_DATE.
  • HRSFI_COMP_JOBLEVEL_EESUBGROUP (filter value: SAP_JOBLEVEL_EESUBGROUP)
This implementation determines the employee's current employee subgroup (field PERSK) from infotype 0001 and returns this as the content for the field JOB_LEVEL.
  • HRSFI_COMP_JOBLEVEL_PAYTYPE (filter value: SAP_JOBLEVEL_PAYTYPE)
This implementation determines the employee's current pay scale type (field TRFAR) from the infotype Basic Pay (0008) and returns thisas the content for the field JOB_LEVEL.
  • HRSFI_COMP_PAYGRADE (filter value: SAP_PAYGRADE)
This implementation supplies the following fields with data:
  • PAY_GRADE

This field is filled with information that is concatenated and separated by a hyphen (-). The following information is determined in this order:
- Country grouping (MOLGA)
- Pay scale type (field TRFAR) from infotype 0008
- Pay scale area (field TRFGB) from infotype 0008
- Pay scale group (field TRFGR) from infotype 0008
  • JOB_LEVEL

This field is filled with the pay scale level (field TRFST) from infotype 0008.
  • HRSFI_COMP_PAYGRADE_SCALE_LEVL (filter value: SAP_PAYGRADE_SCALE_LEVEL)
This implementation supplies the field PAY_GRADE with information that is concatenated and separated by a hyphen (-). The following information is determined in this order:
  • Pay scale group (field TRFGR) from infotype 0008

  • Pay scale level (field TRFST) from infotype 0008

Classes and function modules that you can use to convert date information, for example, are available for your customer-specific BAdI implementations. For more information, see Utilities for Implementing the Business Add-Ins for the Integration Scenario for Compensation Data.

BAdI method documentation:






ABAP Short Reference   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 7691 Date: 20240523 Time: 203343     sap01-206 ( 90 ms )