SAP Knowledge Base Article - Public

3455982 - The Function Calculate Average Value For Numeric Job Information Field Based on Months() Posting Zero Accrual

Symptom

Accrual rule is posting 0 for employee although a positive value is expected.

Environment

  • Product version: SAP SuccessFactors HXM Core 2311
  • Employee Central
  • Time Off
  • Accrual Rule

Reproducing the Issue

    • Configure a custom string to store the Leave Entitlement amount
    • Configure the accrual rule [using the function Calculate Average Value For Numeric Job Information Field Based on Months()] to evaluate and post the accrued amount.
    • However the value posted is 0 (this can be seen in the rule trace)
    • Running the Time Account Simulator gives the same result.

Cause

Configuration Issue.

Check whether the employee has a contract end date configured.

The rule will check the end date value and if the this is in the past, 0 is derived.

Resolution

Workaround

  • Ensure that the contract end date is not in the past.
  • If you do not need contract end date, don't add any value in the contract end date field
  • If Using the contract end date.
    • Need to specify the Accruable End Date as the Contract End Date from the job information. Please make sure that the Accruable End Date isn't null and not greater than the Accrual End Date

See Also

Handbook

Implementing Business Rules in SAP SuccessFactors - Calculate Average Value For Numeric Job Information Field Based on Months() at: https://help.sap.com/docs/SAP_SUCCESSFACTORS_PLATFORM/b37699fa8054409787a8321c9428aeca/3b3f7c9c92ae40bea335fbdb1c67c57b.html?q=Calculate%20Average%20Value%20For%20Numeric%20Job%20Info%20Field%20Based%20On%20Months()&locale=en-US

KBA:

3318126 - The Rule Function to Calculate Average Value For Numeric Job Info Field Based On Months() not Calculating as Expected - SAP for Me

Keywords

Calculate Average Value For Numeric Job Information Field Based on Months(), Zero Accrual, 0 accrual, Contract End Date, , KBA , LOD-SF-EC-TIM-TA , Time Accounts (TAT, TA, TAD) , LOD-SF-EC-TIM-RUL , TAT Rules, Validation & Take rules , Problem

Product

SAP SuccessFactors HXM Core 2311