Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
elvin_baghele
Participant

Steps involved:



  1. Download required software

  2. Install JDK 1.8 and set the environment path.

  3. Install SAP Cloud Connector

  4. Install and config Apache tomcat.

  5. Deploy C4A_Agent war

  6. Deploy JCO ( Only for ERP and BW Connections)

  7. Configure JCO

  8. Run Apache tomcat

  9. Check C4A_Agent is deployed

  10. Add admin S-User account to SAPCC, from which SAC account is created.

  11. Configure C4A_AGENT in SAPCC

  12. Configure SAP Analytics cloud agent in your SAC tenant.


 

Download Required Softwares



  1. SAP Analytics Cloud Agent 1.0 : C4A_AGENT



  1. SAP Cloud Connector

  2. Apache Tomcat

  3. SAP Java Connector (SAP JCo), version 3.0.12 or higher.



  1. JDK 1.8


Install JDK 1.8



  1. Install JDK and JRE 1.8

  2. Set the Environment variable JAVA_HOME




 

Install SAP Cloud Connector



  1. Run the setup

  2. Specify JDK 1.8 path

  3. by default, it is installed in C://SAP/sapcc

  4. Go there and run go.bat file as admin

  5. Then log in to SAP Cloud connector, https://localhost:8443.

  6. If you don't know the port then you can run changeport.bat <port number> to change the port.

  7. When you log in for the first time the username/ password will be, Administrator / manage.




 

Install and Config Apache Tomcat



  1. Install apache tomcat

  2. edit conf/tomcat-user.xml and add the user details.


 
<role rolename="manager-gui"/>
<role rolename="admin-gui"/>
<user username="admin" password="pass@12345" roles="manager-gui,admin-gui"/>

<!---- for sap analytics cloud agent-->
<role rolename="Services"/>
<user username="sacadmin" password="pass@12345" roles="Services"/>


Deploy C4A_Agent


Note: This step is not necessary if only connecting to SAP BPC NW from SAP Analytics Cloud.  Proceed to Configure Access Control in SAP HANA Cloud Connector section below and follow the steps specific to creating access control for SAP BPC NW.

 

The SAP Analytics Cloud Agent(SAAC Agent) is just a war file that can be deployed on a Tomcat application server.  This can either be an existing Tomcat Java application server running in your environment or install(like I have done) a separate application server to deploy the SAC Agent war file.  My recommendation would be to setup a new Tomcat server to deploy the SAC Agent.  The main reason for this recommendation is that SAC Agent is being updated frequently to take advantage of the new connectivity types being offered in SAP Analytics Cloud.  As SAP Analytics Cloud is being updated frequently, the SAC agent must also be updated to keep pace with this innovation.  This means you may have to deploy a new SAC Agent war file every few weeks, which could result in taking a potential downtime on running an application server that may be hosting other apps.  To avoid impacting an existing production application server and potentially take downtime to deploy a new war file, it’s advisable to set up a separate application server for SAC Agent deployment.

To download SAC Agent access https://support.sap.com/swdc




  1. Extract the downloaded C4A_AGENT_*.rar file.



  1. Copy and paste it in the apache tomcat > webapps directory




 

Deploy JCO ( Only for ERP and BW Connection)



  1. Extract the downloaded software from the SAP Software center.
    SAP Java Connector (SAP JCo), version 3.0.12 or higher.



  1. Copy sapjco3.dll and sapjco3.jar file into tomcat/lib directory.


 



 



 

Configure JCO


The default value for -Xms and -Xmx is usually 128MB, and 256MB respectively and is usually not sufficient.  Failure to increase these values will usually result in timeout errors when acquiring larger data sets into SAC.  Here I’ve set the values to 1024MB and 2048MB, but you may have to increase the Maximum Memory pool(Xmx) to even higher value in your landscape.

 

  1. Create a new file setenv.bat in the apache-tomcat/bin directory.



  1. And write the following line. set"JAVA_OPTS=%JAVA_OPTS% -Xms1024m -Xmx8192m -XX:MaxPermSize=256m -server"

  2. Then run the apache tomcat server from catalina.bat




 

Rerun Apache Tomcat



  1. Go to the apache-tomcat installation directory.



  1. Go to the bin folder



  1. Run the bin/startup.bat or bin/catalina.bat


Check C4A_Agent Deployment


Go to  http://localhost:8080/C4A_AGENT/deploymentInfo If you see the version then you are good to go.



 

Add admin S-User account



  1. run the go.bat file in the sapcc folder

  2. Login to SAPCC

  3. Go to Connector and click on add Subaccount

  4. Fill out the below details and save it.


Configure C4A_Agent in SAPCC



  1. Go to Cloud to On-premise tab and click on the add system button.

  2. Add system mapping

  3. Select Protocol (HTTP / HTTPS)

  4. Add Internal host name and port name. In my case it's running on https://localhost:8080/ so
    I added my computer name/ server as hostname
    and port as 8080

  5. Add virtual hostname, port name of your choice, this cannot be modified once saved.Here hostname is : mysacagent
    port: 8909

  6. Set principle type as None

  7. Enter Description

  8. Check Internal host and Finish.

  9. You will see new system is added and reachable.

  10. Under Resources Accessible on <name of your agent> click + to add a new resource.

  11. Set the URL PATH: /C4A_AGENT/ and choose the option Path and all sub-paths and click Save 

    .

  12. Add other ABAP systems from where you want to access the data in my case I have added the Linux host of the S4HAHA system.

  13. Your HANA Cloud Connector screen should look like the screen below.  Your mapped system should be in green status.


Configure SAP Analytics Cloud Agent in SAC Administration



  1. Launch your SAC system (tenant) URL and log in with an account that has administrative access.

  2. Access System >> Administration option

  3. Click on the DataSource Configuration tab and click the edit button on the top right corner of the screen.  Enter the following information:

  4. Host: <virtual hostname specified during the SAP Cloud Connector configuration>

  5. Port: <virtual port specified during the SAP Cloud Connector configuration>

  6. Username: <username specified in tomcat-users.xml file>

  7. Password: <password specified in tomcat-users.xml file>

  8. Click the Check Configuration button to validate the configuration.

  9. Save your configuration. 


 

You are now ready to acquire data from the on-premise BI4 universe, BW, ERP, JDBC, OData, and BPC data sources.

 

Thanks for Reading 🙂
6 Comments
Labels in this area