You are on page 1of 10

Reporting Data in Alternate Unit of Measure in BI 7.

Applies to:
SAP Business Intelligence 7.0. For more information, visit the Business Intelligence homepage.

Summary
In SAP NetWeaver 2004s or SAP BW 7.x, new concepts and functionality are available in the Data Warehousing Workbench for reporting in alternate UOM using transaction RSUOM. The document will cover how to report data in alternate units of measure in BEx Author: Swati Ramteke

Company: Patni Computer System Ltd Created on: 11 January 2010

Author Bio
Swati Ramteke is a BI Consultant working in Patni Computer System Ltd.. Swati has got a working expreince of more than 2 yeras in SAP-BI 7.0 , SAP BI 3.5 & SAP ABAP.

SAP COMMUNITY NETWORK 2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 1

Reporting Data in Alternate Unit of Measure in BI 7.0

Table of Contents
Introduction to UoM Conversion in BI 7.0 ........................................................................................................... 3 Transactions Used .......................................................................................................................................... 3 InfoObject Maintenance InfoProvider maintenance RSD1. ............................................................................................................... 3 RSA1. ............................................................................................................ 3 RSUOM. ........................................................................................... 3

Creation of quantity conversion type-

Prerequisites: .................................................................................................................................................. 3 Creating quantity conversion type: .................................................................................................................. 4 Using quantity conversion type in query definition: ......................................................................................... 6 Related Content .................................................................................................................................................. 9 Disclaimer and Liability Notice .......................................................................................................................... 10

SAP COMMUNITY NETWORK 2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 2

Reporting Data in Alternate Unit of Measure in BI 7.0

Introduction to UoM Conversion in BI 7.0


UoM Conversion is used to translate key figure with unit field into another unit during query execution in BI 7.0. UoM conversion can be done at different level and by different way as per requirement. The document will focus on InfoObject specific UoM conversion at query execution level. UoM Conversion is based on Unit conversion types. A combination of source and target unit, quantity conversion types is used to determine conversion factor, which in turn is used for performing the unit conversion Transactions Used InfoObject Maintenance InfoProvider maintenance Creation of quantity conversion typePrerequisites: A Characteristic object should have base UOM and must have UOM. To specify this, go to Business Explorer tab in Info object details. Perform following setting. Step 1: Select the base unit of measurement. RSD1. RSA1. RSUOM.

Step 2: Create Unit of Measure for characteristics. This will create DSO automatically. Specify name and InfoArea for DSO. Now this DSO will have following structure. Key Key Key <Material> (i.e InfoObject) <Compounding for InfoObject, if any> <Target Unit of measure > <Base unit of measure> <Conversion factor: Counter> <Conversion factor: Denominator>

SAP COMMUNITY NETWORK 2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 3

Reporting Data in Alternate Unit of Measure in BI 7.0

This is system generated DSO, Key fields contain InfoObject Material (GCSMATE) and target Unit which is 0UNIT. Data fields are base unit of measure, counter and denominator for getting conversion factor.

Conversion factor is calculated as: Conversion factor = counter / denominator In order to perform UOM conversion this DSO must have data. To upload data you need to create transformation and DTP. Creating quantity conversion type: Step1: Transaction RSUOM

Step2: Write name of quantity conversion type and click create or press F5.

SAP COMMUNITY NETWORK 2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 4

Reporting Data in Alternate Unit of Measure in BI 7.0

Step3: Give long and short description. In conversion factor tab, select the Dynamic determination of conversion factor using Reference InfoObject as specified. Also give in InfoObject name.

. Step4: In UoM Tab, source unit of measure and target unit of measure. And then SAVE. Here target unit of measure is from variable. The variable is created in query designer on characteristics 0UNIT.

SAP COMMUNITY NETWORK 2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 5

Reporting Data in Alternate Unit of Measure in BI 7.0

Using quantity conversion type in query definition: Step 1: Open query designer and create query on InfoCube as per requirement having key figure of type quantity in order to perform quantity conversions. Step 2: In the properties for the key figure, go to the conversion tab and select the earlier defined conversion type (GCSUOMT).

SAP COMMUNITY NETWORK 2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 6

Reporting Data in Alternate Unit of Measure in BI 7.0

Step 3: Now in order to give flexibility to select UoM create variable for target unit. Click on the target unit variable as shown.

Step4: create variable of processing type user entry. And select in target unit.

SAP COMMUNITY NETWORK 2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 7

Reporting Data in Alternate Unit of Measure in BI 7.0

Step 5: Save and execute the query. . When query is executed the selection screen will ask for Unit of Measure. And result will in the selected unit.

SAP COMMUNITY NETWORK 2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 8

Reporting Data in Alternate Unit of Measure in BI 7.0

Related Content
Quantity conversion in help.sap.com

http://help.sap.com/saphelp_nw04s/helpdata/en/27/b38c4284a8c353e10000000a1550b0/frameset.htm
Quantity conversion in SAP BI 3.0

http://www.scribd.com/doc/6219660/How-To-Report-Data-in-Alternate-Units-of-Measure For more information, visit the Business Intelligence homepage.

SAP COMMUNITY NETWORK 2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 9

Reporting Data in Alternate Unit of Measure in BI 7.0

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.

SAP COMMUNITY NETWORK 2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 10

You might also like