Understanding BW Non Cumulative Concept as Applicable in Inventory Management Data Model



Similar documents
Inventory Management in SAP BW

Step by Step Guide How to Copy Flat File from Other Application Server to BI and Load through Info Package

Understanding OLAP Processor and RSRT

Working with SAP BI 7.0 Data Transfer Process (DTP)

Step by Step Guide to Extract Batch Master Data via Generic and Classification Datasource to BW

Step by Step Guide for Language Translation Tool

Compounding in Infoobject and Analyzing the Infoobject in a Query

How to Assign Transport Request for Language Translation?

Step by Step Procedures to Load Master Data (Attribute and Text) from FlatFile in BI 7.0

Extractor in R/3 and Delta Queue

Inventory Management (0IC_C03) Part - 3

Step by Step guide of Report-to- Report Interface in BW Reporting

Scenario... 3 Step-by-Step Solution Virtual Infocube... 4 Function Module (Virtual InfoCube)... 5 Infocube Data Display... 7

Currency Conversion using Variables in SAP BI -Reporting

Reverse Transport Mechanism in SAP BI

Deploying Crystal Reports on Top of a SAP BI Query

SAP BW 7.3: Exploring Semantic Partitioning

Configuration and Utilization of the OLAP Cache to Improve the Query Response Time

How to Modify, Create and Delete Table Entries from SE16

Multi Provider Creation Based on Sales and Planning Info Cubes

Data Extraction and Retraction in BPC-BI

SAP BW - Excel Pivot Chart and Pivot Table report (Excel)

Embedding Crystal Reports inside ECC ALV Reports

ABAP Debugging Tips and Tricks

SAP CRM-BW Adapter an Overview

Step by Step Procedure to Block and Debug a CIF Queue Flowing from R/3 to APO System

SAP BW - Generic Datasource Function Module (Multiple Delta Fields)

SAP BW Configuration Basic System Settings

ALE Settings, for Communication between a BW System and an SAP System

Understanding BEx Query Designer: Part-2 Structures, Selections and Formulas

Restricting Search Operators in any Search View

Creating Content Using SO10 Objects and Text Symbols

Deleting the Requests from the PSA and Change Log Tables in Business Intelligence

Creating New Unit of Measure in SAP BW

APD to Update Marketing Attributes from SAP BI to SAP CRM

Query OLAP Cache Optimization in SAP BW

Creating Transaction and Screen Variants

ABAP How To on SQL Trace Analysis

Different Types of Alerts for Process Chains. Table of Content

Creation and Configuration of Business Partners in SAP CRM

Data Flow from LBWQ/SMQ1 to RSA7 in ECC and Delta Extraction in BI

Configuration of Enterprise Services using SICF and SOA Manager

Understanding DSO (DataStore Object) Part 1: Standard DSO

SAP FI - Automatic Payment Program (Configuration and Run)

SAP CRM Campaign Automation

How to Get Work Items from Workflow in your Outlook Inbox

Web Application Designer for Beginners

Step By Step Procedure to Create Logical File Path and Logical File Name

Step by Step Procedure to Create Broadcasters, to Schedule and to Enhance of SAP- BI Queries from Query Designer

SAP CRM System 6.0/7.0. For more information, visit the Customer Relationship Management homepage

SAP BI/BW LO Extraction

BW Performance Monitoring

Deleting the User Personalization done on Enterprise Portal

Exposing RFC as Web Service and Consuming Web Service in Interactive Forms in ABAP

Creating Web Service from Function Modules/BAPIs & Integrating with SAP Interactive Forms

Quick Viewer: SAP Report Generating Tool

Standard SAP Configuration of SMS through HTTP with Third Party SMS Gateway

SAP CRM 7.0 for Newbies: (Part 1) Simple BOL Object Creation for CRM Webclient UI

Guidelines for Effective Data Migration

Table of Contents. Passing Data across Components through Component Controller between Two Value Nodes

How to Generate Stack Xml for Ehp4 and Above Upgrade

Introduction to COPA and COPA Realignment

Display Options in Transaction SE16

Process Controlled Workflow SRM 7.0 (Using BRF)

LSMW: Upload Master Data using Batch Input Recording

SAP BI Generic Extraction Using a Function Module

SAP NetWeaver Developer Studio 7.30 Installation Guide

Web Dynpro ABAP: ALV and Table in Popup Window

SAP CRM 7.0 E2C Setup: CRM via Toolset

Configuring HTTPs Connection in SAP PI 7.10

Valuation of Materials using FIFO Method

Table of Content. SAP Query creation and transport Procedure in ECC6

Invoice Collaboration: Self Billing Invoice

Splitting the Custom Container & Display more than one ALV

Customer Exit Variables in SAP BW/BI Reports First day of the Current/Previous Month

Release Strategy Enhancement in Purchase Order

Create Automatic Mail Notification/ Alert for Process Chain Monitoring

SAP Workflow in Plain English

Creating and Scheduling Publications for Dynamic Recipients on SAP Business Objects Enterprise

Vendor Consignment. Applies to: Summary. Author Bio. SAP ECC 6.0. For more information, visit the Supply Chain Management homepage.

Sales Commission Calculation & Settlement Handling through Order Processing

Middleware Configuration and Monitoring for Master Data Transfer from SRM to ECC

Transfer of GL Master from Source SAP System to a Target SAP System through IDOCS

ABAP Proxy Interfacing

SDN Community Contribution

Web Dynpro: Multiple ALV Grids and Layouts in ALV

Dynamic Authorization Concept and Role Assignment in BI

Quantifying the Amount of Cash Discount Lost

How to Integrate CRM 2007 WebClient UI with SAP NetWeaver Portal

Forgot or Lock "Administrator or J2EE_ADMIN" Password

SAP CRM Middleware Configurations

Mandatory Field Check in Web Dynpro- ABAP

Salesforce.com Integration Using SAP PI: A Case Study

Merge PDF files in ABAP

Organizational Management- Organizational Structure Creation

Consuming Services in SOA Manager

Step by Step Guide to Archiving and Deleting of XML Messages in SAP NetWeaver PI

SAP MM: Purchase Requisition with Classification and Workflow Approval

Overview of SAP BusinessObjects Risk Management 10.0

Converting and Exporting Data in XML Format

Transcription:

Understanding BW Non Cumulative Concept as Applicable in Inventory Management Data Model Applies to: SAP R/3, SAP ECC 6.0 and SAP BI NetWeaver 2004s. For more information, visit the Business Intelligence Homepage. Summary The concept of Non Cumulative is complicated. Tried my best to explain the same with suitable examples. This page will help us to give understanding of OLAP Processing for Non Cumulative. Author: Vipin A Company: Cognizant Created on: 18 July 2011 Author Bio Vipin is currently working with Cognizant as BW Senior Consultant. He has more than 4 years of experience in BW and 2 years of experience in ABAP 2011 SAP AG 1

Table of Contents Definition... 3 Features of Non-Cumulative:... 3 Key Concept:... 3 Working of Non Cumulative (Explaining with an Example):... 3 Query Execution:... 4 Important Key Figures:... 5 Content on 0IC_C03 cube via Listcube using RECORDTYPE: 1... 6 Analyzing the query 0IC_C03/0IC_C03_Q0030... 7 Technical Side of Non Cumulative:... 9 Related Content... 13 Disclaimer and Liability Notice... 14 2011 SAP AG 2

Definition Non-cumulative values are those key figures that are measured in relation to a period of time; that is to say they cannot be meaningfully cumulated over time. Non-cumulative values are summarized over time using so-called exception aggregation. In RSD1 you can see that 'normal' key figures are assigned to such a non-cumulative key figure which describes the Inflow and Outflow (or the value change (delta)). In the query the ncum key figure is then calculated (for the requested days) by taking the data given by the key figures Inflow and Outflow. From a technical point of view the handling of Non Cumulative key figures is very different in comparison to cumulative key figures. The values are only calculated during query runtime and not stored at all in the fact tables. That s why you can t find this key figure in the transaction LISTCUBE. The technical infoobject 0RECORDTP (in the package dimension) was introduced only for Non Cumulative. Features of Non-Cumulative: Some common questions: 1. How so we calculate Stock Values? Stock values are calculated by using Current Stock values backward using the movements. Only those Stock Values get calculated which are coming under Validity Period. If Stock Values are required outside from Validity Period then those values are displayed in Bracket. 2. How an Infocube become Non Cumulative Cube? When a Non Cumulative Key Figure becomes part of an Infocube then that Infocube become Non Cumulative Cube. 3. What are the different types of Non Cumulative Key Figure? There are two types of Non Cumulative Key Figures: Key Concept: Validity tables: Delta Movement Key Figure. Separate Inflow and Outflow Key Figure. A Validity table defines the time interval for which stock values are defined. For InfoCubes with non-cum. Key Figures you need to maintain a Validity table when creating the Infocube. This table specifies the time interval for which the Non-Cumulative are valid for a specific characteristic combination. You can find the validity table in Ta: SE16 - /BI0/Lxxxxxxxx (xxxx being the name of the Infocube).The Validity table is automatically filled during the upload. Working of Non Cumulative (Explaining with an Example): There is a need to calculate total stock of ABC Company for a given week: Initially ABC-plant 1000 had 2000 pieces of sweets in stock (Initial stock value). Monday+Tuesday+Wednesday+Thursday+Friday Stock inward 200 + 250 + 100 + 150 + 200 = 900 Deliveries outward 100 + 150 + 50 + 150 + 50 = 500 Non Cumulative stock is 2400 pieces of sweets. By above simple example, we can understand that Non Cumulative is calculated as Initial Stock + Stock Inward Deliveries Outward 2011 SAP AG 3

Query Execution: When query is getting execute on Non cumulative key figures then OLAP processor following this formula: Value (t) = Tuple + Tuple - Tuple Requid = 0 AND Requid > 0 Ref time > t Recordtp = 1 AND ref Time = {Value at infinity} {Deltas for backwards Calculations} Query calculates Stock for Specific Period by using Inflow and Outflow Movements and Marker Point. It begins its calculation by using Current Stock (Marker) + Total delta of all Uncompressed Requests and then it calculates BACKWARDS the Stock Value for a certain day. (Green = Compressed Request / Red = Uncompressed Request/ Yellow = Initial Stock). In the above example, we can see Reference Point as 160. Let s calculate the Stock Value for JUNE. Now here Stock Valuation works on base of above Formula: Current Stock (Marker) 150 + Uncompressed Request 10 Stock Value for Aug and July (10 + 22). So Stock Value for June is 128. One more example to illustrate in a simple way: When Query gets executed for Stock Value it will follow same formula. In Simple words: 2011 SAP AG 4

Value at infinity (E Fact table) + Value of not compressed request in F Fact table - Value (time cube > time query) Here scenario is find Stock Value for Feb (2): 20+40 (40+-10+20) = 10. Important Key Figures: There are 3 important key figures for non cumulative. 1) Inflow (0RECTOTSTCK) 2) Outflow (0ISSTOTSTCK) 2011 SAP AG 5

3) Total Stock (0TOTALSTCK) These 3 Key Figures are very important. Non Cumlative values get calculate by these 3 Key Figures. Total Stock (0TOTALSTCK) = Initial Stock + Inflow (0RECTOTSTCK) - Outflow (0ISSTOTSTCK). Content on 0IC_C03 cube via Listcube using RECORDTYPE: 1 When the RecordType is given the value 1 it will give the Marker Update i.e. 31.12.9999. Following displays the difference of displaying the content on 0IC_C03 cube using RECORDTYPE = 1 and RECORDTYPE=0. Case 1: When RECORDTYPE is 1 in listcube 2011 SAP AG 6

Case 2: When RECORDTYPE is 0 in listcube The Marker Update (31.12.9999) is not displayed when the RECORDTYPE value is 0. Analyzing the query 0IC_C03/0IC_C03_Q0030 Execute the Query 0IC_C03/0IC_C03_Q0030 with these data s: 2011 SAP AG 7

Putting these value s in Variable: Calender year month = 10.2010 Material = M311 & M312 Plant = 3200 The Resultset: 2011 SAP AG 8

Technical Side of Non Cumulative: Function Module RSDRC_CUBE_DATA_GET_OLAP This Function module handling data from Non Cumulative cube to Queries. If we see its structure: <l_sx_rr>-rtime -> INTTYP: It contains these values: D Only movements F First day in interval L Last day in interval '*' - every day in interval Let s take example where we are facing issue with incorrect data coming in non cumulative query: Let s start with Debugging stuff. We need to analysis 2 parts: Data Manager part Olap Processor part Go to RSRT. Select option Execute+Debug option. It will open following screen: 2011 SAP AG 9

Here we need to select 2 options Olap Processor/DataManager and Data Transfer Olap Processor. Now execute. Program take you ride to debugging screens: Select TABLES tab: 2011 SAP AG 10

Here we can see one component: RTIME. Double click it: This time gives us the information that if there is anything wrong with time selection. We have chosen this as 10.2010 only. So, it s correct in this case. (Our Validity is 13.10.2010 for Plant 3200) We have chosen the Plant as 3200. If there is SIDHIGH more than 13.10.2010, then it will be an issue. Debugging provides the Cube details as well: Select PROV_RQDR from component: 2011 SAP AG 11

Select MINMAX. It gives more detail information about cube: 2011 SAP AG 12

Related Content Non Cumulative Key Figures Handling Inventory Scenario Using Non Cumulative Key Figures 2011 SAP AG 13

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