You are on page 1of 51

Agenda

Section 1 Section 2 Section 3 Section 4 Section 5 Section 6 MOR Process SAP BW Architecture: Overview SAP BW Terminology Executing Pre-MOR Report Using Extractor Checker BEx Analyzer: Overview

Section 7

Executing WWMOR Queries

Business Information Warehouse


1

Objectives
At the Completion of the Course, you will:
Understand the MOR generation process in Concord

Understand relevant concepts of SAP BW


Be able to describe the architecture of SAP BW
Be able to use the SAP R/3 Extractor Checker to review data replicated from R/3 to BW

Be able to execute Pre MOR report / SAP R/3 Reports


Be able to execute WWMOR report / BW queries
Business Information Warehouse
2

Section 1 MOR Process

Business Information Warehouse


3

Business Information Warehouse


4

MOR Data Integration in SAP R/3


COPC SD
Sales Order/Billing Sales Forecast (SIS) Customer Price Product Costing

SD/MM/COPC -> COPA is a real time system interface (except SIS sales forecast data) COPA to BW is a customized interface

COPA

Sales Transaction Data Characteristics Key Figures

BW

MM
BW Interface

Material Master Data

COPA Interface

Business Information Warehouse


5

Section 2 SAP BW Architecture: Overview


In principle, SAP BW architecture can be divided into three layers:
From the end users point of view. InfoCube and Query are the core of BW, operations performed in layer 1 and 2 are transparent to the end users.

SAP R/3 Transaction System

System extract R/3 data by executing the extraction Program

Store Master Data & Transaction Data Staging Area (For data cleansing)

Users Workstation
BW Load data into a data model, called (eg:ODS,InfoCube) User runs BW query to perform data analysis and ad hoc reporting

Business Information Warehouse


6

BW/MOR Design in Concord


Source System

Flat File (Converted MOR/ Budget e.g. WWMOR FY2004, WWMOR Budget 2005)
One Time/Regular Data Upload

SAP R/3 (Transaction System)


Regular Data Replication

SAP BW Server

MOR Conversion ODS

MOR Production ODS

BEx Analyzer

User run BW queries to perform data analysis and ad hoc reporting. User may develop same set of BW queries from both BW objects and embedded them in the same workbook.

Business Information Warehouse


7

Chapter 3 SAP BW Terminology


InfoCubes Operational Data Store InfoObject Characteristics Key Figures Query Workbook

Business Information Warehouse


8

What is an InfoCube ?
InfoCube is a set of table linked together to store the consolidated / analytical information Enable user to perform multi dimensional analysis

It is made up of two elements:


Key figures : The quantitative data value, and Characteristics : The dimension to describe the key figures
Q3 Q2

Example : A Sales InfoCube will enable user to access


Actual Sales amount, COGS, Sales Quantity

Q1 56 34 28

Material 1 Material 2 Material 3

13
56 Reg 1

8
6

98
53

from the following perspective :


Material, Sales Region, Time

Reg 2 Reg 3

Business Information Warehouse


9

What is an Operational Data Structure (ODS)?


An ODS is used to stored consolidated and cleansed data (transaction data or master data for example) on a document level. ODS stores data in transparent, flat database tables. Graphical Illustration of BW MOR ODS Data Objects
Material Master Data
Material No. Material Code Marketing Model Code Film Type File Speed Falsh Type MM01 MG0001 Kaban 35mm 40 65F MM02 MG0001 Polariod 54mm 70 76F

Loading Date Record No Year Date 2004.02.10 1 2004 2004.02.10 2 2004 2004.02.10 3 2004 2004.02.10 4 2004
Unique Key to Differentiate each Data records
Customer No. CU001 CU002 CU003

1-Oct 1-Oct 2-Oct 2-Oct

Material No. MM01 MM02 MM01 MM02

Customer No. CU001 CU002 CU003 CU003

Packaging Code xxx xxx yyy yyy

Silk Screen Code Sales Quantity Sales Amt ttt 10 400 fff 3 450 ttt 4 500 rrr 1 700
Key Figures Captured from COPA interface

Transaction Attribute Captured from COPA interface


Customer Name Fuji File Leica Sony Entertainment Location Japan Italy Japan

Business Information Warehouse


10

Customer Master Data

What is an InfoObject ?
InfoObjects are the smallest available information modules (= fields) in SAP BW. They are business evaluation objects such as customers or sales revenue. InfoObject can be uniquely identified with their technical name. An InfoObject is divided into characteristics, key figures, units and time characteristics. InfoObjects are used in InfoCubes & ODS objects.

Business Information Warehouse


11

What is Characteristic ?
An evaluation group such as company code, product, customer type, fiscal year, period or region. Characteristics are dimensions to describe the key figures. In Concords MOR ODS, the characteristics are mainly the non-quantitative data fields in our MOR report. (E.g. region, sales office, marketing model code, model type, material etc.)

What is Key Figure ?


Values or quantities, such as sales revenue, fixed costs, sales quantity or number of employees. In Concords BW/MOR design, key figures correspond to the value fields in COPA.

Business Information Warehouse


12

What is a Query ?
A query is a data evaluation based on the selection of characteristics and key figures. This combination of characteristic selection and key figures is used to analyze InfoCube/ODS data for SAP BW.

Queries can be configured according to the way user wants to view and navigate through data.
Queries are defined in the BEx Analyzer and stored in the SAP BW server. In Concord, we have created 8 WWMOR queries based on the format of the existing WWMOR reports.

What is a Workbook ?
In BEx Analyzer, user can insert one or more SAP BW queries into a workbook. A query can be inserted more than once into a workbook to display different views of the of data. To facilitate the WWMOR generation, we could combine the 8 WWMOR queries into 1 workbook to avoid executing the 8 queries separately. All the data in the workbook will be refreshed automatically.

Business Information Warehouse


13

Section 4 Executing Pre-MOR Report


Branch Supply chain will run Pre-MOR report daily, review with sales daily, and revise plan daily.
In SAP R/3: Transaction Code - ZCO01

COPA Pre MOR Report


Pre MOR Selection Screen Currency Type Sales Office Fiscal Year Quarter Period Sales Order Type
ZSTD B0 4100 2004 4

to

Additional Display Option Display Sales Order Number

Business Information Warehouse


14

Definition of Report Selection Fields


Field name
Currency Type (Mandatory Field)

Definition
Currency to be displayed on the report Note: Sale forecast data from SIS could only be displayed in B0 because it is the only currency type that the data is captured in COPA Responsible branch in Concord

Possible Values (MOR related)


10 (Company Code Currency) B0 (Operating Concern Currency)

Sales Office (Mandatory Field) Fiscal Year (Mandatory Field) Quarter (Optional Field) Period (Optional Field) Sales Order Type (Mandatory Field) Display Sales Order Number (Optional Field)

3100, 3300, 3400, 4100, 4200, 4300, 5100, 5300 2004, 2005 etc.

Fiscal year

Quarter, user may choose to enter this field instead of Period Fiscal Period, user may choose to enter this field instead of Quarter Sales Document Types that support the predefined concord scenarios

1, 2, 3, 4

1, 2, 312

ZSTD (Standard Sales Order) ZECS (End Customer Sample Sales)

Check this box if user want to display the SO# in the report Note: Choosing this option would cause segregation of transactions sharing same price, customer, product & period. It is recommended to click this box when reviewing Business Information data for a particular order only

Warehouse
15

Pre-MOR Report Demo

Business Information Warehouse


16

Section 5 Using Extractor Checker


Before data is replicated to SAP BW, user could preview the data to be replicated in SAP R/3 via Extractor Checker.
In SAP R/3: Transaction Code RSA3

This step will be performed by US Finance as one of the main data quality assurance procedure for the WWMOR!!

Business Information Warehouse


17

In SAP R/3: Transaction Code RSA3

STEP 1: Enter DataSource (1_CO_PACCGP)

STEP 2: Enter Data Selection Criteria

STEP 3: Press Extraction


Business Information Warehouse
18

After Extraction is completed, a dialogue box will pop up showing the number of data records that matches with your data selection criteria:

STEP 4: Press Enter

STEP 5: Press Display List


Business Information Warehouse
19

The next screen will list the record that were extracted :

STEP 6: Double click each Records for each DataPacket to view the detail of record to be replicated to BW

Business Information Warehouse


20

The next screen will list the detail characteristic & key figures to be replicated to BW from the specified DataSource:

STEP 7 (Optional): User may select Set Filter or Current to reformat the report to facilitate the data checking process

Business Information Warehouse


21

IMPORTANT !!!
The Extractor Checker transaction consumes a vast amount of system resources, only use that when necessary (only for checking BW extraction data). To facilitate the data checking process and minimize the system resource consumption, it is very important to enter relevant data selection parameter in STEP 2: Enter Data Selection Criteria. Refer to the table below for the definition of each field.

Definition of the fields available in the Data Selection Criteria:


Field name (Short Text) Definition Possible values relating to MOR

Sales Document Type


Fiscal Year Period/year Plan version (CO-PA) Record Type

Sales Document Types that support the predefined concord scenarios


Fiscal year Fiscal period and year Allows the business to have multiple versions of data for operation and planning. Indicates the source of posting and can be used to make reconciling easier and a split in reporting

ZSTD (Standard Sales Order) ZECS (Sample Sales Customer)


2004, 2005 etc. 2004010, 2004011, 2004012 etc. 050 SIS Sales Forecast Version 0 Operational A Order (Actual & Plan depending on version chosen) F Billing (Invoice) B FI Direct Posting

Business Information Warehouse


22

Extractor Checker Demo

Business Information Warehouse


23

Section 6 BEx Analyzer: Overview


Whats the FY2004 Total Gross Sales for

?
The top layer in the SAP BW architecture.
Serves as the reporting environment for end users. BEx Analyzer is a Microsoft Excel-based interactive environment where analyses and queries are defined by selected characteristics and key figures. The selected data can be analyzed by navigating through multi-dimensional data. Presentation in Microsoft Excel allows users to take a report view and manipulate it as a document. We can perform further calculations, add charts or graphics using the Excel functionality.

Business Information Warehouse


24

Start BEx Analyzer


BEx Analyzer can be launched from the Windows Start button. Choose Start > Programs > Business Explorer > Analyzer A dialog box informs you that C:\Program Files\SAP\FrontEnd\Bw\sapbex.xla contains macros.

Choose Enable Macros

BEx Analyzer starts and displays Microsoft Excel with the SAP Business Explorer toolbar. BEx functionality is now active in Microsoft Excel.

Business Information Warehouse


25

How to execute a query from BEx Analyzer?


To run a query , go to Open > Queries

Fill in the client number, user name and password, then press [OK]. Press System to choose the desired system environment. E.g. QAS, PRD, DEV

Business Information Warehouse


26

You are now connected to the BW system and ready to execute any query. Click on the InfoAreas icon, and breakdown the MOR BW Production node till the bottom level. All available queries will be displayed.

Press this button to view the technical names of the queries

Highlight the desired query and click OK. System will then execute the query.

Business Information Warehouse


27

Define, Check and Save a New Query


Step 1: in the BEx toolbar, choose Open > Queries Step 2: To create a new query, select the desired ODS (e.g.MOR Production ODS). Choose New.

Business Information Warehouse


28

Step 3: To define the rows, drag and drop the desired characteristics into the Rows frame.

Business Information Warehouse


29

Step 4: To define the columns, drag and drop the desired key figure into the Columns frame.
Calculate Key Figure are formulas that consist of basic key figure for the InfoCube/ODS

Restricted Key Figures are basic key figures for the InfoCube that are restricted or filtered by one or more characteristic selections

User may also choose Calculated Key Figure or Restricted Key Figures

Business Information Warehouse


30

Step 5: To define the free characteristics, drag and drop the desired characteristics to the Free characteristics frame.

These 6 Data Fields must be exist in each query in order to obtained a correct WWMOR data

Select the characteristics into the Free Characteristics frame so that you can add them to the drilldown when you navigate in the query

Business Information Warehouse


31

Step 6: Check the new query, choose Check Query.

If the query definition is correct, a message with Query is Correct will be displayed here.

Business Information Warehouse


32

Step 7: Save the new query On Query Designer, choose Save Query.

On Save Query dialog box, enter Description


On Save Query dialog box, enter a Technical Name begins with the naming convention ZUSR_XXX. E.g. ZUSR_SALES. Press Save

Business Information Warehouse


33

Change Query
Step 1: Choose Open > Queries, highlight the query to be modified, press Change

Business Information Warehouse


34

Step 2: Choose the modification as needed Step 3: After changes completed, choose Quit and Use Query

Step 4: On Save dialog box, press Yes to save the changes

You can drag & drop the desired characteristics & key figure and see the changes in preview area

Business Information Warehouse


35

Copy Query
You may save (copy) queries under a different name by using Save query as function available on the query definition toolbar. Step 1: Choose Open > Queries, highlight the source query, press Change

Business Information Warehouse


36

Step 2: Press Save query as to copy the existing query to a new query

Business Information Warehouse


37

Step 3: On Save query as dialog box, enter Descriptionand a Technical Name begins with the naming convention ZUSR_XXX. E.g. ZUSR_SALES. Press Save and modify the new query as needed.

Business Information Warehouse


38

BEx Analyzer Demo

Business Information Warehouse


39

Section 7 Executing WWMOR Queries


We have created 8 sets of WWMOR Queries in the MOR Production ODS.

The MOR Production ODS data will be replicated weekly on every Sunday 9am HKT.
After each replication, a new MOR Version will be created to capture that particular picture of MOR data. E.g. 20040628, 20040705 (this is equivalent to our As Is MOR Report Run field) User may compare data across different MOR Version using the predefined WWMOR queries or create their own queries for analysis. There are some data fields that MUST be exist in each query in order to obtained a correct MOR data due to the way that COPA and BW records data.

Business Information Warehouse


40

Following are the list of Data Fields that must be entered or filtered in each query in order to obtained correct WWMOR data: Consequence if not filtered or entered Field Name Possible Values
Currency Type MOR Version MOR Record Status Fiscal Year Quarter
B0 (Group Currency USD) or 10 (Company Code Currency MOR report run date e.g. 20040628, 20040705 Order, Invoice, Projection, SD Adjustment, FI Adjustment Z1/2004 or Z1/2005 COPA record each transaction in 2 different currencies, we need to choose only 1 currency type to avoid data duplication Data will be lumped together across different MOR version If we did not filter Order and Invoice status transaction, data will be duplicated Data will be lumped together across different year Data will be lumped together across different quarter

1, 2, 3 or 4

Choose Period or Week as well If the analysis is by Period or Week

Business Information Warehouse


41

WWMOR Queries Demo

Business Information Warehouse


42

How to execute WWMOR #1 Net Sales Variance Summary by Region & Branch?
Step 1: Highlight the desired query and Press OK

Business Information Warehouse


43

Step 2: Enter Currency Type

Since WWMOR is reported in Group Currency USD, B0 (Operating concern currency) is set as a default entry.

Business Information Warehouse


44

Step 3: Enter MOR Version

Press this button to view the available values of the MOR Version

Select 2 versions for comparison Press this button after replication to display the new MOR version values

Business Information Warehouse


45

Step 4: Enter Quarter

Press this button to view the available values of the Quarter or the Multiple Selection button on the right

Select 2 versions for comparison Press Execute

Business Information Warehouse


46

Step 5: Execute the query

Microsoft Excel displays the query.

Filter cells

A query consists of the filter cells and the result area.

Result area
Business Information Warehouse
47

Step 6: Set filter value for fiscal year


Place cursor on the field Fiscal Year > Right click > Select filter value On the Selection for Fiscal Year dialog box: Pull the fiscal year for analysis to the Selection on the right, press OK

This is a mandatory step to restrict the data to be shown in the query belongs to the fiscal year that you are analyzing. Business Information Warehouse
48

The filtered result will be displayed on the Excel

Business Information Warehouse


49

Business Information Warehouse


50

Summary
You are now able to:
Describe the architecture of SAP BW Understand relevant concepts of SAP BW Use the Extractor Checker to review data to be replicated to BW from R/3 Execute the Pre MOR report Execute the WWMOR queries

Write a new query, copy or change an existing query


Business Information Warehouse
51

You might also like