SAP Knowledge Base Article - Public

2716859 - 'Weeks, Hours, Minutes and Seconds Are Not Supported'

Symptom

In the Visits tab within the Account TI, an error message is triggered when saving a value in the Visit Frequency field.

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Go to the Customers work center.
  2. Go to the Accounts view.
  3. Open any Account ID.
  4. Go to the Visits tab.
  5. Select the Edit button.
  6. Enter an invalid entry in the Visit Frequency field (such as 200).
  7. Select the Save button.
  8. Error message triggered 'Enter the value in units of Year(s); Month(s); Day(s); Hour(s); Minute(s); Second(s); with number and time unit, for example, "4 Day(s) 9 Hour(s) 10 Minute(s)''. All time units may be abbreviated to the first unique letters; empty characters are not necessary.'
  9. Now enter 20 Minute(s) and select the Save button.
  10. The error message 'Weeks, Hours, Minutes and Seconds are not supported' is triggered.

This is misleading since the previous error message prompts the user to enter this time unit.

Cause

The first error message  'Enter the value in units of Year(s); Month(s); Day(s); Hour(s); Minute(s); Second(s); with number and time unit, for example, "4 Day(s) 9 Hour(s) 10 Minute(s)''. All time units may be abbreviated to the first unique letters; empty characters are not necessary.' is an error message directly triggered by the frontend UI for every duration field raised to ensure the content is entered in the right format.

The second error message 'Weeks, Hours, Minutes and Seconds are not supported' is a backend message specific to this field, since those units make no sense in the context of a recommended visiting frequency.

Resolution

Due to this constellation it would require substantial effort for little gain to adjust the frontend error message depending on the context, something development confirm is unrealistic to happen in the near future.

Keywords

KBA , 'weeks, hours, minutes and seconds are n , visit frequency , visits , accounts , LOD-CRM-ACC , Account , Problem

Product

SAP Cloud for Customer 1811 ; SAP HYBRIS C4C ADDINS 1902 ; SAP HYBRIS C4C CORE 1811 ; SAP HYBRIS C4C CORE 1902