SAP Knowledge Base Article - Public

3580063 - During Absence Request the Requesting Amount Gets Auto-Defaulted on Mobile App

Symptom

  • Post recent deployment, while applying for leave from the mobile application, the requested leave amount is automatically corrected to 0.5 days.
  • This issue is inconsistent with the Web Application, where the requested leave amount remains as entered by the user.
  • The issue is observed despite the "Permitted Fractions For Unit Day" being set to "Only full day bookings allowed" for the time type.

    For example: When requesting absence from the mobile app, the requesting field is getting auto defaulted to 0.5 days although on the time type the "Permitted Fractions For Unit Day" has been set to "Only full day bookings allowed". This behaviour is not consistent with the Web App.

Environment

Time Mobile

Reproducing the Issue

  1. Configure Object Definition: - Configure the custom AM/PM field as recommended in the guide 0002726601 - How to Request a Half Day on Mobile Application. - Configure a rule to default the amount as suggested in the guide Implementing Time Management in SAP SuccessFactors - On Change Rules at: https://help.sap.com/docs/SAP_SUCCESSFACTORS_EMPLOYEE_CENTRAL/68de09dff990417b9f0acf6ccc13a14d/c616f0a9626e4c808672703be13431ef.html?q=PM&locale=en-US.
  2. Time Type: - Set the "Permitted Fractions For Unit Day" to "Only full day bookings allowed".
  3. Web App: - When requesting absence/sickness, the defaulted value is 1. expected
  4. Mobile App: - When requesting absence/sickness, the defaulted value is 0.5. not expected

Cause

Two things:

  1. When onChange rules are configured in the time object, they are automatically evaluated on the app. This means that the value gets auto defaulted. This is a standard behavior of the mobile app. 
  2. The issue of the wrong amount being defaulted (0.5 instead of 1) is due to a configuration issue in the rules. This causes the incorrect value to be defaulted consistently. 

Resolution

Firstly, regarding the discrepancy in behavior between Mobile and Web, there is an enhancement currently being worked on [TIM-48721]. This will aim to improve the consistency between the two platforms.

In order to resolve the configuration issue, it is necessary to adjust the rule. Specifically, if the AM/PM field is only visible for a few Time Types, the rule is called for all time types on mobile. Therefore, it is crucial to ensure that the rule considers all scenarios. For example, when the time type listed meets the condition, an action should be taken, otherwise, no action is required.

Additionally, if you are defaulting a given value, all scenarios should be considered too. For instance, default to 0.5 if the condition is met, otherwise, do nothing.

See Also

Refer to Knowledge Article 0002726601 - How to Request a Half Day on Mobile Application for more information.

Keywords

iOS, Deployment, Leave Request, Auto Correction, Time Mobile, Time Management, SAP SuccessFactors Employee Central, Absence Request, Requesting Amount, Auto Defaulted, Mobile App. , KBA , LOD-SF-EC-TIM-MOB , Time Mobile , Problem

Product

SAP SuccessFactors Employee Central all versions