cancel
Showing results for 
Search instead for 
Did you mean: 

sap-language not being taken into account

Former Member
0 Kudos

Hi there,

if a browser has just german as language, the login mask of Web Dynpro (simple login) is in german. If in browser also english is defined it is automatically in english.

Overriding it in the URL via sap-language is not working.

This problem exists on our system. On different systems I tested on the internet, sap-language is always taken into account.

Do you know a note or if there is additional configuration to be done?

Regards

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

I was studying the class CL_ICF_SYSTEM_LOGIN to see how the processing works. According to the notes in this class the following is the order:

  • -- 1) Get language from form field

  • -- 2) If empty get language from configuration setting

  • -- 3) If empty get language from browser setting

  • -- 3a) If empty use sy-langu

  • -- 3b) If error in getting sap code use sy-langu

  • -- in fill_language_fields( )

  • ------ 'language' is ISO, langu is SAP

  • ------ pull texts with language in langu

  • ------ if error use English

  • ------ if error use German

I seem to be able to override my login screen in my system with the SAP-LANGUAGE parameter. I only have english configured in my browser, yet if I add SAP-LANGUAGE=DE to my URL, the login screen is displayed in German and the logon language field on the login screen defaults to German.

Former Member
0 Kudos

Hi Thomas,

thanks for your answer. By checking this class I noticed the national language support of SAP.

I found out that the available languages needed to be set via report RSCPINST on my systems.

Now its working.

Thank you

Sebastian

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sebastian,

Are you referring to a standalone WDA application? (meaning running using a URL)..

If yes then check if any logon configuration stored in SICF for the specific service or up the SICF path...the logon procedure specified in SICF is evaluated. If its standard, then the URL parameter sap-language is used else the madatory logon parameters sepcified in SICF are used.

hope this helps!

Thanks,

Chitrali