
If you have already read the blogpost about SAP PaPM Cloud: Introduction of Query based Master data and Hierarchy by ansanisidro wherein it is described how to use a Query as a master data source for a characteristic field, you might have a question if this is also applicable in case you want to use master data and hierarchies coming from external source. Well, the answer is yes. As a team member of Quality Assurance and Maintenance team, I was investigating this topic further, so I wanted to share my experience from this investigation with you. In this blogpost, we will go through the procedure of setting up a Query Master Data and Hierarchy with external source. Two cases will be described in the following examples. First one includes usage of master data and hierarchies coming from the SAP HANA Cloud View, and the second one will describe the scenario of using master data and hierarchies coming from SAP Business Warehouse’s (SAP BW) infoobject.
Allow me to show you in this example that SAP HANA Cloud View (External Source) can be used as master data and hierarchy source which can be adjusted externally anytime. With the help of Query Value List, integration of this external source with SAP Profitability and Performance Management Cloud (SAP PaPM Cloud) is now possible. Meaning SAP PaPM Cloud will directly take into consideration the information from this external source without the need to adjust any modeling setup everytime the external master data and hierarchy information changes. Let me show you below how to set it up.
The prerequisite for using this functionality with external source is to have a well-structured external source as shown in the following example.
CREATE VIEW "SAP_PAPM_ADMIN"."MDH-VIEW" ("VALUE", "DESCR", "IS_NODE", "PARENT_VALUE", "HIERARCHY_NAME")
AS
SELECT "VALUE", "DESCR", "IS_NODE", "PARENT_VALUE", "HIERARCHY_NAME" FROM "SAP_PAPM_ADMIN"."MDH"
Since SAP BW is often used as a master data and hierarchy source, the second scenario will show that it is also possible to use SAP BW as an external source for a Query Value List.
Note: SAP BW is a private network system, hence connection to the information is through DPAgent. As an option and a suggestion, prepare a database view from the source that will be read by SAP HANA Cloud (SAP PaPM Cloud Runtime database) prior using it as a Query Value List data records.
A) Create your BW InfoObject and maintain its master data and hierarchies. By entering transaction code RSD1 in the system, you will be able to see Master Data and Hierarchy information, which also include tables and views and where are they being stored. Those information are needed so you could be able to proceed with B).
Figure 4: Infoobject configuration
B) Once you have all the necessary tables, make sure to create the view that has the same structure as Master Data and Hierarchy sheet from SAP PaPM Cloud.
Note: As per my investigation, the following tables helped me get the proper view structure, but it might be the case that there are also some other useful tables and a more optimal way of view structure creation.
Figure 5: Master Data and Hierarchy sheet structure
C) You need to have dpagent connected to the SAP HANA Cloud database and which is successfully running in the background. Aside from that, you will also need to create a Remote source that will pull information from your external source. To be able to establish this connection, follow the procedure from this blogpost StepByStep SAP PaPM Cloud <> SAP PaPM On-Premise Integration.
If you are still reading this, thank you and I hope you are now better equipped with how to utilize external master data and hierarchies through:
a. use of SAP HANA Cloud View
b. use of SAP BW
Finally, you can enjoy playing around with this new functionality. 😊 Hope you learned something and see you on my next blogpost! Until the next blogpost stay tuned via SAP PaPM Cloud community tag!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
4 | |
4 | |
3 | |
3 | |
2 | |
2 | |
2 | |
1 | |
1 |