Checklist: SAP Interface does not work

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 hints] (point refers specific module/product) Point description.
  1. Screenshot and followed instructions of error/warning messages shown.
  2. SAP Interface module is licensed in zenon computers.
  3. You can find all license details of zenon Software Platform products in License Manager (in zenon Startup Tool > Tools).
  4. Connection to the SAP Server is possible from zenon computers. SAP Server is not offline.
  5. Ping commands between zenon computer and SAP Server are successful in both directions using computers IP/hostname/FQDN.
  6. Output of the 'Test connection' in Engineering Studio is:
    1. 'Connection test successful'.
    2. 'Connection test failed:' + text message received from the SAP system.
    Normally the text message is quite helpful, like "name or password incorrect". 
    1. No result at all: Check if SAP GUI is installed.
    When SAP GUI is not installed, there will not be shown any error message.
  7. SAP GUI uses the CPU same architecture of zenon.
  8. Typically, SAP GUI is 32bit version only, so that zenon components (Engineering Studio/Service Engine) must use the CPU same architecture.
  9. It is possible to access SAP Server using SAP GUI. In case, in Engineering Studio fails, but from SAP GUI is possible, contact SAP administrator.
  10. Searched and followed error instructions in LOGs related with the zenon components (Engineering Studio/Service Engine).
  11. All zenon components write in the background messages to joint log file(s) saved in '%programdata%\COPA-DATA\LOG' folder.
    These files can be read and configured with Diagnosis Viewer.

    You can modify the logging level of a component by clicking 'Client Configuration' in 'Settings' menu and after select the respective process name.
    Attention: Set the logging parameters wisely as the time-frame of the LOGs decrease when increasing the detail of the logs written.

    You can also find LOG files in SIC in 'Platform > Versions > Version XXXX > Directories > LogDirectory' folder.
  12. In case a valid connection can be established to SAP Server, but Remote Function Call (RFC) still does not work.
    1. [Service Engine] [Engineering Studio] Check the 'error description' or the CEL. Normally, these are useful (e.g. function not remote enabled, insufficient user rights, etc.).
    2. Test the RFC in the SAP GUI.
    3. Check the RFC parameters in Engineering Studio:
      1. Variables are assigned to parameters. If no assignment, zenon default value '0' may cause RFC not providing the expected result.
      2. Check parameter datatypes as not all SAP data types are supported by zenon.
      3. If other RFC work, this indicate that the problem is limited to a specific RFC.
  13. Maintenance reports do not work.
    1. Check error messages in the CEL in Service Engine.
    2. Check on the SAP system whether the necessary RFCs are remote enabled.
    3. Check the access rights of the user for the RFCs.
    4. Check the Resource Label of the variable in question. It has to contain a valid equipment of technical location.
  14. Measurement readings do not work.
    1. Check error messages in the CEL in Service Engine.
    2. Check the Resource Label of the variable in question. It has to contain a valid measurement point ID.
  15. Searched in Knowledge Base if a previous issue has been addressed.
If the problem persists after completing this checklist and followed corrective actions, please contact your local COPA-DATA Representative providing a SIC-Reduced Report from the target computer(s) and the result of this checklist – please include any additional information or comments related with the points addressed you find relevant.
System Information Collector is a standalone COPA-DATA application that collects relevant data about the Operating System and zenon Software Platform for troubleshooting purposes. SIC is installed with zenon and can be started from zenon Startup Tool (Tools).


    • Related Articles

    • Checklist: Smart Client does not work

      Time estimate: 20 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 hints] ...
    • Checklist: Process Gateway cannot start

      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 hints] ...
    • The SAP interface will show success messages even though it is not configured correctly and does not work

      Summary When using zenon´s SAP interface the SAP GUI has to be installed on the runtime PC. To be more precise, the correct SAP GUI (32/64bit) has to be installed. When using the 64 bit version of zenon, also the 64 bit version of the SAP GUI is ...
    • 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 ...
    • SAP maintenance reports don´t work

      Summary In the module SAP interface it is possible to define maintenance reports. They actually use the SAP function blocks  ALM_PM_MAINTNOT_CREATE ALM_PM_MAINTNOT_SAVE ALM_PM_MAINTNOT_MODIFY_DATA These are, however, not remote enabled with a ...