Calculating the Ageing of the Materials

Similar documents
Using Customer Exit Variables in BW/BI Reports: Part - 9

Using Customer Exit Variables in BW/BI Reports: Part - 5

Analysis Process Designer (APD): Part - 1

Related to Process Type in BI 7.0: Decision between Multiple Alternatives

Establishing RFC Connection between Data Stage SAP BW

SAP BW - Dynamic Call Customer Exit Variables Using Same Exit

How to Restart a Failed Process Chain if Repeat Option is not Applicable

Creating Marketing Project Report through Report Painter

Reporting Data in Alternate Unit of Measure in BI 7.0

SAP Business Workflow: Identify Transport Request for Workflow

SAP CRM/BW - Business Partner Enhancement and BW Extraction

SAP BW - Virtual Characteristic Exit (RSR00002)

Efficient Monitoring Techniques Do You Want Something Better than RSPCM?

Purchase Order Settings in SAP SRM

How to Perform Benefits Checks using Participation Monitor

Guidelines for Creating a QM Certificate for Delivery in Product Lifecycle Management

Solution Manager Service Desk Support Team Creation

Procedure for Transferring Documents from Financial Accounting to Controlling

Travel Management: Posting of Expenses to Different GL Accounts based on the Kind of Travel (Domestic or International)

Integrating SAP BW with Microsoft BI Using Open Hub Technology

How to Load Data into Planning Book from Flat File

How to Update the Currencies and Unit of Measurements from ECC Source System to BI System by Automatically and Manually

Four Methods for Planning Data Validation in BPC70NW

Creation of BI Master Data in Integrated Planning (IP) through Web Layouts

Automatic Rework Order using Reason of Variance Key

How to Repair Master/Transaction Data Load Error Due to trfc Stuck

HR Payroll Posting into FICO Expense Account

Batch Management with Multiple Units of Measurement

SAP Sustainability Performance Management v1.0 (Part 3)

Batch Specific UOM Inventory Management: Stock Keeping with Dynamic Conversion Factor

Using the Switch Document for Change of Supplier Process (Utility Industry)

Dynamic Daily Work Schedule Based on Clock Times

SAP Technical Upgrade Project

Purchasing Discount in Kind

SNP: CTM Concepts, Demand Prioritization and Supply Categorization

Integration of Multiple Campaigns Functionality of SAP CRM 2007 to ECC 5.0 or lower

Customer Field for SRM SC Web Dynpro Application

Product Allocation Strategy Based on Marketing Strategy

Decommissioning of NLS Implementation for SAP BI

Like Modeling and Life Cycle Planning A Case Study

Independent Multiple Samples in Supply Chain Management

SAP Business Process Management Base Configurations

Migration of DIR (Document Info Record) with Attachments - DMS

Promote Standardized Solution in SAP Environment

Integrating MDM with BI - Part 1

Demand Release and Forecast Consumption Consumption in APO SNP

Approved Manufacturer Part List (AMPL)

Setup Matrix Generation in a Complex Manufacturing Environment

Exception Handling in Service-Oriented Architecture

Subcontracting of Project Stock

APO: Characteristics Based Forecasting

Transporting the Appraisal Templates in Performance Management

Active Ingredient Management and Batch Balancing

White Paper: Master Data Syndication from SAP NW MDM to Backend SAP & Non-SAP Application via SAP NW PI

Invoicing Plan Enhancement in Purchase Order

Impact Analysis of Technical Upgrade from SAP for Insurance Collections/Disbursements (FS-CD) 4.7 to ECC 6.0

Guideline to Map Calibration Process in SAP PM and QM Module

Setting up Organizational Plan

Collaboration of Production Process with Contract Manufacturers in Hi-Tech Industries

Introduction to Process Chains in SAP BI 7.0

Stock Transfer between Storage Locations of the Same Plant

PCM Implementation for BW

FI Enhancement Technique How-To-Guide on the Usage of Business Transaction Events (BTE)

Automatic Packaging in SNC A Case Study

Pricing in SAP CRM E-Commerce Product Catalog

Installation Guide: Open Text Archiving and Document Access for SAP Solutions (DocuLink Component)

GOA Contracts Price Validation Functionality

Optimizing Inventory using Product Interchangeability in SAP APO

Working with the New GL Migration Cockpit

The author is working as a Technical Analyst in Infosys Technologies Limited.

Guidelines: Activating Source Inspection for Externally Procured Parts

The Enterprise SOA Implementation Lifecycle Explained

Transportation Chain-Shipping Cost Calculation for Multi leg with Different Vendors in SAP

How to Add a New Personnel Development Profile to PPPM

Fixing Sales Prices of Merchandise on par with Competitors

SAP BusinessObjects Rapid Marts Overview - 1

Step By Step Configuration Document of Employee Self Service (ESS)

Quality Based Invoice

Calculate with Attributes

Complete Guide to Learn Organizational Plan & Role Resolution in Workflow

SAP for Insurance Part 1

SRM Org Structure Part 2 Tools, Tables and Reports

Leveraging SAP for Outsourcing and Collaboration Scenarios in High-Tech Industry

Data Loading Strategy for Global Data Warehousing Implementation

SAP Upgrade Delta Document SD Module

Business Process Management with JRULE

Object based Navigation based on Business Objects and POWL

USER GUIDE TO GET STARTED IN FINACCT INVENTORY

The Role of ISO in Strategic Asset Lifecycle Information Management

How Slaughter Planning of Poultry Works in SAP

SOX perspective of internal control & COSO, COBIT Control frameworks.

UWL Configuration for Opening Web Dynpro ABAP Application for Appraisal Document in EHP4

The information contained herein reflects current planning and may be changed at any time without prior notice Product Management SAP NetWeaver (BI)

SOX Audit Environment

Overview on ROI (Return on Investment) From SAP

SAP QM Overview for ABAP Developers

Management of Global Employees

BI202. Best Practices and Tips for Best Performance of SAP BusinessObjects XI 3.1 on SAP NetWeaver BW. The Good, Bad and the Ugly

SAP BusinessObjects Report Conversion Tool Functionality and Use

INV101: Set Up Inventory

Transcription:

Calculating the Ageing of the Materials Applies to: SAP BW 3.5, Will also work on SAP BI 7 For more information, visit the Business Intelligence homepage. Summary This article explains how to calculate the Age of the Material and give related Stock Quantity. Author: Surendra Kumar Reddy Koduru Company: ITC Infotech India Ltd. (Bangalore/INDIA) Created on: 07 March 2009 Author Bio Surendra Kumar Reddy Koduru is a SAP BI consultant currently working with ITC Infotech India Ltd (Bangalore/INDIA). He has over 4+ years of experience in various BW/BI implementation/support projects. 2009 SAP AG 1

Table of Contents Introduction:...3 Importance of this Report:...3 Logic:...3 Steps:...3 1. Create a Formula Variable with Replacement path see the properties shown below...3 2. Create one more Formula variable with Customer Exit. See the properties shown below...4 3. Write the following code in Customer Exit (in CMOD)...5 Code:...5 Report:...5 Related Content...12 Disclaimer and Liability Notice...13 2009 SAP AG 2

Introduction: This article describes how to calculate the Stock Ageing of the Materials. By looking at this report the users/management knows that what the age of the particular Material and Batch, based on that, they will push the Materials in to the Market. Importance of this Report: This report will decide the Revenue of the Business. Because by looking at this report, Management/Sales Executive comes to know that, first which Materials need to push into the market. So by this you can sell 100% of your Products in time which are produced at various Plants and reduce the wastage of Material due to expiry date (Shelf Life). This article will tell you, how to subtract the Dates, so you can use this logic in another scenario also, here I taken, how to calculate the Age of the Material. Logic: Here we are using 0IC_C03 InfoCube, which will give the Stock Quantity at various locations (Plants level) based Material and Batch combinations. Batch is having the Date of Manufacturing, this is attribute of 0BATCH. In this example we are considering Characteristics: Division Material Batch Plant Note: Batch is having Manufacturing date as an attribute. Time Characteristics: 0Calday. KeyFigure: Valuated stock qty (0VALSTCKQTY) Steps: 1. Create a Formula Variable with Replacement path see the properties shown below Type of Variable Variable Name Characteristic Replace Variable With Attribute For Intervals Use = Formula = ZBMFG = Batch = Attribute Value = Date of Mfg. = Select From Value Offset Start = 0000 Offset Length = 0000 2009 SAP AG 3

2. Create one more Formula variable with Customer Exit. See the properties shown below Type of Variable Variable Name Description Processing by Characteristic Variable Entry is Ready for Input Replace Variable With Dimension ID = Formula = ZCURDAY = Current Day Value = Customer Exit = Formula Variable = Mandatory = Don t check it = Attribute Value = Date 2009 SAP AG 4

Code: 3. Write the following code in Customer Exit (in CMOD) IF i_step = 2. CASE i_vnam. WHEN 'ZCURDAY'. CLEAR: l_s_range. l_s_range-low = sy-datum. l_s_range-sign = 'I'. l_s_range-opt = 'EQ'. APPEND l_s_range TO e_t_range. ENDCASE. ENDIF. Report: Totally we have 3 Variables. ZBMFG - For Batch Manufacturing date. ZCURDAY - For to get Current date. ZCDAY - User Input Variable on 0Calday User will enter the Date using ZCDAY variable, so till that date, the data will retrieve from InfoCube. So till that date, the Age of Materials will calculates in report and it will display in buckets i.e. 0-30 Days, 31-60 Days, and 61-90 Days like that. So the Total stock will display in each bucket. 2009 SAP AG 5

Report Screenshots: 2009 SAP AG 6

2009 SAP AG 7

2009 SAP AG 8

2009 SAP AG 9

Run the Report then give Date and execute. 2009 SAP AG 10

You can see the above report result. You can hide Stock and Difference columns, I just displayed for our understanding purpose only. I restricted this report only till 90 days, so in the first row the difference is 119 but it doesn t fall on any bucket, because I defined up to 90 days only. In the second row Difference is 71 days, so it will fall on 60-90 Days, so the stock will display under 60-90 days column. 2009 SAP AG 11

Related Content Reports Check in Application Server Using Text Variables with Customer Exits in Report Headings BI Suite: Business Explorer For more information, visit the Business Intelligence homepage. 2009 SAP AG 12

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 13