You are on page 1of 7

Validity Table in SAP BW/BI

Applies to:
Applicable for SAP BI 3.x and above

Summary
To maintain the cubes non cumulative Key figures. Author: Om Ambulker

Company: Cognizant, Pune Created on: 15 July 2011

Author Bio
Om Ambulker is a SAP BI Consultant currently working with Cognizant technology Pune. He has experience is BI Implementation and Support projects.

SAP COMMUNITY NETWORK 2011 SAP AG

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

Validity Table in SAP BW/BI

Table of Contents
Concept of Validity table ..................................................................................................................................... 3 What is validity Table? .................................................................................................................................... 3 What is Non Cumulative Key figure? .............................................................................................................. 3 Where does validity table come into picture? ................................................................................................. 3 Validity Table can be edited by: Tcode RSDV ................................................................................................ 5 "To Mode Column; ......................................................................................................................................... 5 Validity table update: ....................................................................................................................................... 5 Related Content .................................................................................................................................................. 6 Disclaimer and Liability Notice ............................................................................................................................ 7

SAP COMMUNITY NETWORK 2011 SAP AG

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

Validity Table in SAP BW/BI

Concept of Validity table


What is validity Table? Validity table defines the range of the characteristic values for which the non cumulative Key Figure is valid. What is Non Cumulative Key figure? Key figures that are always in relation to a point in time and are not simply added to summarize. Example: Head count, Inventory stock. Where does validity table come into picture? We need to maintain a validity table for InfoCubes which contain non cumulative key figures. Validity table is based on time characteristic with combination of any other characteristic in the InfoCube depending on the requirement. Example: Let us say your cube has 0calday, and it has data from 01/01/2010 to 12/31/2010. If you run a query and check (say its stock cube), stock balance per day per plant, it will calculate balances for each plant and show starting from 01/01/2010 onwards. However, if you had a plant that became operational on 06/01/2010, you wouldn't want to see a 0 stock balance for it starting from 01/01/2009 but from the date the plant actually existed i.e. 06/01/2010. In this case, if your validity table had only 0calday, your report would show 0 Stock for each day from 01/01/2010 to 06/01/2010 for this new plant, while if you defined it at plant level, you will see the report starting at 06/01/2010 while it will start from 01/01/2010 for other plants. The Validity Table automatically contains the most detailed of the selected time characteristics which is also known as reference characteristic. Validity tables are defined while creating the InfoCube. These can be changed later if required. Goto cube --> change --> from Menu --> Extras --> Maintain Non cumulative Values.

The most detailed Time Characteristic is already included. We can select any other Characteristic that we require. We should select least number of additional characteristics.

SAP COMMUNITY NETWORK 2011 SAP AG

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

Validity Table in SAP BW/BI

To add new characteristic or delete existing characteristic from Validity Table Program RSDG_CUBE_VALT_MODIFY

SAP COMMUNITY NETWORK 2011 SAP AG

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

Validity Table in SAP BW/BI

Validity Table can be edited by: Tcode RSDV

"To Mode Column; This column can have the following values. Default is blank 1. " " (blank) . This is the default value means you cannot change the validity table entries. 2. F : This means fixed. You can put a fixed value for validity date. 3. R :This means relative. You can put a relative value for validity date. If you made "To mode" as F, you can put the fixed date value in the column "Fixed to time". This will be the date to which you need to extend the validity table. - If you made "To mode" as R, leave the column "fixed to time" untouched with its default value and edit the column "To rel". Here you will give the offset in days by which you need to extend the validity table. Validity table update: The system automatically generates the validity table corresponding to the definition that was made. This table is updated automatically when loading data. If the Validity Table contains only the Time characteristic then the lower limit is defined with the data record that is first according to the Time characteristic and upper limit with the highest value. If additional characteristics added in the validity table then limits set by combination of characteristics.

SAP COMMUNITY NETWORK 2011 SAP AG

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

Validity Table in SAP BW/BI

Related Content
www.sdn.sap.com www.help.sap.com

SAP COMMUNITY NETWORK 2011 SAP AG

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

Validity Table in SAP BW/BI

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 2011 SAP AG

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

You might also like