SAP BW 7.3 Dataflow

How to Create a Complete Copy of a SAP BW 7.3 Dataflow [Tutorial]

Table of Contents

Problem: Need to quickly create a copy of a complete dataflow from extractor to cube.

Understand The SAP BW Data Flow

 

Background: The dataflow in this case is the master dataflow template created for a real life project that contained the most important dataset (table AFRU with some custom supporting tables) for company operational cost reporting. Every possible field is included in this data model.

 

In order to create other data models or more highly aggregated data models, a copy of this template data flow can be created and fields removed easily rather than adding. In this particular example, we have to merge data from another table that will cause the main table’s records to be duplicated for each occurrence in the new table. This is for one report and the other deliverables have already been developed. This method will avoid having to redesign all the existing reports and will prevent degradation of performance on those reports due to the additional data.

System: SAP BW 7.3

Source System: SAP ECC 6.0

 

Copy Data Flow 

Right click on the top object of the dataflow - in this case an InfoCube. Select “Copy Data Flow” from the context menu.

 

Initial Objects 

The following screen appears prompting for the start object and dataflow direction. Select continue (green check mark).

 

 Dependency Analysis

The following screen appears. Select “Yes” to collect all the objects to be copied.

 

Data Flow Copy resized 600

The data flow copy wizard screen appears. Read through the documentation for a full understanding of the tool. Click “Continue” to start.

 

 Data Flow Copy Number of Copies

In the first screen, we will enter the number of copies to be created. This is handy, for example, in the case that you want to physically segregate data in a cube into say years and then report off it from a multicube on top of these copies. Click “Continue”.

 

Data Flow Copy Source System

In the next screen, we can define the source system to be used for the new objects if any. In this case, we are extracting from the same source system so we leave it as “=”. You could use this step to redirect a copy to a new source system or second source system. Click “Continue”.

 

Data Flow Copy Data Sources

In this screen, we define the datasource to be used or copied to. Click “Continue”.

 

Data Flow Copy InfoProvider 

In the InfoProvider screen, we specify what to do with the InfoProviders. In this case, we want to create new copies. We change the middle icon to the new option and give the proposed names for the new objects. Click “Continue”.

 

Input Value for Copy Type resized 600

Copy type options. In this case “Create with Template”.

 

Enter Target Object Name resized 600

Define new technical name and description.

 

 Data Flow Copy Transformations

In the Transformations step, we define how to duplicate the transformations. Create with template is what we are using here. Click “Continue”.

 

 

DFC Directly Dependent Processes resized 600

In this step, we define the copy type and target object for other dependent objects such as DTP’s and Infopackages. In this example, we will create new with template for the DTP’s and reutilize the same infopackages for data loading. We don’t want to load data twice if we don’t have to for data load performance.

 

DFC End resized 600

Click “Finish” on the final screen.

 

Execute Copy Process resized 600

The execute copy process screen appears, select your preference for running the copy process. Select “Dialog” if you want to keep an eye on things while the copy process runs.

 

Log Display

After the copy process runs, the log display appears. Here, the InfoCube has been copied. Click “green checkmark” to cotinue.

 

Log Display

The next log to display is for our copied DSO. Click the “green checkmark” to continue.

 

Log for Copy Process resized 600

In the final log we see the results of the transformation, DTP and other objects copy process. Click the “green checkmark” to continue. The dataflow will now appear in your workbench.

Vastly Improved SAP BW Dataflow Workflow

For this particular example, we continued by switching the extractor used for the DSO (a similar one but with a view joining another table).  We will make some modifications to the transformations as required and remove unneeded characteristics from the InfoCube. Our final step is to create our report deliverable. According to the screenshot timestamps, this entire copy process took 17 minutes. In the past, we would have to copy each object individually with the single object copy command. The old method could have taken us anywhere from an hour to a half day. 

That's quite a few complex steps.  We've decided to make this into a downloadable document so you can have for future reference.  If you want to get your copy, just click the button.

 

Get a Copy of This Tutorial

 

 

Readers Who Read This Also Read:

1 Key Tip When Upgrading from SAP BW 3X to 7X

10 Advanced SAP BW Project Estimation Techniques

Analyzing and Estimating a SAP Webi Project

Avoid SAP Webi Design Mistakes

 

 

Topics from this blog:
Best Practices How-To BW 7.3 Data Flow

Download SAP BW Mindmap

Learn what SAP Business Warehouse is and what it does in under five minutes

Get this Mindmap

Victor Ayers

Victor is a SAP Certified SAP Business Warehouse and BusinessObjects Consultant with deep SAP HANA architecture expertise.

View All Articles by Victor Ayers

The SAP Blog

Subscribe to our blog and receive SAP BW Updates, demand generation, inbound marketing, sales enablement, technology and revenue generation insights and ideas delivered right to your email.