cancel
Showing results for 
Search instead for 
Did you mean: 

How to capture the data access language in SAP SAC application designer

saurabh_sonawane
Active Contributor
0 Kudos

Hi Team,

I want to capture the data access language in the SAP SAC application designer.

Based on the language I need to write a code in Application designer.

Thanks,

Saurabh S.

View Entire Topic
uno22517
Discoverer
0 Kudos

Hi Saurabh,

I do not know what exactly you are up to. However, to capture the data access language of the current user, I use this workaround:

Create a text field and set it to invisible. Key in some dummy text, say 'EN'. Next, use the translation tool of SAC to translate this text in the relevant languages, say 'DE', 'FR' etc.

At runtime, create a method that calls the current text of the text field. Depending on the current user language, the field has the content in the current user language. So you know the current language of the user.
I would be curious it this solves your problem.

Regards,

Rolf