SAP Knowledge Base Article - Public

3243214 - Unable to acquire data from SBOP BI Universe when using SAP Analytics Cloud Agent (or Simple Deployment KIT) version 1.0.353/1.0.354 and higher

Symptom

  • Unable to acquire data from SBOP BI Universe when using SAP Analytics Cloud Agent (or Simple Deployment KIT) version 1.0.353/1.0.354 and higher
  • Error observed in Chrome network trace (HAR file):
    • {"result":"{\"status\":\"Error\",\"error\":{\"code\":\"ERROR_IN_DAE_C4AAGENT_SERVICE\",\"rawError\":\"\",\"params\":[]},\"httpStatus\":500}"}
    • {"result":"{\"status\":\"Error\",\"error\":{\"code\":\"ERROR_BAD_REQUEST_TO_C4A\",\"rawError\":\"\",\"params\":[]},\"httpStatus\":400}"}

Environment

  • SAP Analytics Cloud, Enterprise Edition
  • SAP Analytics Cloud Agent 1.0.353 and higher
  • SAP Analytics Cloud Agent Simple Deployment Kit 1.0.353 and higher

Reproducing the Issue

  1. Follow the user guide to install SAP Analytics Cloud Agent or install SAP Analytics Cloud Agent Simple Deployment Kit.
  2. Follow the user guide to Configure the Cloud Connector and also Configure SAP Analytics Cloud Agent.
  3. Log on to SAC tenant and then try to create import data connection to SAP Universe.

Cause

  • SAP Cloud agent 1.0.353 and higher bundles SBOP Connection Sever 4.3 which requires additional SAP Crypto libraries that is not available out of box and will require additional manual configuration.

Resolution

  1. In the base directory of the SAC Agent or Simple Deployment Kit ZIP, retrieve the files under "win64_x64"
  2. Extract the contents of the directory "tp.sap.cryptolib", and place it under your Apache Tomcat installation folder in the path, for example "tomcat9\lib\"
  3. The contents should all reside directly under the indicated directory, for example "tomcat9\lib\sapcrypto.dll", along with the rest of the corresponding files
  4. To configure Tomcat:
    • Through GUI:
      1. For Apache Tomcat standalone install, start Tomcat configure tool.
      2. If Tomcat configure tool GUI is not available, please manually configure Apache Tomcat accordingly.
      3. For Simple Deployment Kit, navigate to the tools subfolder of the Cloud Agent Kit installation (e.g. \SAP\SACAgentKit\tools) and run the editTomcatServiceConfig script "editTomcatServiceConfig.bat"
      4. In Apache Tomcat configuration tool, click on the "Java" tab. You will enter a line of configuration under "Java Options:"
      5. Set the -Djava.library.path to where the "tp.sap.cryptolib" files are located
      6. Add -Djava.library.path=C:\Program Files\SAP\SACAgentKit\tomcat9\lib
    • Manually or on Linux without GUI: "
        1. Modify catalina.bat or Catalina.sh script
        2. Locate JAVA_OPTS and append the new variable and files path to existing variable inside the double quotes.
          • -Djava.library.path=C:\Program Files\SAP\SACAgentKit\tomcat9\lib
        3. Save the file
  5. Restart your Cloud agent / Tomcat

Additional information:

  • If you are having trouble connecting to SAP Universe after following the above steps, try omitting the step of setting -Djava.library.path to where the "tp.sap.cryptolib" files are located, while following everything else
  • Please also ensure that the system user has access to the location where the cryptolib files are located
  • Ensure that the directory in which the cryptolib files are placed, e.g "tomcat9\lib\", has no security measures or protections which would prohibit Tomcat from accesing the necessary files

See Also

Your feedback is important to help us improve our knowledge base.

Keywords

AP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics, SAC agent, agent, kit, post, installation, configuration, configure, manual, manually, 353, universe, import, acquire, connection , KBA , LOD-ANA-AQU , Import Data Connections (Acquiring Data) , Problem

Product

SAP Analytics Cloud 1.0