Currency Conversion using Variables in SAP BI -Reporting



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

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

Inventory Management (0IC_C03) Part - 3

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

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

Step by Step Guide for Language Translation Tool

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

Creating New Unit of Measure in SAP BW

Extractor in R/3 and Delta Queue

Compounding in Infoobject and Analyzing the Infoobject in a Query

SAP FI - Automatic Payment Program (Configuration and Run)

Creation and Configuration of Business Partners in SAP CRM

Deploying Crystal Reports on Top of a SAP BI Query

How to Modify, Create and Delete Table Entries from SE16

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

Multi Provider Creation Based on Sales and Planning Info Cubes

Reverse Transport Mechanism in SAP BI

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

How to Generate Stack Xml for Ehp4 and Above Upgrade

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

Embedding Crystal Reports inside ECC ALV Reports

How to Assign Transport Request for Language Translation?

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

SAP BW Configuration Basic System Settings

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

Restricting Search Operators in any Search View

Understanding DSO (DataStore Object) Part 1: Standard DSO

SAP BW 7.3: Exploring Semantic Partitioning

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

BW Performance Monitoring

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

Data Extraction and Retraction in BPC-BI

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

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

Working with SAP BI 7.0 Data Transfer Process (DTP)

Creating Content Using SO10 Objects and Text Symbols

Quick Viewer: SAP Report Generating Tool

SAP CRM Campaign Automation

Deleting the User Personalization done on Enterprise Portal

Creating Transaction and Screen Variants

Understanding OLAP Processor and RSRT

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

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

LSMW: Upload Master Data using Batch Input Recording

How to Create an ecatt?

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

Create Automatic Mail Notification/ Alert for Process Chain Monitoring

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

Direct Subcontracting Process (SAP SD & MM)

ABAP How To on SQL Trace Analysis

Display Options in Transaction SE16

Inventory Management in SAP BW

APD to Update Marketing Attributes from SAP BI to SAP CRM

SAP CRM-BW Adapter an Overview

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

Query OLAP Cache Optimization in SAP BW

How to Load Data from Flat Files into BW PSA

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

Converting and Exporting Data in XML Format

ABAP Debugging Tips and Tricks

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

Invoice Collaboration: Self Billing Invoice

Different Types of Alerts for Process Chains. Table of Content

Order Split Usage in Production Orders

SPDD & SPAU Adjustments Handbook

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

Configuration of Enterprise Services using SICF and SOA Manager

SAP CRM Middleware Configurations

How to Integrate CRM 2007 WebClient UI with SAP NetWeaver Portal

ABAP Proxy Interfacing

Valuation of Materials using FIFO Method

Web Dynpro ABAP: ALV and Table in Popup Window

Multi Level Purchase Order Release Strategy

SAP CRM 7.0 E2C Setup: CRM via Toolset

Process Controlled Workflow SRM 7.0 (Using BRF)

A Step-by-Step guide on SMTP Configuration and File to Mail Scenario Using Process Integration Scenario in PI 7.1

Market Basket Price Calculation in Retail

Organizational Management- Organizational Structure Creation

Workflow Troubleshooting and Monitoring in SAP ECC 6.0

Offline Mode SAP Mobile BI 4.1. Author : Priya Sridhar

Guidelines for Effective Data Migration

Credit Management in Sales and Distribution

Sales Commission Calculation & Settlement Handling through Order Processing

SAP BI Generic Extraction Using a Function Module

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

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

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

Web Dynpro: Multiple ALV Grids and Layouts in ALV

Introduction to COPA and COPA Realignment

SAP MM: Purchase Requisition with Classification and Workflow Approval

Quantifying the Amount of Cash Discount Lost

Release Strategy Enhancement in Purchase Order

Using PI to Exchange PGP Encrypted Files in a B2B Scenario

First step to Understand a Payroll Schema

Dynamic Authorization Concept and Role Assignment in BI

Step by Step Guide to Create a Generic Datasource Based on Infoset Query Populated Via External Program

Consuming Services in SOA Manager

SAP BI/BW LO Extraction

Forgot or Lock "Administrator or J2EE_ADMIN" Password

Transcription:

Currency Conversion using Variables in SAP BI -Reporting Applies to: SAP BI 7.0. For more information, visit the Business Intelligence homepage. Summary This Article gives you a brief idea on how to do currency conversion by using variables in Reporting in SAP BI 7.0 Author: A.S.Ramanath Kumar Company: Tata Consultancy Services Ltd Created on: 15th Feb 2010 Author Bio Ramanath Kumar is an SAP BI/BO consultant currently working with Tata Consultancy Services (Bangalore/INDIA). He has got rich experience and worked on various BI/BO implementation/support projects. 2010 SAP AG 1

Table of Contents Introduction:... 3 Business Scenario: (Live scenario)... 3 Steps:... 3 Related Content... 13 Disclaimer and Liability Notice... 14 2010 SAP AG 2

Introduction: Currency Conversion at reporting level is explained in this article by step by step method, as and above SAP BW 3.5 versions we have options of creating variables for currency conversions. In this scenario SAP BI 7.0 Version is been used. The exchange rates are stored and maintained in SAP BI in the table TCURV (Explained in the later stages in this article), these exchange rates cannot be same these will vary from time to time and day to day the exchange rate type distinguishes between exchange rates that are valid in the same time frame, for example, the bid rate, ask rate or middle rate. Target currency: The target currency can either be fixed in the translation type or not selected until the time of translation. Create a variable type for the technical InfoObject 0CURRENCY Variable 0PCURPR. Business Scenario: (Live scenario) In most of the reports for Example FI, SD, MM etc. Customer always wants to see the currency related keyfigures in the local currencies (Company code currencies as different company codes has different currencies) For example If the company is global and the business is done in various countries and the head office is some where in the Europe or America they always would like to see the currencies in the Local Values. Ex: If sales happens in Europe and Company is in America they want to see all the sales revenues in USD where as the business is done in Europe Pounds/Franks etc hence we need to convert all the Pounds/sterling s etc into USD. To display the data as per above example we create Variable type for the currency variable in BI. Steps: Before going into the main topic let us know how to maintain the exchange rates in SAPBI system A) While transferring the exchange rates from ECC at the initial/first stages follow the menu path Call Transaction RSA1 in Sap BI System go to Source systems select ECC source system right click and select Transfer Exchange rates as shown in the screen shot 2010 SAP AG 3

B) The first part is the one time transfer of exchange rates from SAP ECC to the SAP BI, but exchange rates keeps on changing for every hour to hour and day to day in this scenario we need to schedule the back ground job to update the exchange rates Call the same transaction as shown above and you will enter into the following screen 2010 SAP AG 4

Now select the program in the top left Select Execute Back ground Now you can schedule the jobs hourly/daily as per convenience 2010 SAP AG 5

Now let us see how we can convert currency in reporting using variable Let us see some examples with out currency conversions, if we observe from the below report, we can see different country currencies but we need the currencies in USD 2010 SAP AG 6

if we observe from the below report, we can see different country currencies but we need the currencies in USD/ZAR or TRL Let see the solution for currency conversions and how to achieve (In this scenario convert all ZAR and TRL currencies into USD) Steps 1. Go to the T code RSCUR and define the currency translation Type as ZINV_VAR and click the create icon on the top 2. On the exchange rate tab select the exchange rates (in this scenario I have selected exchange rate type as M since exchange rates are updated in BI system on hourly basis) 3. In currency tab select the Target currency and the variable 0P_CURPR ( it is a variable to 0CURRENCY) since our aim is to get the currencies in Target currency by passing values to the variable. 2010 SAP AG 7

4. On the time reference tab select the time characteristics ( In this scenario 0calday has been used as Variable time reference since all the exchange rates for the time is stored in BI system, For example we need the data of last month particular day we should get the exchange rates of that particular day) 2010 SAP AG 8

5. Log in into Bex and open the query 6. We want the Value of the stock and Price per unit in the Target currencies so value of the stock is obtained by calculating Stock on hand multiplied by price per unit so in this example calculated key figure has been taken 7. Currency type(zinv_var) for the variable 0P_CURPR is selected from the tab conversions and from currency translation for the calculated key figure. 2010 SAP AG 9

8. The same can be repeated for the Value of the stock also 9. After Including the currency conversions types for the variable of 0CURRNECY at query level save the query and execute Now the Variable screen appears as below 2010 SAP AG 10

10. Now we have the options of selecting the target currencies of different countries currencies as in the below screen shot 11. Now select USD as Target currency as shown in the below screen shot 2010 SAP AG 11

The result of the query would be in Target Currency USD, all the other country like currencies ZAR and TRL is converted into USD Let us see some more examples of converting into other country currencies like INR 2010 SAP AG 12

The result of the query would be as in the below screen shot We got the targeted currencies as desired Related Content Reference 1 http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e473ab90-0201-0010-22ac-fdd925cac167 Reference 2 http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0d5bf96-b19b-2c10-e3b6-e2f12a3de99a Reference 3 http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/287bab90-0201-0010-f48e-cc55b0cd13d0 For more information, visit the Business Intelligence homepage. 2010 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. 2010 SAP AG 14