Skip to Content
Technical Articles
Author's profile photo San Tran

Using Text View and Association to enable Multi Language support for Master Data in SAP Data Warehouse Cloud

With the release 2021.12 we introduced in SAP Data Warehouse Cloud the new Text View and Association with which you can enable multi language support for master data. Users can now display the analytical reports and stories in their preferred language of choice.

In this little blog I want to describe the required steps for modeling to utilize this feature.

SAP’s Language dependent Text Tables

The Multi Language concept in SAP Data Warehouse Cloud is very similar to the S/4HANA and BW/4HANA, where we have dedicated models, which carry the texts of the master data in various languages.

The typical structure of such a model looks like:

Name Primary Key Description
ID X Identifier of the master data model
LANGUAGE X Language in ISO-639-1 , e.g. en, de, fr, etc.
TEXT Text and content in the language

 

Note: S/4HANA and BW/4HANA tables uses one digit language codes (e.g. E, D, F) which will be converted implicitly in SAP Data Warehouse Cloud into ISO-639-1 for processing.

 

Text Views and Associations in SAP Data Warehouse Cloud

In SAP Data Warehouse Cloud we have to model a so called Text View for that, which has to be associated later by a Dimension View. Here is a typical Entity Relationship diagram to depict the associations between the various views:

 

Here are the detailed steps, that you need to apply:

  1. Go to the Repository Explorer or Data Builder and create a new Graphical View with semantic usage Text:
  2. Set the primary keys:
    • ID
    • LANGUAGE
  3. Adjust the semantic types
    • Annotate the Language column
    • Annotate the Text column
    • Bind the Text column to the ID column
  4. Associate the Text View from the Dimension View (in my example it’s V_PRODUCTS):
  5. Map the Dimension View and Text View by the identifiers, e.g. PRODUCTID
  6. To view the results, you have to create an SAP Analytics Cloud Story (SAC Story), which can utilize this new Text semantics.
  7. In the user profile settings, you can set the Data Access Language to the your preference 

8. When refreshing the SAC Story you should be able to see the text of your master data in your preferred language:

 

 

 

With this little guide, you have learned the required modeling steps to support multi languages for master data in SAP Data Warehouse Cloud.

 

Links

I have started a comprehensive tutorial on Modeling in SAP Data Warehouse Cloud, which describes in a practical manner different modeling aspects by guiding users through different exercises.

The Text Association is part of Exercise 2 of the tutorial:

https://github.com/SAP-samples/data-warehouse-cloud-modeling

 

 

Assigned Tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Vitor Eduardo Patriarcha
      Vitor Eduardo Patriarcha

      Great post.
      It's great to know that the DWC already includes this type of requirement.

      Can you tell which alternative can be used to handle language-dependent master data when data access is performed by a 3rd party tool?

      Author's profile photo San Tran
      San Tran
      Blog Post Author

      Hi Vitor, thanks for your interest in this topic.

      Currently for third party, we are about to evaluate different APIs such as ODATA, which can provide rich semantic interface for 3rd parties. Having that in place we could cover also multi language for Non-SAP clients.

      Stay tuned regarding this topic. I will forward this request towards my colleagues in Product Management.

      Best regards,

      San

      Author's profile photo Srikanth KothaVenkata
      Srikanth KothaVenkata

      Hi San,

      Do we have any documentation/ reference on how this affects the overall response time of a view it is bound on?

      Author's profile photo Kunal janu
      Kunal janu

      Does SAP generally offer any documentation around performance? we know that there is a performance best practice documentation.. however no documented notes on performance of the tools themselves.

      Author's profile photo San Tran
      San Tran
      Blog Post Author

      Hi Srikanth,

      thanks for approaching. The extra join for the text table will certainly impact the overall execution and response time. However, there is currently in DWC no dedicated tools to measure this particular text association.

      However, I am aware that there are performance related tools to come in the near future.

      I have asked my responsible colleague to reply here, and give a little outlook on this topic.

      Regards,
      San

      Author's profile photo Krzysztof Koroscik
      Krzysztof Koroscik

      Hi San,

       

      Thank you for the article.

      I'm having issue with Text Association on Trial Tenant.

      I created a semantic type Text view in accordance to your article. But when i create dimension view and click "add text associations", the table of possible text associations is empty. What gives?

      EDIT: Interestingly, the table is visible when i change the interface language to english (UK).

       

      Kind regards,

      Chris