SAP jobs fail with error: "Z_CYB_TABLE_UPDATE: Failed to create template of function".

Document ID : KB000003896
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

We just installed CA Workload Automation Agent for SAP. The agent is running fine, but some SAP jobs failed with error: "Z_CYB_TABLE_UPDATE: Failed to create template of function". How do you fix it?

 

Resolution:

If you have XBP 2.0 installed on your SAP system, then you should set sap.logon.version=2.0 or 6.10 in agentparm.txt file. But if you only have XBP 1.0, then you will need to install our customized ABAPs.

 

  1. Copy the following zip files, which are located in the agent installation directory, onto the computer where your SAP system resides:
    • BW_ABAPs.zip
    • R3_ABAPs_NonUnicode.zip
    • R3_ABAPs_Unicode.zip
  2. Extract the files from each zip file.
  3. Copy the extracted files for your operating system to the subdirectories named cofiles and data where the SAP system is installed.
    For example, using the default SAP trans directories, copy the files for your operating system as follows:

    Operating SystemFiles to CopySAP Directories
    UNIXAny files prefixed with K/usr/sap/trans/cofiles
    UNIXAny files prefixed with R/usr/sap/trans/data
    Windows (SAP on drive D)Any files prefixed with KD:\usr\sap\trans\cofiles
    Windows (SAP on drive D)Any files prefixed with RD:\usr\sap\trans\data
  4. Install the ABAPs using the following commands, substituting the appropriate path to the SAP trans directory:

    TypeOSSyntax
    BWUNIXcybsapinstBW.ksh SAP_ID /usr/sap/trans
    BWWindowscybsapinstBW SAP_ID “D:\usr\sap\trans”
    R3UNIXcybsapinstR3.ksh SAP_ID /usr/sap/trans
    R3WindowscybsapinstR3 SAP_ID “D:\usr\sap\trans”

Notes:

  • On Windows, enclose the path name in double quotation marks if the path name has spaces.
  • If the SAP system was down when you installed the ABAPs, you can rerun the procedure.
Additional Information:

Above steps can be found in the SAP agent documentation at the following link:

https://docops.ca.com/ca-workload-automation-agent-for-sap/11-3/en/configuring/configure-the-sap-system#ConfiguretheSAPSystem-InstalltheABAPsonanSAPSystem