10 bi sap bi modeling-solution02

Upload: mharianto

Post on 05-Apr-2018

261 views

Category:

Documents


7 download

TRANSCRIPT

  • 7/31/2019 10 BI SAP BI Modeling-Solution02

    1/11

    2010 SAP AG Page 1

    SOLUTIONS

    Note to Faculty: If appropriate, you can avoid the use of student-built characteristics and key figures by making the following

    substitutions in the tables below.

    MANNN -> MU0MATRL

    QTYNNN -> MU0SLQTY

    REVNNN -> MU0REVEN

    MANNN_MGNNN -> MU0MATRL__MU0MATGR

    Topic: Creation of DataStore Object and InfoCube

    Exercise 2

    Create and activate the Bike Company sales data DataStore Objectand InfoCube.

    2.1In your InfoArea (NNN), create and activate a DataStore Object

    with the technical name D1NNN and description NNN

    Bike Company Sales Data using information from the table below.

    Fields Description InfoObject

    Key Fields

    Sales Organisation (Bike Company) MU0SALORG

    NNN Material (Bike Company) MANNN

    Distribution Channel 0DISTR_CHAN

    Calendar Day 0CALDAY

    Data FieldsCalendar month 0CALMONTH2

    Calendar Year 0CALYEAR

    NNN Sales Quantity (Bike Company) QTYNNN

    Base Unit of Measure 0BASE_UOM

    NNN Revenue (Bike Company) REVNNN

    Currency Key 0CURRENCY

    Discount (Bike Company) MU0DSCNT

    Click InfoProvider in the Modeling navigation and find your InfoArea

    (NNN). Right click it and choose Create DataStore Object.

    Module BI2-M2: SAP BI Data Modeling

    Scenario The Bike Company has developed a data model to support sales Time 60 min

    planning and reporting. They are ready to create a DataStore Object to hold

    sales data details and an InfoCube for reporting from aggregated sales data.

    Objectives The student will create and activate a DataStore and InfoCube.

  • 7/31/2019 10 BI SAP BI Modeling-Solution02

    2/11

    2010 SAP AG Page 2

    SOLUTIONS

    Enter D1NNN and NNN Bike Company Sales Data as the

    technical name and description. Then click Create.

    You will see the Edit DataStore Object screen. There are several ways to

    add InfoObjects to the Key and Data fields of your DataStore Object. The

    steps below illustrate the use of both Templates and InfoObject Direct

    Input.

    You will first use your InfoObject Catalogs as templates. Hide the

    InfoArea tree display by clicking the Tree Display toggle icon. Then click

    InfoObject Catalog in the Template area.

  • 7/31/2019 10 BI SAP BI Modeling-Solution02

    3/11

    2010 SAP AG Page 3

    SOLUTIONS

    If you do not see your InfoObject Catalogs, click the icon in the top right

    to show all InfoObject Catalogs. Then use the binoculars to search for

    your Characteristic InfoObject Catalog (CNNN). Once it appears,

    double click it.

    Open the Characteristics folder to display your Characteristics. Drag your

    Material Characteristic (MANNN) to the DataStore Object Key

    fields.

  • 7/31/2019 10 BI SAP BI Modeling-Solution02

    4/11

    2010 SAP AG Page 4

    SOLUTIONS

    Repeat the process using your Key Figures Catalog as a template to add

    your Revenue and Sales Quantity Key Figures to the Data Fields. Note the

    0BASE_UOM and 0CURRENCY are automatically added when you add

    each associated Key Figure.

    Find the Characteristic Catalog used for the Bike Company Characteristics(MU0C) and use it as a template to add 0DISTR_CHAN and

    MU0SALORG to the Key fields.

    Click the All InfoObjects icon and then open the Time Characteristics

    folder to show all time-based InfoObjects. Add 0CALDAY to the Key

    fields as well as 0CALMONTH2 and 0CALYEAR as Data Fields.

  • 7/31/2019 10 BI SAP BI Modeling-Solution02

    5/11

    2010 SAP AG Page 5

    SOLUTIONS

    Note: 0CALMONTH2 and 0CALYEAR are redundantly stored in the

    DataStore Object. This will be helpful later in reporting to pass on

    selections when drilling down from the InfoCube to the DataStore.

    Right click the Data Fields and choose InfoObject Direct Input to add

    MU0DSCNT. Note that you could also use the MU0K Key Figure

    Catalog as a template for this Key Figure.

    Type MU0DSCNT in the list of InfoObject technical names, then click the

    checkmark to continue. Note that you can enter multiple InfoObjects

    directly using this list.

  • 7/31/2019 10 BI SAP BI Modeling-Solution02

    6/11

    2010 SAP AG Page 6

    SOLUTIONS

    Activate your DataStore Object.

    Show the InfoProvider tree display. Your DataStore Object now appears

    in your InfoArea.

    2.2

  • 7/31/2019 10 BI SAP BI Modeling-Solution02

    7/11

    2010 SAP AG Page 7

    SOLUTIONS

    In your InfoArea (NNN), create and activate an InfoCube with the

    technical name R1NNN and description NNN Bike

    Company Reporting using information from the table below.

    Dimensions Characteristic Description Technical Name

    Material

    NNN Material (Bike Company) - MANNNSales

    Distribution Channel - 0DISTR_CHAN

    Sales Organisation (Bike Company) - MU0SALORG

    Time

    Calendar Year/Month 0CALMONTH

    Calendar month 0CALMONTH2

    Calendar Year 0CALYEAR

    Key Figures

    NNN Sales Quantity (Bike Company) - QTYNNN

    NNN Revenue (Bike Company) - REVNNN

    Discount (Bike Company) - MU0DSCNT

    Net Sales (Bike Company) - MU0NETSACost of Goods Sold (Bike Company) - MU0COGS

    Navigational Attributes

    Division - MANNN_0DIVISION

    Material Group - MANNN_MGNNN

    Company Code - MU0SALORG__0COMP_CODE

    Country Key - MU0SALORG__0COUNTRY

    Right click your InfoArea (NNN) and choose Create InfoCube.

    Enter R1NNN and NNN Bike Company Reporting as the

    technical name and description. Keep the default of Standard InfoCube

    (optimized for reporting). You will build a Real Time InfoCube in a

    subsequent planning exercise.

  • 7/31/2019 10 BI SAP BI Modeling-Solution02

    8/11

    2010 SAP AG Page 8

    SOLUTIONS

    The Edit InfoCube screen will appear. Hide the InfoProvider tree display.

    The initial InfoCube structure contains the three required dimensions

    (Data Package, Time, Unit) plus one for modeling use (Dimension 1). In

    SAP terminology, a dimension is a group of associated characteristics,

    whereas in the data warehouse community, a dimension is usually used for

    what SAP calls a characteristic.

    Right click Dimension 1 and choose Properties to rename it.

    Enter Material as the new dimension name.

  • 7/31/2019 10 BI SAP BI Modeling-Solution02

    9/11

    2010 SAP AG Page 9

    SOLUTIONS

    Right click the Dimensions folder to add another dimension for Sales.

    Similar to 2.1 above, use your DataStore Object (D1NNN) as a

    template to facilitate the addition of InfoObjects to your InfoCube. Drag

    all the InfoObjects in your DataStore Object except 0CALDAY into

    the appropriate dimension or key figure folder in your InfoCube.

  • 7/31/2019 10 BI SAP BI Modeling-Solution02

    10/11

    2010 SAP AG Page 10

    SOLUTIONS

    Use either templates or direct input to add the remaining InfoObjects

    (0CALMONTH, MU0NETSA, MU0COGS).

    Expand the Navigational Attributes folder and check each attribute to

    include it for OLAP analysis in reports built on this InfoCube. Note that

    any Navigational Attributes of Characteristics in the InfoCube can be

    designated as Navigational for the InfoCube. If not, they will be used only

    as display attributes in the InfoCubes OLAP reports.

    Activate your InfoCube.

  • 7/31/2019 10 BI SAP BI Modeling-Solution02

    11/11

    2010 SAP AG Page 11

    SOLUTIONS

    Show the InfoProvider tree display after activation. Your InfoCube now

    appears in your InfoArea.