SAP Knowledge Base Article - Public

2675725 - Business Rules: Rule Function to calculate FTE across employments

Symptom

In the 1808 release, 2 new Rule Functions are provided to be able to check and validate whether the FTE exceeds a certain amount across all Concurrent Employment scenarios for a period.

Customers using the Concurrent Employment features would like the ability to define rules around how much FTE can be allocated to an employee across all assignments at a given point in time.
Some would like total FTE never to exceed beyond 1 for all assignments and some may have different cut-off max FTEs even exceeding 1.
We have two different rule functions “Get Date of Maximum Total FTE for Time Period()” and “Get Maximum Total FTE for Time Period”.

  • Get Maximum Total FTE for Time Period()
  • Get Date of Maximum Total FTE for Time Period()

Environment

Employee Central - 1808

Resolution

Further information about the 2 new Rule Parameters can be found in the Implementing Business Rules in SAP SuccessFactors handbook:

 

Example of Rule Configurations

 

1) Basic Rule to generate Error Message when FTE across all Employments exceeds a limit

The example below requires that you first create a Message Definition to provide a message to the end user when the FTE is exceeded across multiple employments. Once the Message Defintion is created, you can create a rule similar to the one shown below. Please make sure when using this Rule Function, that you follow the example below:

BasicRule.jpg

Rule Trigger Best Practices:

  • onChange (put on the jobInfo > fte field)
  • onSave  (put on the jobInfo element)

 

2) Improved Message Definition to return the Date on which Maximum FTE is exceeded

For this you will need to first update your Message Definition to use a Parameter. As per the below example, we created a new Parameter "Date" and we put the parameter into the Text as {Date} so a dynamic value can be returned as part of the Message Definition.

MessageDef_with_dynamic_date.jpg

 

Then, in the Business Rule you created to check whether the FTE is exceeded, in the THEN > Raise Message condition you will see a new field called "Parameter", and from there you further configure the rule to return the "Date" value based on the 2nd Rule Function "Get Date of Maximum Total FTE for Time Period()". It is advisable that the same configuration is used when setting the 4 values to check (Person ID, Start Date, End Date and Job Information - below example), as you used in the IF condition check (above):

 

With Dynamic Message.jpg

 

Limitations

This rule function is only supported for Concurrent Employment scenarios.

Keywords

ECT-97363, GA/CE Rule function to calculate FTE across employments, Get Maximum Total FTE for Time Period(), Get Date of Maximum Total FTE for Time Period() , KBA , LOD-SF-EC-CON , Concurrent Employment , How To

Product

SAP SuccessFactors Employee Central all versions