Symptom
KPI tile fails to load because an OData request failed with error message indicating the date value exceeds the defined max length, for example:
Value '2023-01-01T00:00:00.000Z' violates facet information 'maxlength=10'.
The error happens because when the KPI tile sends the OData request the date value in the request (e.g. in the filter) is converted to format YYYY-MM-DDT00:00:00.000Z whereas the data type in the CDS data source is DATS(8).
Read more...
Environment
SAP S/4HANA
Product
Keywords
KPI tile, loading error, facet information violation, maxlength, DATS(8), UI5 format, date field conversion, custom CDS views, query, date format, timestamp, SAP Smart Business , KBA , CA-GTF-SB-S4H-RT , SAP Smart Business S4H - Run Time , 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.
SAP Knowledge Base Article - Preview