Creating measurement documents via the SAP interface fails with the message 'INVALID_DATE'

Creating measurement documents via the SAP interface fails with the message 'INVALID_DATE'

Summary

Storing variable values in SAP via the SAP interfaces 'measurement readings' feature does not work in some situations. When the runtime attempts to send the value to the SAP system it fails. An entry is created in the CEL, indicating that there was a failure, it display's the error message 'INVALID_DATE'

Description

Storing variable values in SAP via the SAP interfaces 'measurement readings' feature does not work in some situations. When the runtime attempts to send the value to the SAP system it fails. An entry is created in the CEL, indicating that there was a failure, it display's the error message 'INVALID_DATE'

Solution

The call of the SAP function to create the measurement document has been updated. Instead of using a default value for the optional parameter 'READING_DATE', the parameter will not be set at all.

Information

Updating to the build that includes the fix will solve the issue. No changes in existing projects are necessary.



Issue Number: 31603
Fixed on Date: 19.3.2014
Versions: 7.11 0 BUILD 11206
    • Related Articles

    • Checklist: SAP Interface does not work

      Time estimate:  30 minutes Please go through all the points in the following checklist. If necessary, confirm with IT Department any information you cannot verify before contacting your local COPA-DATA Representative. Checklist usage: #. [Quick ...
    • CEL incorrectly displays "error while creating measurement reading"

      Summary When the network connection fails for a runtime where SAP measurement readings are configured, these measurement readigns cannot be provided to the SAP system any more. This issue will be correctly displayed in the chronologic event list. ...
    • After startup of the runtime, incorrect measurement readings may be sent to the connected SAP system

      Summary In a project where measurement readings for SAP are configured, it can happen, that a value will be provided to the SAP system after a runtime start, before the variable value is actually available in the system. As a result there are ...
    • Runtime crash when executing a SAP function

      Summary Runtime crashes on reception of string values via SAP interface Description Runtime crashes on reception of string values via SAP interface Issue Number: 227706 Fixed on Date: 7.10.2020 Versions: 8.20 0 BUILD 68579
    • SAP: Maintenance Reports cannot be created (on certain days)

      Description Because of incorrect date formats, Maintenance reports could not be created via the zenon SAP interface. When an alarm occurred that was configured to trigger a Maintenance report, an error message appeared in the Chronological Event List ...