Skip to Content
Technical Articles
Author's profile photo Kanchana Subbiah

SAP Analytics Cloud – Planning – Measure Based Model (Pre-converted actuals & Working with Multi Currency Conversion)

Authors: Sridhar SundaramKanchana Subbiah

The use case for this blog is where myself & Sridhar tried to achieve the following scenarios with the new measure-based Planning model in SAP Analytics Cloud

  • Pre-converted actuals from SAP S/4 HANA
  • Multiple currency planning and currency translation

In a real-life scenario, Users want to compare actuals vs plan numbers by different currencies

(especially group currency, company code currency and transaction currency) and more often the actuals need to be made available using the daily rates maintained in S/4 HANA TCURR table, while in planning we typically use average & closing rates.

In an Account type model, there is an option to load the pre-converted actuals by enabling them from model preferences.

With the new measure-based model, this option is not available. As we know already we could have measure based model, we can have multiple measures with or without an Supporting Account Dimension

Additionally, you could set the calculation priority / solve order using model preference settings which determines whether Account dimension settings (like aggregation etc.) or measure settings takes precedence

Model%20Preferences

In this use case , where we need to load 3 different currency types for the same Account Dimension member , we could create them as 3 different measures (one for each currency type) and load the 3 different currency values from (ACDOCA) Universal Journal Entry table of S/4 HANA consumed directly as oData Services API in a SAP Analytics Cloud query where fields are mapped as

  • TSL– Amount in Transaction Currency
  • HSL– Amount in Company Code Currency
  • KSL– Amount in Global Currency

SAP%20S/4%20Query

SAP Analytics Cloud Query on S/4 HANA – API_JOURNALENTRYITEMBASIC_SRV

Map%20To%20Target

Map To Target

The steps described below, details out the above use case.

  1. Create a Measure Based Model in SAP Analytics Cloud with the required Dimension and Measure as shown below

Measure%20Based%20Model

Measure Based Model

2. Create a Currency as one of the Generic dimensions and maintain the transaction currencies as members and enable Currency in Details – System Properties of the dimension

Currency%20Dimension

Currency Dimension

Dimension%20Settings

Dimension Settings

3. Create the Measure for Local Currency, Group Currency and Transaction Currency which is visible in the calculation’s workspace in the Model.

Currency%20Calculation

Currency Calculation

4. For the company Code currency, we use the Unit and Currencies from the Company Code Dimension, alternatively this can also be maintained as fixed if you do not want to use the company code currency similar to group currency

Measure%20Details

Measure Details

5. For the Group currency, we use the currency option as Fixed and default it to USD

Group%20Currency

Group Currency

6. For the Transaction currency, where the data will be entered in different currencies, we use the Unit and Currencies from the Currency Dimension

Unit%20and%20Currency

Unit and Currency

7. Save the Model, to test this let’s load some data in all three currency in Actuals in an excel file

Sample%20Data%20file

Sample Data file

8. Empty rows can be either filed with 0.00 or selected as NULL when the data is loaded to SAP Analytics Cloud Model data management and prepare the xlsx file named Opex_Measure_Model_Test.xlsx as the Data load status does not complete if some measures have blank values .

Data%20File%20upload%20Status%20Successful

Data File upload Status Successful

9. Now we have pre-converted actuals loaded successfully into SAP Analytics Cloud in the three different measures. We create a story to display the Actuals vs Plan numbers.

10. In this use case, we assume users have to enter the plan numbers by transaction currency. Users will plan against TX_currency measure against currency dimension member.

Input%20Form

Input Form

For currency conversion for Plan numbers we need to Create a Data Action to execute the currency conversion in SAP Analytics Cloud.

11. In the measure-based model, an additional functionality of having currency conversion is available which is not available in Classic Account based Planning Model.

Data%20Action%20settings

Data Action settings

12. In the Data Action step configure currency conversion between transaction currency to Group Currency and Company Code Currency

Conversion%20Rules

Conversion Rules

We have the option to trigger the data action for specfic version or by categories and for booking date or based on a fixed date.

Data%20Action

Data Action

13. Make sure the currency rates are maintained in the SAP Analytics Cloud Currency table for the category and Txn currency to Group / Company Code Currency for which the conversion needs to be executed as shown

SAC%20Currency%20Table

SAP Analytics Cloud Currency Table

14. Execute the Data Action entering the version as the Prompt for the Data Action Trigger in the story

15. The relevant Group and Local Currency conversions happened based on the value entered in Transaction Currency for EUR with the maintained currency rates in the SAP Analytics Cloud currency conversion table as shown in the yellow cells below and displayed against the Company Code Currency measure and group currency measure.

SAC%20Story

SAP Analytics Cloud Story

The story can be enhanced using various Input Control filters in the required dimensions like Currency, Measure etc. Also, we have the option of making the currency conversion dynamic for the plan numbers using conversion measures and allow users to enter the data in either of the currency as referred in the blog post: https://blogs.sap.com/2021/04/26/enter-plan-data-in-any-transactional-currency-in-the-new-model-of-sap-analytics-cloud/
For Variance reporting and persisting the currency conversion values, we could follow the above use case.
SAP Help:
Working with Currencies in a Model with Measures
https://help.sap.com/doc/00f68c2e08b941f081002fd3691d86a7/2021.7/en-US/92cab98504dc479fb19740a2715241bd.html

 

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Carlos Diniz
      Carlos Diniz

      Great post. Thanks!

      Author's profile photo Seamus Taylor
      Seamus Taylor

      Hi Kanchana, great post but I have a follow up question.

      Is it possible to create conversion measures and then map actual currency measures, Trans Curr, Local Curr, Group Curr from S/4 without the use of a data action?

      Ideally the user would not have to click the data action to view the other currencies but I don't think this is possible. Thanks for confirming?

      Thanks,

      Seamus