SAP Knowledge Base Article - Public

3757847 - Allow decimal values for percentage during Cost Assignment

Symptom

Cost centres at position should allow percentages with decimal places or whole numbers only?

Error: "The percentage value for cost assignments must be a whole number between 0 and 100."

“Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.”

Environment

SAP SuccessFactors Employee Central

Reproducing the Issue

  1. Navigate to the Employee Cost Assignment portlet.
  2. Input a decimal value in the Percentage field > Save.
  3. Error message is displayed: "The percentage value for cost assignments must be a whole number between 0 and 100.".

Cause

You now have the option and flexibility to specify whether decimal values are allowed while specifying the percentages for the additional cost assignments in SAP’s Public Sector Management (PSM), Funds and Grants Management Solution. 

Resolution

  • If you use SAP Business Technology Platform Master Data Integration to replicate Workforce Master Data between SAP S/4HANA and SAP SuccessFactors Employee Central, avoid entering decimal percentages for additional cost assignments, as these values are rounded during replication.  In this case, the rounding off of these percentage values may pose a problem for your implementation of cost assignment and distribution. Therefore, SAP recommends that you do not provide decimal values for the percentages for the additional cost assignments
  • If you do not use this integration and require decimals: 
    1. Navigate to Admin Center
    2. Go to 'Configure Public Sector Management Cost Object Assignments'
    3. Under Additional Cost Assignment checks, set 'Allow Decimal Values for Percentage during Cost' to 'Yes'
      • By default, this dropdown is set to “No”, so only whole numbers are allowed for the cost assignment percentages. However, if you change this dropdown value to “Yes”, you can provide decimal values for the percentages in the cost assignments.

  • If an “Unknown property” error occurs when saving the configuration: 
    1. Navigate to Admin Center > OData API Metadata Refresh and Export.  
    2. Click Refresh under the Refresh Metadata section.  
    3. Attempt saving the configuration again.  

See Also

Keywords

cost centres, cost centers, cost assignment, percentage, decimal, whole number, rounding, position, public sector management, PSM, additional cost assignment, configure cost object assignments, unknown property error, odata api metadata refresh, s/4hana integration, Allow decimal values for percentage during Cost Assignment, Allow decimal, Cost Assignment, Cost centres, allow percentages, decimals places, whole numbers, numbers, ECT-264226, Enable Decimal validation , KBA , LOD-SF-EC-HDP , Higher Duties & Public Sector , Product Enhancement

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Suite all versions