SAP Knowledge Base Article - Public

2151995 - Compensation & Variable Pay - Interoperability with Variable Pay (ability to toggle between Variable Pay/Compensation worksheets)


When cloning a Compensation template and launching new Variable Pay worksheets we are unable to toggle between Compensation worksheets.

How can this be configured?

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


  • SAP SuccessFactors Compensation
  • SAP SuccessFactors Variable Pay


  • This type of change needs to be done in the xml.
  • Usually when cloning a template this piece of code does not get the correct template linked.


In an effort to integrate Compensation and Variable Pay we have a feature available in compensation template only at this time to toggle/navigate between your compensation woksheet into variable pay and vice-versa.

  • This allows both processes to have separate route maps, form life cycles and head of hierachy.
  • Note that at this time this is an xml change and a Change Request to Technical Services Engineer will need to be filed and will affect new forms launched.

The assumptions are that:

  • Every manager can have a plan/worksheets from different programs.
  • Only one form instances of both Compensation and Variable Pay can be linked for editing/planning purposes. In the first release of this integration, it is going to be possible to pull Variable Pay information only from the latest (or one selected) Variable Pay template.
    • Similar approach to that of the integration that exists between a Compensation and PM forms.
    • If for some reason an employee is in two different templates, then the Variable Pay information presented in the Compensation worksheet is going to be incomplete.
  • The relationship is established at creation time.



  • Configuration is done in the xml

               Compensation Form

    <comp-varpay-ref template-id="47" ref-to="varpay" active="true" />

               Variable Pay Form

    <comp-varpay-ref template-id="681" ref-to="comp" active="true" />

  • The ID's used for this are the ID's which are visible within provisioning

     form template id.jpg

  • The above tags MUST be added right before the closing tag of </comp-config>.
  • Once you create new worksheets the link will look as follows.

     worksheet link.jpg

  • If include in both xml’s, this is then considered as bi-directional.

WARNING: If you wish to remove the interoperability, you MUST remove the whole xml tag, not just the template ID.

Leaving the code empty as below:

<comp-varpay-ref template-id="" ref-to="comp" active="true"/>

Would result in the following error "ServiceApplicationException caught in createCompPlans() due to DAOException caught: SQLException caught: ORA-00936: missing expression" and prevent form launch.

Additionally, you may encounter issues thorughout worksheets if you have invalid configuration within this section of the template.

For example, if you do not have this pointing to a valid Compensation/Variable Pay form then you may also encounter validation issues.

If you are using this configuration, ensure the template ID's are valid in the instance.

See Also

2643547 - Compensation & Variable Pay - Total Compensation


interoperability, ORA-00936: missing expression, ORA-00936, link compensation, varibale pay interoperability, comp-varpay-ref, missing expression, error saving comments, 04cd455a5c74834a821406b64f84c4bd9e664930, CompConfigBean, , KBA , LOD-SF-VRP-FRM , Forms & Templates , LOD-SF-CMP-FRM , Forms & Templates , How To


SAP SuccessFactors Compensation all versions ; SAP SuccessFactors HCM Core all versions