Customer is getting the error message "Only one Pay Component can be assigned with the value of Used for Comp Planning as COMP or BOTH" when updating Pay Components.
Employee Central: Foundation Objects
There is a field "Used for Comp Planning" in Pay Components. It controls whether this Pay Component will be used by the Compensation module. Possible values are None, Comp, Varpay and Both.
The error is an expected behavior when we have defined "Used for Comp Planning" field value as "Comp" or "Both" for more than one Pay Component and you are trying to add the same Pay Components at employee level.
Basically, we cannot add 2 or more Pay Components which has flag "Used for Comp Planning=Comp/Both" to an employee.
Update the field "Used for Comp Planning"= "None" for the Pay Component(s) and add again at employee level.
Used for Comp Planning, paycomponent, import , KBA , LOD-SF-EC-FOO , Foundation Objects - MDF & Legacy , Problem