Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Qlik SAP SQL Connector: Date format issue after moving to 6.1.2 release or later

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Andre_Sostizzo
Digital Support
Digital Support

Qlik SAP SQL Connector: Date format issue after moving to 6.1.2 release or later

Last Update:

Jul 5, 2021 6:54:51 AM

Updated By:

Sonja_Bauernfeind

Created date:

Mar 6, 2017 8:39:51 AM

Attachments

Symptoms:

  • DATS (or the Date data type) has changed from YYYY-MM-DD to Numeric (Integer) when stored in the QVD
  • The behavior was experienced after moving from Qlik SAP Connector 5.80 SR x to Qlik SAP Connector 6.1.2 release or later
  • Due to this change, extraction fails as it is expecting to have the YYYY-MM-DD
  • Looking at the stored QVD in 5.80 SR 2 for example, the date field looks like this:

    image of dates in qvd.png
  • However, looking at the stored QVD in 6.1.2 release or later, the date field looks like this:

    image of dates in qvd stored as plain numbers.png


 Legacy Qlik SAP Connector uses the format YYYY-MM-DD however, this has been changed on 6.1.2 of page 2 of the Release Notes. Due to this change, Qlik advises customers to start planning to move away from the NulldateLegacy but rather conform to the Numeric format stored in the QVD.

 

Environment:

Qlik SAP Connectors 

 

Resolution:


NOTE: It is important to remember that Qlik recommends not to use the NulldateLegacy for new development moving forward (see the Qlik SAP Connector 6.3.2 Release Notes on page 2 for further information)

The two parameters Nulldate and NulldateLegacy has to be changed to support legacy mode on the DATS date field to continue to store in YYYY-MM-DD format. Below must be changed in the SAP SQL Connector connection string:

  • Nulldate=false
  • NulldateLegacy=true

SAP connection string nulldate false nulldatelegacy true.png

Labels (1)
Contributors
Version history
Last update:
‎2021-07-05 06:54 AM
Updated by: