Flexibility of SAP Profitability and Performance Management Cloud (SAP PaPM CLD) has been extended even more with the all-new BYOD feature where you can use your existing Standalone SAP HANA Cloud Database (Standalone HCDB) or Datasphere HANA Cloud Runtime Database (DSP HCDB) to be the database of your SAP PaPM CLD subscription.
Exposure of database to SAP Datasphere using your runtime database is already achievable via Smart Data Access(SDA) and Smart Data Integration (SDI).
To know more about this integration, see: Integrating SAP PaPM Cloud & SAP Datasphere (DWC) and StepByStep SAP PaPM Cloud <> SAP PaPM On-Premise Integration.
Meanwhile, if you have a subscription of SAP PaPM Cloud with your own Database (BYOD) using your existing DSP HCDB then you do not have to create a connection anymore in your SAP Datasphere as your existing space is your Database already.
With this BYOD setup alone, you can already create a graphical view manually from the exposed generated artifacts in the space where your Standard and Universal Model HDIs are mapped.
In addition to the flexibility given by the BYOD setup, you can also use and access the feature of SAP Datasphere via Command Line Interface. See, Accessing SAP Datasphere via the Command Line.
By simply knowing the name of the artifacts from SAP PaPM Cloud and running simple command, this Command Line Interface can help us to recreate a local table automatically in SAP Datasphere.
You can even save the commands in your local and reuse it by only changing the name of the artifacts based on your requirements. This approach can save time and reducing the manual effort on the creation via UI.
To achieve this integration, we will be needing to download NodeJS which I will show to you later on the procedure and sap-datasphere-exhibitor.
But before we proceed, what is sap-datasphere-exhibitor? sap-datasphere-exhibitor is designed for exposing remote schema objects into SAP Datasphere repository and remotely create SAP Datasphere objects from specific artifact in SAP PaPM Cloud via Command Line Interface. For more information, see https://www.npmjs.com/package/sap-datasphere-exhibitor .
Now, let me show to you how to achieve this integration setup.
2. Open the Node JS command prompt.
3. Install the SAP Datasphere CLI by typing “npm install -g @SAP/datasphere-cli” then press enter.
4. Create OAuth Client for the usage of SAP Datasphere Command Line Interface, OAuth Client purpose must be Interactive usage. For more information, see Create OAuth 2.0 Clients to Authenticate Against SAP Datasphere.
5. In the Command Line Interface, use the OAuth Client created to login to Datasphere by typing “Datasphere login”. More information: OAuth Interactive Usage
As mentioned above, Standard and Universal Model can generate an artifact from activated processing functions. The input of these processing functions can be from a Local Model Tables / Entities or coming from an external source like SAP Analytics Cloud(SAC).
Now, I will show to you how to get these generated artifacts that will be replicated to SAP Datasphere via Command Line Interface.
Let me show to you first how it is done in Universal Model.
Standard Model will be added soon.
3. You can also confirm the content of this artifacts by following the instruction below:
Now that we have identified the generated artifact from our processing function of Universal Model, let’s now go back to the Command Line Interface to communicate with SAP Datasphere.
{
"host": "00000000-0000-0000-0000-000000000000.hana.prod-xx00.hanacloud.ondemand.com",
"port": "443",
"uid": "DWCDBUSER#TEST",
"pwd": "Password123"
}
4. Save it as a file, eg: options.json where you have installed the sap-Datasphere-exhibitor.
5. Run Datasphere-exhibitor command for the remote creation of table of artifact to your SAP PaPM Cloud Datasphere by following this format:
datasphere-exhibitor remote-view-to-local-table --space SPACE_ID --schema CONTAINER_NAME --connection-file ./options.json --artifact XYZ datasphere-exhibitor remote-view-to-fact-view --space SPACE_ID --schema CONTAINER_NAME --connection-file ./options.json --artifact XYZ --measures FIELD:SUM
With the successful RUN of the Datasphere-exhibitor command above, it will show the details of the artifact accordingly:
It also might happen that your requirements in your environment will get bigger and you will be needing a new artifact from your environment.
No worries with that as you can just reuse the command you have performed from previous steps and changing the artifact accordingly.
After following the procedure above, you may now go to your SAP Datasphere and proceed on configuring the Local table created from our generated artifact in SAP PaPM Cloud Universal Model.
You may also create a View on top of this object created for this to be exposed on SAP Analytics Cloud.
For more information, Consume SAP Datasphere OData in SAP Analytics Cloud via an OData Service .
Once the view is exposed, you may use this consumed data from SAP Datasphere to in the analytical reporting tools of SAP Analytics Cloud.
That’s all, I hope you learned another integration that you can use in your analytical workflow from using the SAP PaPM Cloud together with sap-datasphere-exhibitor.
See you again on the next integration topic!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |