SAP Knowledge Base Article - Preview

2422167 - Accessing Scripted Calculation View With Input Parameters Fails After Upgrading to SAP HANA >= SPS9


Queries on Scripted Calculation Views with input parameters fail due to faulty value parsing in explicit casting functions e.g. to_date(). An exemplary error message is:

invalid DATE, TIME or TIMESTAMP value: Error while parsing '2017-01-01' in format 'YYYYMMDD' as DATE/TIME at function to_date()



  • SAP HANA 1.0 >=SPS9
  • SAP HANA 2.0


SAP HANA 1.0, platform edition ; SAP HANA, platform edition 2.0


HANA modeling, SQL script, type-casting, HANA Studio, input-parameter, conversion functions , KBA , HAN-DB , SAP HANA Database , Problem

About this page

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

Search for additional results

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