Symptom
How to control the Visibility of the YouCalc (Metrics) Widget in Executive Review and Compensation/Variable Pay Worksheet
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 Compensation
- SAP SuccessFactors Variable Pay
Resolution
Executive Review:
- To hide this in Executive Review requires an XML change.
- In the XML for the YouCalc widget you need to change "showInExecutiveReview="True"" to False.
- This will remove it from Executive Review while keeping it available in the Compensation Worksheet.
Example Code:
<comp-youcalc-applicationappID="**" appDisplayHeight="***" showInExecutiveReview="true“><comp-field-label lang="en_US"><![CDATA[YouCalc Quick Metrics]]></comp-field-label></comp-youcalc-application>
Note: Adding the above code will also allow the YouCalc Widget/Metrics tab to be available in the first place.
Compensation Worksheet:
As there is currently no way to permission this tab or hide it in the worksheet in a way similar to the above solution, there are two options that you can use:
- Remove the above code completely - This will remove the YouCalc Widget completely from the Worksheet and Executive Review.
- Switch in Provisioning
- There is a switch in the backend that is enabled when adding the YouCalc widget in the first place called "Enable YouCalc widget on compensation form".
- If this is switched off, it will apply to all templates:
See Also
KB article 2084913 - Report Widgets (YouCalc) - Compensation
Keywords
Tab, Switch, Permission, Remove, Form, work sheet, XML, CMP-17196, SF, Success Factors CMP , KBA , LOD-SF-CMP-FRM , Forms & Templates , LOD-SF-VRP , Variable Pay Programs , How To