Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
Showing results for 
Search instead for 
Did you mean: 
In SAP Data Warehouse Cloud  we have released the Replace Function in the View Builder for quite some time.

At first glance it appears as just another feature to manipulate and to enhance the model. In this blog I will highlight how you can you utilize this feature to deliver robust Business Content, that can be right away deployed, but also integrated to customer system landscape.


What is the Replace function?

In the Graphical View Builder the Replace Function allows users to replace existing source tables or views by another one.

For that you just need to drag your new table / view and drop it on the source table / view, which you want to replace. In the context menu you just select to function Replace.

In the second step you just need to remap the previous source table structure with the new one.

Ideally the new table / view should have always matching corresponding columns. However, in reality that is usually very rare. In these cases, the system will guide and support the user with the so called "Change Management". It helps users to handle potential inconsistencies and propose ways to resolve.


The Replace Function allows flexibly to change the underlying sources of a view in a controlled manner and increases the work efficiency.

But how does this help to build and deliver more robust Business Content?


Create and deliver robust Business Content

With the Replace mechanism we enable implicitly a life cycle which can be utilized for building Business Content in much more robust way.

One of the challenges in delivering Business Content has been always to depend on the source system connection and it's underlying model structure. When importing such content into customers landscape, that results frequently into incompatibility due to:

  • Different version of source system

  • Source model structure has been customized or modified

  • Customer has a different source than the one that is used by SAP

All of these hinders the users to deploy the Business Content in their landscape and to consume them right away. Unless the users resolves all of the incompatibilities, the Business Content is not usable.


This is where the Replace Function becomes handy to resolve the dilemma.

In order to ship robust content for customer, it is recommended to build Business Content with local tables only. Users can even load and provide CSV sample data into these local tables, to create sensible and showable models. The structure of the local table should be as close as possible to the one from the source system, where the data supposed to come from.

With that step we detach the source system and connection from the Business Content building and delivery process and ensure that the models are self-contained and consistent.

Now, when customers import these Business Content into their landscape, they can deploy and consume them immediately (without source connection dependencies issues as described above).

After reviewing the content, customers then can adopt the Business Content to their system landscape and sources, by replacing those dummy local tables using the Replace Function, that is described above. Thereby, sources could be replicated local tables, but also remotely federated tables.

Of course, the re-mapping exercise still need to be done. In the future, we can think of providing intelligent mapping support to reduce the effort here. Nonetheless, with this little guideline, you will be able:

  • to abstract the Business Content from the underlying source system and connection

  • to deliver consistent and self-contained Business Content

  • to provide sample data, which allows to quickly showcase and demo with the Business Content

  • to deploy and and consume Business Content right away on customers landscape

  • to allow the customer to adapt the source tables to their landscape in a flexible manner

I hope with this little guideline to see in the future more robust Business Content, that helps customers get started easier in SAP Data Warehouse.

Happy Modeling!