Training Exercises SAP Business Intelligence

_______________________________________________________________________ _
BIW_Training Exercises_V1.0

Page 1 of 54

Transaction code to access Data warehousing Workbench is RSA1 Step1. Type RSA1 in the command prompt

Enter the T-Code: RSA1 in the box (Command Box) and click on Enter or F8 (Function Key)

After completion of the Step 1 the below screen will appear.

Menu Bar

Function area/ View Navigation Window

_______________________________________________________________________ _
BIW_Training Exercises_V1.0

Page 2 of 54

Exercise 2: Create characteristic InfoObject
Objective: Create and Maintain Characteristic Infoobjects Steps:
a. Create Infoarea (IA_PURCHASE## under IA_PURCHASE) b. Create Characteristic catalog (IOC_PURCHAR##) c. Create Key figure catalog (IOC_PURKF##) d. Create characteristic Infoobjects

Info Object Y_ISEC## Y_MGRP# # Y_MTYP## Y_PCAT## Y_PORG# # Y_VAGRP# # Y_SOFF##

Description INDUSTRY SECTOR MATERIAL GROUP MATERIAL TYPE PRODUCT CATEGORY PURCHASE ORGANIZATION VENDOR ACCOUNT GROUP SALES OFFICE

Data Type CHAR CHAR CHAR CHAR CHAR CHAR CHAR

Leng th 10 10 10 10 10 10 30

e. Maintain the following attributes at the Info Object: Y_PORG##
Y_ISEC## Y_MGRP## Y_MTYP## Y_PCAT## Y_VAGRP## INDUSTRY SECTOR MATERIAL GROUP MATERIAL TYPE PRODUCT CATEGORY VENDOR ACCOUNT GROUP

## : Training group id. Solution: Creating Info Area
Info Areas are used to organize Info Cubes and Info objects. Each Info Cube is assigned to an Info Area. Through an Info object’s Catalog, each Info objects is assigned to an Info Area as well. The maximum number of characters allowed for the technical name is 30.

_______________________________________________________________________ _
BIW_Training Exercises_V1.0

Page 3 of 54

Select the Info Provider Option.

2. Right Click on Info Provider and Select the Option Create Info area

After selecting the Create Info area option the following screen will be displayed provide the Technical Name and Description

Creating Characteristic InfoObject Catalog
Create Info Object Catalog for Characteristic Step1: Go to Info Object Menu –Left side of the screen

_______________________________________________________________________ _
BIW_Training Exercises_V1.0

Page 4 of 54

Select the Info Object Option

Step2: Select the InfoArea “IA_PURCHASE” in the right panel

Right Click on the Info area (Created in the Step 1) and select the option Create Info Object Catalog.

Step3: Provide the Technical Name and Description

_______________________________________________________________________ _
BIW_Training Exercises_V1.0

Page 5 of 54

0 Page 6 of 54 .Char Option needs to be selected Step 4: Click on create button in the below snap shot. Step 5: Activate the characteristic catalog by clicking on ACTIVATE Button _______________________________________________________________________ _ BIW_Training Exercises_V1.

Click On Activate Creating Key Figure InfoObject Catalog Step 6: Repeat the Step 1 to 5 to Create Info Object Catalog for Key figure (Note : In the Step 5 select the Key Figure in Info Object type (Check the below snap shot) _______________________________________________________________________ _ BIW_Training Exercises_V1.0 Page 7 of 54 .

0 Page 8 of 54 .Creating Characteristic InfoObject Create Characteristic Info Objects Step1: Right Click on Characteristic Info Object CatalogClick on Create Info Object Step 2: Provide the Technical Name and description in the below Snap shot and Click on continue. _______________________________________________________________________ _ BIW_Training Exercises_V1.

0 Page 9 of 54 .Step 3: Click Continue (Enter) General tab: you specify the basic properties of the characteristic The following data types are supported for characteristics: Char: Numbers and letters Character length 1 60 Numc: Numbers only Character length 1 - _______________________________________________________________________ _ BIW_Training Exercises_V1.

If this indicator is not set. you can override it by specifying a conversion routine in the underlying domain. the system differentiates between lowercase letters and capital letters when you use a screen template to input values. Transfer Routine When you create a transfer routine. type # in the first position. Activate Info Object by clicking on Activate button Business Explorer Tab: On this tab page you determine the properties that are required in the Business Explorer for reporting on or analyzing characteristics.0 Page 10 of 54 . you give it a fixed value. See also Conversion Routines in BI Systems. Special Case: If you want to assign the SPACE constant (type CHAR) or 00. The transfer routine can thus store Info object-dependent coding that only needs to be maintained once. Attribute Only If you select Attribute Only. the created characteristic can be used only as a display attribute for another characteristic and not as navigation attribute.. _______________________________________________________________________ _ BIW_Training Exercises_V1. and is included in all the transformation rules that contain the Info object. it is valid globally for the characteristic. Constants By assigning a constant to a characteristic. If this standard conversion is unsuitable. the system converts all the letters into capital letters when you use a screen template to input values.60 Dats: Tims: Date Time Character length 8 Character length 6 In General Tab Mention Data Type and Length Lowercase Letters Allowed / Not Allowed If this indicator is set.0 (type NUMC) to the characteristic. Conversion Routines The standard conversion for the characteristic is displayed. but that is valid for all the transformation rules.

Description BEx In this field. In many cases it is more useful to only display those values that are also contained in an InfoProvider. Filter Display in Query Execution This field tells you how the display of filter values is determined when a query is executed. medium or long text in the Business Explorer. You can choose from the following display options: No Display. Key and Text. or Text and Key. More information: Priority Rule with Formatting Settings.Display For characteristics with texts: Under Display. the values from the SID Table are displayed instead. For characteristics that do not have master data tables. When you restrict characteristics. _______________________________________________________________________ _ BIW_Training Exercises_V1.0 Page 11 of 54 . This setting can be overwritten in queries. You choose between the long and short descriptions of the characteristic. the values from the master data table are usually displayed. which text. Therefore you can also choose the setting Only Values in InfoProvider. Text. This setting can be overwritten in queries. Key. you select whether you want to display text in the Business Explorer and if yes. you determine the description that appears for this characteristic in the Business Explorer. Filter Selection in Query Definition This field describes how the selection of filter values or the restriction of characteristics is determined when you define a query. Text Type For characteristics and texts: In this field you set whether you want to display short.

If the characteristic has few characteristic values. you can determine whether attributes and/or texts should be made available to the characteristic. _______________________________________________________________________ _ BIW_Training Exercises_V1. you can define variable target currencies in the currency translation types. In this way.0 Page 12 of 54 . Mark a characteristic as authorization-relevant if you want to create authorizations that restrict the selection conditions for this characteristic to single characteristic values. You can only mark the characteristic as Not Authorization-Relevant if it is no longer being used as a field for the authorization object. Authorization Relevance You choose whether a particular characteristic is included in the authorization check when you are working with the query. This unit Info object is used when quantities are converted for the master data-bearing characteristic in the Business Explorer. The target currency is then determined from the master data upon currency translation in the Business Explorer and when loading dynamically. you can display the values as a dropdown list box. Currency Attribute You select a unit Info object of type currency that you have created as an attribute for the characteristic. Master Data/Texts Tab: In this tabstrip. Base Unit of Measure The unit Info object must be an attribute of the characteristic. Also see the example Defining Target Currencies Using Info objects.

The system generates a hierarchy table with hierarchical relationships for the characteristic. With Texts If you want to use texts with a characteristic.With Master Data In this case the system generates a P table for this characteristic. there is check whether there is a characteristic value in the P table if the referential integrity is used. This table contains the key of the characteristic and any attributes that might exist. you have to set the with hierarchy indicator. you have to select at least one text.0 Page 13 of 54 . Time-Dependent Texts If you want texts to be time dependent (the date is included in the key of the text table). When you load transaction data. Hierarchy Tab: If you want to create a hierarchy. It is used as a check table for the SID table. or upload an existing hierarchy from a source system. the language becomes a key field in the text table. Attributes Tab: _______________________________________________________________________ _ BIW_Training Exercises_V1. The short text (20 characters) option is set by default but you can also choose medium-length texts (40 characters) or long texts (60 characters). Language-Dependent Texts If you decide that you want the texts to be language dependent.

For example. You can activate an attribute as navigation attribute in the relevant column. Attributes are Info objects that exist already. display attributes provide additional information about the characteristic. on the other hand. As soon as a characteristic appears in duplicate (as a characteristic and as a navigation attribute) in an InfoProvider.On this tab page. Navigation attributes. you must give the navigation attribute a different name.0 Page 14 of 54 . are treated like normal characteristics in the query. and if so. which properties these attributes have. In the query. and that are assigned logically to the new characteristic. Navigation Attribute The attributes are defined as display attributes by default. you could call the characteristic Cost Center. Compounding Tab: _______________________________________________________________________ _ BIW_Training Exercises_V1. and call the navigation attribute Person Responsible for the Cost Center. you specify whether the characteristic has display or navigation attributes. and can also be evaluated on their own.

0 Page 15 of 54 . You sometimes need to compound Info objects in order to map the data model. you can only evaluate the characteristic Storage Location in connection with Plant. _______________________________________________________________________ _ BIW_Training Exercises_V1. you determine whether you want to compound the characteristic to other Info objects. Step 4: Activate Info Object by clicking on Activate button Maintain Attributes Step 1: Select Info Object (Example: PURCHASING ORGANIZATION) and right click on the Info Object and select the Change option in the drop down box. so that the characteristic is unique.In this tab page. Some Info objects cannot be defined uniquely without compounding. For example. compound characteristic Storage Location to Plant. if storage location A for plant B is not the same as storage location A for plant C. In this case.

Step 2: Go to Attributes TabEnter all the attributes (Info objects) _______________________________________________________________________ _ BIW_Training Exercises_V1.0 Page 16 of 54 .

_______________________________________________________________________ _ BIW_Training Exercises_V1.0 Page 17 of 54 .

0 Page 18 of 54 .Step 3: After providing all the information click on activate button Click on Activate Button Exercise 3: Create Key figure InfoObject Objective: Create Key figure Infoobjects _______________________________________________________________________ _ BIW_Training Exercises_V1.

Steps: 1.0 Page 19 of 54 . 2.2 15.OF PURCHASE ORDER ITEMS IO FOR ORDER QUANTITY Data Type AMOUNT INTEGER QUANTIT Y Leng th 15.2 15.2 ##: The id of the training group Solution: Step 1: Right Click on Key Figure Info Object CatalogClick on Create Info Object Step 2: Give Technical name and DescriptionClick on continue Button _______________________________________________________________________ _ BIW_Training Exercises_V1. Create following key figures Info Object Y_IAMT## Y_NPOI## Y_OQTY## Description IO FOR INVOICED AMOUNT IO FOR NO. Use the Key figure catalog created in Exercise 1.

_______________________________________________________________________ _ BIW_Training Exercises_V1. which guarantees more accuracy. you can choose the decimal display to apply to the fields. Data Type Specify the data type. quantity. Amounts and quantities need unit fields. For the amount. you can choose between the decimal number and the floating point number.Step 3: Go to Tab Type/UnitSelect Type/Data TypeMention Unit/CurrencyActivate Type/unit Tab : Key Figure Type Specify the type.0 Page 20 of 54 . For the key figures date and time. and number.

determine which Info object bears the key figure unit.sign.sign. FLTP: Floating point number with 8 byte precision INT integer DAT Date INT4: 4 byte integer.. created as char(8) DEC: Calculation or amount field with comma and +/. either this field must be filled. the key figure bears this currency throughout BW.. If this field is filled.sign.0 Page 21 of 54 . or you must enter a fixed currency or amount unit. In the field unit/currency. For quantities or amount key figures. _______________________________________________________________________ _ BIW_Training Exercises_V1. whole number with +/sign DATS: Date field (YYYYMMDD). created as char(8) DEC: Calculation or amount field with comma and +/. TIM Time TIMS: Time field (hhmmss).The following combinations of key figure and data type are possible: Key Figure Type AMO Amount Data Type CURR: Currency field. created as DEC FLTP: Floating point number with 8 byte precision QUA Quantity QUAN: Quantity field. created as DEC FLTP: Floating point number with 8 byte precision NUM Number DEC: Calculation or amount field with comma and +/. ● Minimum (MIN): The minimum value of all values displayed in this column is displayed in the results row. You can also assign a variable currency to the key figure. Aggregation Tab: Aggregation: There are three aggregation options: . Currency/Quantity Unit You can assign a fixed currency to the key figure.

More information: Priority Rule with Formatting Settings. a greater accuracy is attained. ● Counter (value not equal to zero) (CN0): The number of values <> zero is displayed in the results row. select the characteristic in relation to which the key figure is to be aggregated with the exception aggregation. Often this is a time characteristic. Attribute Only _______________________________________________________________________ _ BIW_Training Exercises_V1. you can use any characteristic you wish. and the rounding differences are reduced. Exception Aggregation This field determines how the key figure is aggregated in the Business Explorer in relation to the exception characteristic. In doing so. for example. Here you would determine a time characteristic as an exception characteristic with. The following exception aggregations are possible: ● Average (all values) (AVG): The average of all values is displayed. The key figure Number of Employees would. ● First value (FIR): The first value in relation to the reference characteristic is displayed in the results row.● ● Maximum (MAX): The maximum value of all values displayed in this column is displayed in the results row.0 Page 22 of 54 . Normally. Additional Properties Tab: Business Explorer You can define some of the following settings specifically for the Info objects contained in the data target. Summation (SUM): The sum of all values displayed in this column is displayed in the results row. and not a time characteristic. ● Counter (all values) (CNT): The number of existing values is displayed in the results row. Display This field describes the scaling with which the field is displayed by default in the Business Explorer. the aggregation Last Value. the OLAP processor calculates internally with packed numbers that have 31 decimal places. In general. ● Last value (LAS): The last value in relation to the reference characteristic is displayed in the results row. This can be overwritten in queries. Decimal Places You can define how many decimal places the field should be displayed with by default in the Business Explorer. the OLAP processor calculates with floating point numbers. be totaled using the characteristic Cost Center. this refers to time. This reference characteristic must be unique in the query. Miscellaneous: Key Figure with Maximum Precision If you select this indicator. However. for example. This can be overwritten in queries. ● Maximum (MAX): ● Minimum (MIN): ● Summation (SUM) Referenced characteristic for exception aggregation In this field. The settings are then only valid in the respective data target. See also Additional Functions in InfoCube Maintenance and Additional Functions in ODS Object Maintenance.

0 Page 23 of 54 .If you select Attribute Only. Steps: Create Source system (Please use the Source system created by trainer). the key figure that is created can only be used as an attribute for another characteristic. but not as a dedicated key figure in the InfoCube. _______________________________________________________________________ _ BIW_Training Exercises_V1. Step 4: Activate Key figure InfoObject Exercise 4: Load Master Data Objective: Load master data attributes and Text in the InfoObjects created in above exercise. Select the Application component “PURCHASE”.

Create Datasource for Text (YDS_PURCHASE_TEXT##) d. Step 1: Goto Infoprovider menuRight click on InfoAreaClick on Insert Charecteristic as Infoprovider Click on Insert Charecteristic as InfoProvider Select Info Area Step 2 : Give Info Object Technical name _______________________________________________________________________ _ BIW_Training Exercises_V1. Create Transformation for text datasource h. Create Infopackage for text (YDS_PURCHASE_TEXT_FULL##) e.0 Page 24 of 54 . Create DTP for text Solution To load master data to these InfoObjects . Create Transformation for attributes f.we need to convert these to datatargets. Create DTP for attributes g.a. Create Datasource for attributes (YDS_PURCHASE##) b. Create Infopackage for attributes (YDS_PURCHASE_ATTR_FULL##) c.

Click on Continue Step 3 : Create source system Goto sourcesystem menuSelect FileRight clickclick on create Select Source System Menu Select File and Click On Create Step 4 : Give Technical name and description _______________________________________________________________________ _ BIW_Training Exercises_V1.0 Page 25 of 54 .

Create Datasource for Attribute Step 5 : Create Datasource for Attribute Goto Data spource MenuSelect Application component Right click on Application componentclick on create datasource _______________________________________________________________________ _ BIW_Training Exercises_V1.0 Page 26 of 54 .

Goto DataSource Menu Select Application Component Step 6 : Give Technical name . Source system and select datasource type _______________________________________________________________________ _ BIW_Training Exercises_V1.0 Page 27 of 54 .

Click on continue Step 7 : Goto general info.0 Page 28 of 54 . TabGive description Give Description here Step 8 : Goto Extraction tabselect flat file _______________________________________________________________________ _ BIW_Training Exercises_V1.

Select FlatFile Flat file looks like below Purchasing_attr.csv Step 9 : Goto fields tabgive all the fields _______________________________________________________________________ _ BIW_Training Exercises_V1.0 Page 29 of 54 .

0 Page 30 of 54 .Create Infopackage for Attribute data source Goto Infoprovider menuSelect datasourceright clickclick on create infopackage _______________________________________________________________________ _ BIW_Training Exercises_V1.

0 Page 31 of 54 .Click on save Step 11 : Goto schedule tabclick on start button _______________________________________________________________________ _ BIW_Training Exercises_V1.

Click on Start Button Step 12 : Click on monitor button to see the status of the load Monitor Button _______________________________________________________________________ _ BIW_Training Exercises_V1.0 Page 32 of 54 .

0 Page 33 of 54 .Step 13 : To View the data in the Data source select Data source right click and select Manage _______________________________________________________________________ _ BIW_Training Exercises_V1.

.0 Page 34 of 54 .PSA Maintenance Button Step 14 : Click on PSA Maintenance Step 15 : Select Continue. _______________________________________________________________________ _ BIW_Training Exercises_V1.

0 Page 35 of 54 .Creation of Datasource for Text Step 16 :Create datasource for text Goto Data source menuright click on application component Give datasource technical name Source system and data type _______________________________________________________________________ _ BIW_Training Exercises_V1.

Step 17 : Click on continue Step 18 : Goto general info tabgive desc Step 19 : Goto extraction tabselect file name _______________________________________________________________________ _ BIW_Training Exercises_V1.0 Page 36 of 54 .

csv Step 20 : Goto fields tabgive fields nameactivate _______________________________________________________________________ _ BIW_Training Exercises_V1.Flat file looks like below Purchase_Text.0 Page 37 of 54 .

0 Page 38 of 54 .Create the Infopackage for text datasource Step 21 : Goto Infoprovider menuSelect datasourceright clickclick on create infopackage _______________________________________________________________________ _ BIW_Training Exercises_V1.

Step 22 : Click on save Step 23 : Goto schedule tabclick on start button Step 24 : Click on monitor button to see the status of the load _______________________________________________________________________ _ BIW_Training Exercises_V1.0 Page 39 of 54 .

0 Page 40 of 54 .Step 25 : To View the data in the Data source select Data source right click and select Manage _______________________________________________________________________ _ BIW_Training Exercises_V1.

Step 26 : Click on PSA Maintenance Step 27 : Click on Continue. _______________________________________________________________________ _ BIW_Training Exercises_V1.0 Page 41 of 54 .

Data has been loaded up to PSA.0 Page 42 of 54 . Create Transformation for attributes Step 28 : To load data to the info objects of attribute datasource Goto Infoprovider menuselect Info Areaselect Master data attributeRight clickclick on create transformation _______________________________________________________________________ _ BIW_Training Exercises_V1.

0 Page 43 of 54 .Step 29 : Click on Continue Step 30 : Map the fields Step 31 : Activate Create DTP for attributes Step 32 : Create DTP(Data Transfer Process) Right click on symbol _______________________________________________________________________ _ BIW_Training Exercises_V1.

System will gives the Technical name of DTP Step 33 : Click on continue _______________________________________________________________________ _ BIW_Training Exercises_V1.0 Page 44 of 54 .

Step 34 : Activate Step 35 : Click on execute button _______________________________________________________________________ _ BIW_Training Exercises_V1.0 Page 45 of 54 .

Status will be shown as below Step 36 : To view the data in the objectRight click on attributeclick on display data _______________________________________________________________________ _ BIW_Training Exercises_V1.0 Page 46 of 54 .

0 Page 47 of 54 .Step 37 : Click on Field selection for output Step 38 : Click on select all and click on execute _______________________________________________________________________ _ BIW_Training Exercises_V1.

Create Transformation for text datasource Step 39 : To load data to the info objects of Text datasource Goto Infoprovider menuselect Info Areaselect Master data TextRight clickclick on create transformation _______________________________________________________________________ _ BIW_Training Exercises_V1.0 Page 48 of 54 .

0 Page 49 of 54 .Step 40 : Click on continue Step 41 : Map the fields and Activate _______________________________________________________________________ _ BIW_Training Exercises_V1.

Creation of DTP for text Step 42 : Create DTP(Data Transfer Process) Right click on the symbol click on create DTP _______________________________________________________________________ _ BIW_Training Exercises_V1.0 Page 50 of 54 .

Step 43 : Click on continue Step 44 : Click on save and activate _______________________________________________________________________ _ BIW_Training Exercises_V1.0 Page 51 of 54 .

Step 45 : Click on execute button Step 56 : To view the data in the objectright click on Master data textclick on manage _______________________________________________________________________ _ BIW_Training Exercises_V1.0 Page 52 of 54 .

0 Page 53 of 54 .Step 57 : Goto contents tab Step 58 : Click on contents button _______________________________________________________________________ _ BIW_Training Exercises_V1.

Step 59 : Click on execute button _______________________________________________________________________ _ BIW_Training Exercises_V1.0 Page 54 of 54 .

Sign up to vote on this title
UsefulNot useful