Professional Documents
Culture Documents
APD Direct Update DSO
APD Direct Update DSO
Illustrated Step-by-Step
Implementation Part 1 (using Filter
Transformation)
Applies to:
SAP NetWeaver BW. For more information, visit the EDW homepage
Summary
The document provides an insight into APD development using Real-time business scenario.
This is a beginners guide to APD which provides a step-by-step detailed APD development process.
Author:
Shyam Uthaman
Author Bio
Shyam Uthaman is working as SAP-BI Consultant in Accenture Services Private He is working
simultaneously on multiple projects for different clients in Accenture.
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
Table of Contents
Analysis Process Designer ................................................................................................................................. 3
Introduction & Use........................................................................................................................................... 3
Integration ....................................................................................................................................................... 3
Restrictions ..................................................................................................................................................... 4
Functions ......................................................................................................................................................... 4
Versioning ....................................................................................................................................................... 4
Transport Connection...................................................................................................................................... 4
Illustrated APD Implementation .......................................................................................................................... 5
Creating a New Design Screen ....................................................................................................................... 5
Selecting a Data Source ................................................................................................................................. 7
Target DSO Creation .................................................................................................................................... 10
Selecting a Data Target ................................................................................................................................ 12
Selecting a Transformation ........................................................................................................................... 13
Result Verification ............................................................................................................................................. 22
Related Content ................................................................................................................................................ 25
Disclaimer and Liability Notice .......................................................................................................................... 26
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
Training data mining models with various BW data (data mining model as data target in the analysis
process)
Execution of data mining methods such as prediction with decision tree, with cluster model and
integration of data mining models from third parties (data mining model as a transformation in the
analysis process)
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
Restrictions
Integration into the Administrator Workbench has the following restrictions:
You can only integrate an analysis process into a process chain using the process type ABAP
program. To do this, choose the ABAP report RSAN_PROCESS_EXECUTE.
The where-used list only functions from the analysis process to other objects and from data mining
models to the analysis process, but not from other objects such as InfoProviders.
Functions
The analysis process designer is a workbench with an intuitive, graphic user interface for the creation,
execution and monitoring of analysis processes. Analysis process can be created using Drag & Drop. Data
from different data sources in the BW system can be combined, transformed and prepared for analysis in
several individual steps so that it can then be resaved into targets in the BW system (transactional ODS
object or InfoObjects with attributes) or in a CRM system. Various are available.
Data sources
Transformations
Data Targets
Various additional functions support you during modeling and executing an analysis process, as well as
during interpretation of the analysis results.
The following graphic shows the various steps in the Analysis Process Designer.
First select a data target that contains the desired data. Then this data is prepared and then transformed.
This transformed data is then saved in a BW object or in another system. For analysis, you can display the
data in a query in the Business Explorer.
Versioning
Analysis processes are integrated into the versioning concept (active, inactive version, content version and
delivery).
Transport Connection
Analysis processes are connected to the transport system for the SAP BW as TLOGO objects
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
The left panel of the screen displays all the components that can be used to build an analysis process, and
the right panel displays the design area where the analysis process is built. Here we will use the General
Analysis Process. Right Click on General and select Create as shown below.
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
The following window pops up as soon as you drop the query in the pane. Click on choose query to select
the query you wish to use as a source.
You will get the following window with the list of all info areas in the system.
Find your query inside your InfoArea in which your InfoProvider (on which the query was built) exists.
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
Click on Ok.
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
The Data source has been configured in the APD as you can see in the image below.
Now we need a Target DSO to store the data. We will be creating the required Direct-Update DSO.
We will save the APD before going to RSA1 transaction again.
Give the APD a technical name and press Ok.
It will be saved.
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
You will get the following window. Enter the technical name and the description of the DSO.
Now, on the DSO edit screen, edit the Type of Direct Update in the Settings.
On the popup, Select Direct Update Radio Button and press OK.
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
Now I have added the some key fields and Data fields to the DSO and then saved and activated it as seen
below.
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
He, we will be using the Direct-Update DSO that we created earlier to act as a Data Target.
To do this, Drag and drop the DSO icon to the Design pane.
As soon as you drop the DSO on to the pane, you will get the following pop-up window.
Here we have to enter your target DSO name in the text field and also specify a description for it.
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
The below image shows the fully filled details of the window described above.
Press OK.
You will be redirected back to the design pane.
Selecting a Transformation
Different analysis functions used on the data are grouped under Transformations. These different
transformations range form simple filter functions to more complex data mining functions (as shown below).
In our example, we will be using a filter in between the source and the output.
To do this, drag and drop the filter Icon into the design pane as shown below.
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
Now, to apply the filter, we need to supply it with the query output.
Drag and drop the connection from the query output to the filter input as shown below.
Blue dotted lines indicate that the connection is still incomplete.
The solid black line (as shown below) indicates that the connection is complete.
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
Here, you need to specify the fields on which you wish to apply a filter on. Here we will be applying a filter on
Channel Field to restrict all the channel values that have the value 3.
To achieve this, Move the Channel field into the Field to be filtered pane using the
button.
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
Complex selection
Move to the Filter Condition tab and Select the complex selections button circled in red below.
As we want to exclude the value 3, move to the Exclude Single values tab.
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
Now create the final connection between the Filter and the DSO as we did earlier.
Now, we have to specify the Fields Assignment between the filter and the DSO. Double click on the mapping
symbol circled in red.
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
We can automatically map fields which have been created on the same info-object.
Click on the automatic assignment button shown below and select Same InfoObject as shown below.
This reduces a great deal of effort.
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
You can see that the automatic mapping has been successful for the first three fields. But since Unit of
Measure field had been constructed on a different info object than that of the query, we need to map it
ourselves.
To do the custom mapping, click on the Method button circled in red below.
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
We will select the (unit) Quantity field to be mapped on to Unit of measure field in DSO.
You will be redirected back to the previous window with the Source char field filled now with the selection.
Press OK.
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
You will see that all the field assignments are complete as shown below,
Here, it is seen that 9 records have been successfully loaded to the APD.
This Display log will show any warnings or errors that occur in APD execution.
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
Result Verification
Now we will check what the output from the query was and what got loaded into the DSO to verify that only
the required data has been loaded to the DSO.
To see the query data, right click on the query and select Display Data from the context menu.
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
Now we will check the data that has been loaded to the DSO.
Right click on the DSO name and select Display Data.
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
Here it is seen that only the required fields have been loaded and the Channel=00003 value has been filtered
out.
The APD implementation has been completed successfully and the result has been verified successfully.
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)
Related Content
Analysis Process Designer
http://forums.sdn.sap.com/thread.jspa?threadID=1933514&tstart=0
http://forums.sdn.sap.com/thread.jspa?threadID=1918142&tstart=0
For more information, visit the EDW homepage
Analysis Process Designer (APD) Illustrated Step-by-Step Implementation Part 1 (using Filter Transformation)