Skip to Content
avatar image
Former Member

sap-language not being taken into account

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?


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jul 14, 2009 at 10:33 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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


  • avatar image
    Former Member
    Jul 14, 2009 at 09:39 PM

    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!



    Add comment
    10|10000 characters needed characters exceeded