
Embarking on the journey of leveraging SAP S/4HANA Cloud for Projects, Resource Management (C4P), this blog simplifies the process of accessing its APIs, with a focus on the Resource Request functionality. Beginning with preparations, where we gather key information like API URL and credentials, we then explore the capabilities of the Resource Request API in the Business Accelerator Hub. We break down how to find the right URL for accessing resource requests and demonstrate how to connect these APIs to tools like SAP Analytics Cloud or SAP DataSphere. By following these steps, users can seamlessly integrate data from C4P into their analytics workflow, enabling better decision-making and operational efficiency.
You have to Set Up the API Access for for SAP S/4HANA Cloud for Projects, Resource Management
And at step 7 of Creating a Service Key, please note down all of the information mentioned in the table below. We will use them to fill in the connection information in either SAP Analytics Cloud or SAP DataSphere later.
For example:
{
"apiUrl": https://resource-management-api-projectscloud.cfapps.eu10.hana.ondemand.com,
"uaa": {
"clientid": "sb-............................................................265",
"clientsecret": "49...............................................................vc=",
"url": https://cp..........w.authentication.eu10.hana.ondemand.com,
"identityzone": "cp..........w",
apiUrl: is the main part of the OData Service URL and we will add path to this URL in the later step.
clientid: is OAuth Client ID in SAC OData Service Connection dialog
clientsecret: is Secret in SAC OData Service Connection dialog
url: is the base of token URL. The full token URL should be:
https://cp..............w.authentication.eu10.hana.ondemand.com/oauth/token
In Business Accelerator Hub, you will see four cards. Each of them contains a collection of request methods based on OData API. However, only Assignment and Resource Request contain GET method. Project Experience and Workforce Availability don't support GET method. Hence, only queries from Assignment and Resource Request can be imported and consumed in SAP Analytics Cloud and DataSphere. And this blog will take the Resource Request OData API as an example.
However, in the Workforce Availability. Only POST method is supported. This is the reason that we are not able to leverage this endpoint in the Analysis Application
(This apiUrl will be used for connection later.)
Now, you have obtained all required the information. And you can build the OData Services Connection in SAP Analytics Cloud or SAP DataSphere. For example, like below screenshot.
OData Service Connection supports scheduling import in SAP Analytics Cloud. You can leverage this feature to update the data in the model.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
24 | |
23 | |
22 | |
14 | |
12 | |
10 | |
9 | |
7 | |
7 | |
6 |