Applies to: SCM 5.0 For more information, visit the Business Intelligence homepage. Summary The article illustrates the steps to load an info cube in SCM 5.0 Author: Bijal Parmar Company: Larsen & Toubro Infotech Limited Created on: 24 August 2009 Author Bio Bijal Parmar is a Software Consultant in Larsen & Toubro Infotech Limited. She has three years of SAP experience. She has worked extensively in ABAP, APO, Workflow and Visual Composer. 2009 SAP AG 1
Table of Contents 1.Transaction RSA1... 3 2. Create Info Area... 3 3. Create Infoobject catalog and Infoobjects... 4 3.1 Create Characteristics Catalog... 4 3.2 Create Key Figures Catalog... 7 4. Create Application Component... 8 5. Create Data Source... 9 6. Create Info Source... 11 7. Create Transformation... 13 8. Create Infocube... 15 9. Create Transformation for Infocube... 19 10. Create Data Transfer Process (DTP)... 21 11. Create Info Package... 23 12. Load PSA... 24 13. Load Infocube... 26 14.Display Infocube Contents... 27 Related Content... 28 Disclaimer and Liability Notice... 29 2009 SAP AG 2
1.Transaction RSA1 We will see the steps to load a.csv file in Info cube in SCM 5.0. The format of.csv file is as below ME.csv Go to transaction RSA1. 2. Create Info Area Select Info Provider under modeling. Right click Create Info Area: ZME1_IA Note: Always give names to all objects you create with some meaning, it will help. Give info area name and description as shown below: 2009 SAP AG 3
Click on tick. Info area is created. 3. Create Infoobject catalog and Infoobjects Click Info Objects under modeling tab 3.1 Create Characteristics Catalog First create Characteristics info object catalog. Right click on your info area Then click on create button. Activate you get the below screen: 2009 SAP AG 4
Right click on char cat to create info objects: Next Screen: Enter name and description and click on tick: Next screen place cursor on BW on click Tick: Data Type and length are to be assigned next. For E.g. For location characteristics ZME1_LOC we assign data type as CHAR and length 4. 2009 SAP AG 5
Save and Activate it. The loc char will turn Green: Similarly, create another info objects: like material is ZME1_MAT 2009 SAP AG 6
3.2 Create Key Figures Catalog Create Key Figure catalog, same as characteristic catalog Note: Select radio button as key figure Create Key Figure Info object: Here Quantity as ZME1_QTY. Give info object name ZME1_QTY select BW and create. On the next screen give description and select 0UNIT for unit/currency field. 2009 SAP AG 7
Save and activate all info objects and key figures. Following are created as shown. 4. Create Application Component Select Info Sources under modeling tab. Right click on Info Sources. Create application component. Enter component name and description. Click on tick. Save it as local object. 2009 SAP AG 8
Application component is made. Now activate it. 5. Create Data Source Select Data Source under Modeling. Right click on appl component. 2009 SAP AG 9
Note: enter data source name, description and data type as transaction data. And click on tick Enter descriptions under General info Tab: Under Extraction Tab give File name and other info as shown below: 2009 SAP AG 10
In the fields tab enter info object name in template column and press enter. It will ask to copy or not. Select copy. Then save & activate data source. Note: The Sequence must be same as in the file. 6. Create Info Source Right click on application component. And select create info source. Enter IS name as ZME1_IS and add description. Click on tick The following screen will appear. In the encircled part enter all info objects as in file. 2009 SAP AG 11
The snap shot below shows with filled details: Save and activate it. 2009 SAP AG 12
7. Create Transformation Select info source under modeling. Then right click on info source and select Create transformation. On next screen, fill in details as shown below. Click on tick. You will get a screen below of no of rules (no. of fields) generated 2009 SAP AG 13
Click on tick to get the diagram that shows one to one mapping Save and activate the transformation. 2009 SAP AG 14
8. Create Infocube Go to Info provider under modeling. Right Click on Info area < Create Info Cube Enter Info cube name and description. Click on Create button. Select BW and click on tick 2009 SAP AG 15
Click on Icon 2009 SAP AG 16
Select Your Info source. Here, ZME1_IS. The red marked part now appears. All info objects must be assigned to the cube too. There are 2 ways to do this A.) Copy from Template: Drag and drop all characteristics from template to info cube Dimensions Similarly drag and drop key figures, time and unit. B.) Right click on dimension > Info object Direct Input. Assign respective info objects to each category. 2009 SAP AG 17
So, info cube is assigned all info objects. Save and activate the cube. 2009 SAP AG 18
9. Create Transformation for Infocube On cube name, right click create transformation. Enter Info Cube name and object type as Infosource. Click on tick, Save and activate, you get the below diagram. 2009 SAP AG 19
See the Rule details after double clicking on the any rule Choose the Rule Type which you want to use, By default it is Direct assignment 2009 SAP AG 20
e.g 9AVERSION is having constant value as 000 then use Rule type as Constant and maintain the constant value After maintaining the Constant value, Press button 10. Create Data Transfer Process (DTP) Create Data Transfer Process (DTP).Right click create data transfer process. Save and activate. 2009 SAP AG 21
2009 SAP AG 22
11. Create Info Package Under modeling, select info provider. As shown, right click on data source > Create info package. Enter name and click save. Save again 2009 SAP AG 23
12. Load PSA Right click on info package > Schedule On next screen as shown below click on start button On status bar you see data requested. To check the contents in PSA, Double click on info package name. Below screen appears. Or Click on monitor then on date. 2009 SAP AG 24
Now click on symbol, to view PSA contents. On above screen, click on tick. The below screen shows.csv file contents loaded in PSA. 2009 SAP AG 25
13. Load Infocube Double click on the marked below then click on execute tab While loading it will ask if you want to see the monitor, select YES Following screen appears While loading a yellow triangle appears When loading to info cube is completed is indicated by a green circle. If any error comes check the for more details 2009 SAP AG 26
14.Display Infocube Contents To View Info Cube contents: Infocube is loaded successfully. 2009 SAP AG 27
Related Content https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageid=32737032 https://wiki.sdn.sap.com/wiki/display/bi/frequently+used+transaction+codes+in+bi https://forums.sdn.sap.com/thread.jspa?threadid=1189623 https://forums.sdn.sap.com/thread.jspa?threadid=217088 For more information, visit the Business Intelligence homepage. 2009 SAP AG 28
Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document. 2009 SAP AG 29