Integration of SAP Analytics Cloud and SAP Cloud for Customer (transfer)

Author: JerryWang_ Wang Zixi
link: https: //www.jianshu.com/p/e6db17726b60

----- If there is any violation, please inform ------ Thank the author!

A recent Jerry project requires the integration of SAP Analytics Cloud and SAP Cloud for Customer. I knew nothing about this field before, and I just took this opportunity to learn.

 
 

The background of the project is in Jerry's previous article on how to embed a custom UI on the SAP Cloud for Customer page. We have developed a WeChat applet for car sales. During use, Lead data will be generated in SAP Cloud for Customer. We hope to use SAP Analytics Cloud to do various analyses and predictions on the Leads data in C4C to help the sales achieve its sales goals more effectively.

 
 

According to the SAP Analytics Cloud official website, Analytics Cloud establishes a connection with other SAP products or third-party systems that provide data sources. There are two types of Live Data Connections and Import Data Connections. The biggest difference between the two is that the former does not have data replication (Replication). The latter has similar data replication between SAP ERP and SAP CRM.

 
 

The support matrix for the two connection types shows that SAP Cloud for Customer only supports the integration with SAP Analytics Cloud through Import Data Connections.

 
 

Because both are deployed through public clouds, there is no need to use SAP Cloud Connector for internal and external network traversal.

 
 

Create a new connection in SAP Analytics Cloud:

 
 

Select SAP Cloud Platform Analytics in Acquire Data:

 
 

The Data Service URL is maintained as follows:
https: // <host name> .c4c.saphybriscloud.cn / sap / byd / odata / cc_home_analytics.svc

The Analytics model of the SAP Cloud for Customer system is exposed to the SAP Analytics Cloud through the URL above.

 
 

After the connection is established, start a new Model creation task based on the connection and select SAP Cloud for Customer Analytics:

 
 

The SAP Analytics Cloud Model is based on Query, so first create a Query:

 
 

After clicking Next, SAP Analytics Cloud will read the Query list information from SAP Cloud for Customer:

 
 

After a while, the SAP Cloud for Customer Report model is read and displayed in the Query list of SAP Analytics Cloud. Because SAP Analytics Cloud as an Analytics Hub, it is impossible to know the storage details of Cloud for Customer applications such as Sales, Service, Marketing, etc., so through these C4C Reports acting as agents to complete the task of reading data.

 
 

Each Query that appears in the list in the dialog box above corresponds to a report in the Design Reports (work center view) of the Business Analytics (work center) of the C4C system. The naming convention is "RP <C4C Report ID> Q000 <number> QueryResults ". The C4C Report ID can be found in the C4C system.

 
 

Assuming that the standard report released by SAP C4C cannot meet the actual needs of my project, I can create a new report based on the C4C standard Data Source, Sales Lead (CODLEAHB).

 
 

Click New Report:

 
 

Maintain the Name as Zjerryc4cLeadReport:

 
 

Select the default two Key Figure, Counter and Today, because the report I want to create can tell me: As of today, how many Leads exist in the C4C system, and the source distribution of these Leads (through the Lead's Source field distinguish).

 
 

This custom C4C Report is created:

 
 

After the creation is complete, simply test it:

 
 

Because no restrictions are selected, the counter value displayed in this report is the total number of Leads in the current system: 5837. Click the funnel icon to open the Help dialog box in the Source field:

 
 

Select the Wechat Social Channel represented by Z01:

 
 

Get the expected result: 6.

 
 

This is consistent with the results queried by OWL.

 
 

After the C4C Report is created, it can be retrieved and selected in the Query list of SAP Analytics Cloud:

 
 

In SAP Analytics Cloud, you can select all the supported Characters in C4C Custom Report as the selection criteria for SAP Analytics Cloud model. The working principle of Incremental Load in the picture below is similar to the Delta Download of SAP CRM middleware, which is beyond the scope of this article.

 
 

After defining the selection criteria for SAP Analytics Cloud Model, data synchronization begins.

 
 

After all the data is synchronized from SAP C4C to SAP Analytics Cloud, the prompt message shows that a total of 5837 records were successfully imported:

 
 

SAP Analytics Cloud Model is automatically created based on the imported data.

 
 

Next, it is the normal operation of SAP Analytics Cloud, that is, creating a story based on the model and displaying various charts. For specific steps, please refer to the help documentation of SAP Analytics Cloud.

The following figure shows the distribution of all Leads of the C4C system according to their Source fields. You can see that the Lead from Campaign is the most, and the Lead created by Wechat Social Channel is the least.

 
 

You can switch between different charts in SAP Analytics Cloud to show the distribution of these Lead sources:

 
 

 





Guess you like

Origin www.cnblogs.com/weikui/p/12738383.html