SAP Knowledge Base Article - Preview

3843041 - Android APP: validation error of Effort date/time – SAP Field Service and Asset Management

Symptom

  • Validation expression on Effort Start and Finish Date/Time fields does not work correctly in the Android app.
  • Entering a past date/time still triggers a validation message as if the value were in the future.
  • Issue does not occur in the Windows and iOS apps.
  • Expression used: new Date(${effort.start}) <= new Date(new Date().toLocaleString('en-US', { timeZone: ${effort.startTimeZone} })) 


Read more...

Environment

  • Product: SAP Field Service and Asset Management
  • FSM Mobile - Android

Product

SAP Field Service and Asset Management all versions

Keywords

FSM Mobile Android, validation expression, Effort Start, Effort Finish, TimeEffort, date time validation, future date, toLocaleString, timeZone option, Intl API, Rhino, ES5, Invalid Date, UTC, Android 26.10 , KBA , CEC-SRV-FSM-ADR , FSM Mobile - Android , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.