Skip to content
NextLytics
Megamenü_2023_Über-uns

Shaping Business Intelligence

Whether clever add-on products for SAP BI, development of meaningful dashboards or implementation of AI-based applications - we shape the future of Business Intelligence together with you. 

Megamenü_2023_Über-uns_1

About us

As a partner with deep process know-how, knowledge of the latest SAP technologies as well as high social competence and many years of project experience, we shape the future of Business Intelligence in your company too.

Megamenü_2023_Methodik

Our Methodology

The mixture of classic waterfall model and agile methodology guarantees our projects a high level of efficiency and satisfaction on both sides. Learn more about our project approach.

Products
Megamenü_2023_NextTables

NextTables

Edit data in SAP BW out of the box: NextTables makes editing tables easier, faster and more intuitive, whether you use SAP BW on HANA, SAP S/4HANA or SAP BW 4/HANA.

Megamenü_2023_Connector

NextLytics Connectors

The increasing automation of processes requires the connectivity of IT systems. NextLytics Connectors allow you to connect your SAP ecosystem with various open-source technologies.

IT-Services
Megamenü_2023_Data-Science

Data Science & Engineering

Ready for the future? As a strong partner, we will support you in the design, implementation and optimization of your AI application.

Megamenü_2023_Planning

SAP Planning

We design new planning applications using SAP BPC Embedded, IP or SAC Planning which create added value for your company.

Megamenü_2023_Dashboarding

Dashboarding

We help you with our expertise to create meaningful dashboards based on Tableau, Power BI, SAP Analytics Cloud or SAP Lumira. 

Megamenü_2023_Data-Warehouse-1

SAP Data Warehouse

Are you planning a migration to SAP HANA? We show you the challenges and which advantages a migration provides.

Business Analytics
Megamenü_2023_Procurement

Procurement Analytics

Transparent and valid figures are important, especially in companies with a decentralized structure. SAP Procurement Analytics allows you to evaluate SAP ERP data in SAP BI.

Megamenü_2023_Reporting

SAP HR Reporting & Analytics

With our standard model for reporting from SAP HCM with SAP BW, you accelerate business activities and make data from various systems available centrally and validly.

Megamenü_2023_Dataquality

Data Quality Management

In times of Big Data and IoT, maintaining high data quality is of the utmost importance. With our Data Quality Management (DQM) solution, you always keep the overview.

Career
Megamenü_2023_Karriere-2b

Working at NextLytics

If you would like to work with pleasure and don't want to miss out on your professional and personal development, we are the right choice for you!

Megamenü_2023_Karriere-1

Senior

Time for a change? Take your next professional step and work with us to shape innovation and growth in an exciting business environment!

Megamenü_2023_Karriere-5

Junior

Enough of grey theory - time to get to know the colourful reality! Start your working life with us and enjoy your work with interesting projects.

Megamenü_2023_Karriere-4-1

Students

You don't just want to study theory, but also want to experience it in practice? Check out theory and practice with us and experience where the differences are made.

Megamenü_2023_Karriere-3

Jobs

You can find all open vacancies here. Look around and submit your application - we look forward to it! If there is no matching position, please send us your unsolicited application.

Blog
NextLytics Newsletter Teaser
Sign up now for our monthly newsletter!
Sign up for newsletter
 

Using Currency Conversion in SAP Datasphere with S/4HANA

Currency conversion is a foundational component in global business analytics. With organizations operating across borders, converting financial figures into a unified currency —accurately and consistently—is essential for meaningful reporting and decision-making. 

This guide explores the end-to-end process of setting up currency conversion in  SAP Datasphere based on S/4HANA currency conversion Data. We'll look at how to:

  • Access and derive currency conversion data
  • Import currency conversion data (models) in Datasphere
  • Utilize these resulting views to carry out currency conversion(s)
  • Deal with common problems with Sharing currency related Views

Accessing Currency Conversion Tables from SAP S/4HANA

SAP S/4HANA offers standard currency conversion tables such as:

  • TCURR - Exchange rates
  • TCURC - Currency codes
  • TCURX - Decimal places in currencies
  • TCURV - Exchange rate types
  • TCURW - Exchange rate type text
  • TCURN - Quotations
  • TCURF - Conversion factors
  • TCURT - Currency text

These tables provide the conversion data that can be leveraged within SAP Datasphere to facilitate the conversion logic. To access these tables, you need to establish a Connection between SAP S/4HANA and SAP Datasphere. Since this is well-documented in many other resources, we’ll assume the connection is already in place and move on to the next step.

Importing S/4HANA Currency Tables into SAP Datasphere

Prerequisites
Ensure the SAP S/4HANA system is connected to Datasphere and that validating the connection works successfully.

Import Objects
Use the Data Builder to create “Currency Conversion Views” based on the S4/HANA Connection. The import process creates tables, views and data flows that will make the source conversion data available in Datasphere.

Load Data
After importing the objects you will need to run the generated data flows to populate the corresponding tables and views. We recommend manually creating a Task Chain that contains all these Data Flows and then schedule or orchestrate the regular execution of that Task Chain to keep your currency conversion data up-to-date.

Picture1 - Import button_Currency Conversion in SAP Datasphere

Picture2 - Imported objects_Currency Conversion in SAP Datasphere

Carry out Currency Conversion(s)

Using Graphical Views

SAP Datasphere allows you to visually create data models using its Graphical View tool. Within the “Calculated Columns” node in a graphical view, you can create new columns. To do a currency conversion you select “Currency Conversion Column” here. After that, the properties of the currency conversion must be set.

Picture3 - Graphical view conversion column_Currency Conversion in SAP Datasphere


Watch the recording of our webinar: 

"SAP Datasphere and the Databricks Lakehouse Approach"

Webinar Recording SAP Datasphere Insights and the Databricks Lakehouse Approach    View recording  


Below is an example of the conversion properties within a View:

  • Picture4 - Graphical view conversion properties_Currency Conversion in SAP Datasphere AMOUNT: The numeric expression or column containing the values to be converted (e.g. your NetAmount). This is mandatory and represents the sum that will flow through the conversion logic.

STEPS: A comma-separated list of sub-operations.
- shift normalizes the source decimal places (per TCURX).
- convert applies the FX translation itself.
By combining them ('shift,convert'), you ensure both scaling and conversion occur.

SOURCE_UNIT: The ISO currency code (or column reference) of the original amount (e.g. "EUR", "JPY"). This tells SAP which currency your base figures are in.

TARGET_UNIT: The ISO currency code for the desired output (e.g. 'USD'). SAP uses this to look up and apply the correct conversion rates.

REFERENCE_DATE: The reference date (e.g. your sales-document date) used to select the applicable exchange rate from the rate tables. It can be a column or a constant literal.

SCHEMA: The database schema where your currency tables live. If omitted, the current schema is assumed. Only manually adjustable in the SQL View.

CLIENT: The three-digit SAP client (mandant) filter (e.g. '100'). This determines which rows in your TCUR* tables apply.

CONVERSION_TYPE: The rate category code (commonly 'M' for average, 'B' for buying, or 'S' for selling rates) as defined in your TCURV table.

ERROR_HANDLING: Defines behavior when the rate lookup fails.
- 'fail on error' (default) aborts with an exception.
- 'set to null’ returns NULL.
- 'keep unconverted' returns the original amount.

XYZ Entity: References the Currency Conversion Views we set up previously.

 

Using SQL Views

You can also implement currency logic directly using SQL with the Data Builder SQL View. Here's the same example from above, but using a SQL currency conversion function instead: 

SELECT

,”SalesDocument”
,"SalesDocumentDate"
,
“NetAmount”


,CONVERT_CURRENCY(AMOUNT = > NetAmount, STEPS = > 'shift,convert',
SOURCE_UNIT
= > "TransactionCurrency", TARGET_UNIT = > 'USD', REFERENCE_DATE = >
"SalesDocumentDate"
, CLIENT = > '100', CONVERSION_TYPE = > 'M', ERROR_HANDLING = >
'set to null', LOOKUP = > 'regular', ACCURACY = > 'compatibility', DATE_FORMAT = > 'auto
detect'
, PRECISIONS_TABLE = > 'SAP.CURRENCY.VIEW.TCURX', CONFIGURATION_TABLE = >
'SAP.CURRENCY.VIEW.TCURV', PREFACTORS_TABLE = > 'SAP.CURRENCY.VIEW.TCURF',
RATES_TABLE
= > 'SAP.CURRENCY.VIEW.TCURR', NOTATIONS_TABLE = >
'SAP.CURRENCY.VIEW.TCURN', SCHEMA = > 'SALES_REPORTING') AS “NetAmountUSD”


FROM “Sales”;

Common problems with Sharing

SAP Datasphere allows sharing of views between different spaces. After carrying out the currency conversion in your views, click the Share button to expose the object to other spaces.

It is a prerequisite, to also share the TCUR* views to the same target space for the currency conversion to operate properly.

In some scenarios, sharing a view that contains a CONVERT_CURRENCY function might produce the following error or similar ones:

currency/unit conversion error: could not read currency precisions from table "xxxx"."sap.currency.view.tcurx" - insufficient privilege: detailed info for this error can be found…”

In such cases, be sure that the views that contain the CONVERT_CURRENCY function are in SQLScript mode and not Standard SQL. As mentioned above, the TCUR* views must also be shared to the same target space.

Our Conclusion

If your organization operates across multiple currencies, you will inevitably face the challenge of dealing with currency translation. We’ve shown how that challenge can be reliably and smoothly tackled with the combination of S/4HANA and Datasphere. Ensuring that your Datasphere spaces are populated with the necessary currency objects (either imported or shared) will enable you to execute currency conversion at any point with minimal effort.

Do you have questions about SAP Datasphere? Are you trying to build up the necessary know-how in your department or do you need support with a specific issue? Please do not hesitate to contact us. We look forward to exchanging ideas with you!

Learn more about  SAP Datasphere

 

, ,

avatar

Fotios

Fotios Vlantis has been in the SAP world as an ERP consultant in Greece since 2021. He is currently working as a SAP BW/BI consultant with his special focus being on SAP BW/4HANA. As a former javelin throw athlete, he likes to play sports, read and travel.

Got a question about this blog?
Ask Fotios

Using Currency Conversion in SAP Datasphere with S/4HANA
6:45

Blog - NextLytics AG 

Welcome to our blog. In this section we regularly report on news and background information on topics such as SAP Business Intelligence (BI), SAP Dashboarding with Lumira Designer or SAP Analytics Cloud, Machine Learning with SAP BW, Data Science and Planning with SAP Business Planning and Consolidation (BPC), SAP Integrated Planning (IP) and SAC Planning and much more.

Subscribe to our newsletter

Related Posts

Recent Posts