SAP Knowledge Base Article - Public

2682651 - EC: How to manage field visibility and editability based on Pay Component value for One Time Deduction object?

Symptom

  • Unable to create UI rule based on Pay Component field value. Error thrown "Autocomplete is not available for the selected field"
  • How to manage field visibility and editability based on Pay Component value for One Time Deduction object?

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

Environment

SuccessFactors Employee Central Business rule

SuccessFactors Employee Central UI Rules


SuccessFactors Employee Central Deductions

Reproducing the Issue

  1. Go To Manage Configuration UI
  2. Update One Time Deduction Take Action UI - Create new config UI rule with pay component for the decision query
  3. When we try to select pay component value the error message is shown.

UIRule.JPG

Cause

As per current system design Pay component value is not supported in UI rules.

Resolution

  • Create a custom field of type Boolean in Object definition: One Time Deduction 
  • Create a Business rule with base object as 'One Time Deduction'

BusinessRule.png

  • Set this rule in Object Definition for "PayComponentType"
  • Under "Manage Configuration UI' - > One time deduction take action -> UI rules
  • Use the custom field value here instead of PayComponent value for your requirement.

UIRule.JPG

  • Now set this rule as onChange UI Rules under Pay Component Field in Manage Configuration UI

Note:

  • Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
  • The above steps is an example for you to understand how you can setup the rule and achieve your requirement. You will have to make necessary changes to the rules as per your requirement to achieve desire results. We would highly suggest to first setup the solution in stage instance before implementing it on production environment.

Keywords

PayComponent, One time deduction, manage configuration ui, one time deduction take action, Autocomplete is not available for the selected field , KBA , LOD-SF-EC-DED , Deductions , How To

Product

SAP SuccessFactors Employee Central all versions