Web dynpro parameter to set language

Hi there,
We are using a the newest version of ESS (ecc 6.0)
Is it possible to set a parameter so that the web dynpro's are not translated into the language set in the user's IE language settings?
For example, for IAC and webgui transactions this is possible in the the iview settings, and for BSP you can set the "sap-language=XX" parameter.
The reason I ask, is because all portal content is and should be in English, but the ESS stuff should <i>only</i> be in German. We have set backend language settings and JCO connection settings, IACs, etc to only use German. The problem is that standard WD iviews (like "change own data") are available in other languages, which result in the UI being displayed in English when the user's language settings are english, but data coming out of R/3 is German... a nasty mix of languages.
Thanks for any tips. I award points generously
-faB

Hi Maksim,
Thanks, I have seen that page...but the parameters don't seem to work. It does not override the language set in IE.
It can be tested with the "identiy management" WD.
This should display in french, for example.
http://portalserver.domain.dom:50X00/webdynpro/dispatcher/sap.com/tcsecumewdumeadmin/UmeAdminApp?sap-language=FR
The Portal/J2ee only looks at the browser setting, not the parameter.
thanx
-faB

Similar Messages

  • Transaction iView - pass web dynpro parameter

    Hi!
    I created a web dynpro (ABAP) iView with a button on it. Selecting the button opens a transaction iView. (SAP GUI for Windows) I want to pass a web dynpro parameter to the SAP GUI iView and write the value of this WD parameter into a screen field at SAP GUI.
    I suppose I have to use 'Application Parameters' as described at [help.sap.com|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/88/266a3e54a2e946e10000000a114084/frameset.htm], but until now any attempts failed...
    Best regards,
    Sandra

    Hi Sandra, did you solve this? I am facing the same requirement.
    Thanks

  • Web Dynpro - How to set and get info from Component Controller

    Hi Gurus!!!
    Im having some problems getting and setting info in component controller of my Web Dynpro.
    I can't see the difference between View Context and Global Context.
    How can i create a Global Context Between two views?
    Thanks!
    Regards.
    Polakinho.-

    hii
    difference between view context and global context is we can use the same component controller for all the views in the same application.but when when we create node in view context then it will be available for that view only not for any other view...so if we want to use the same node for all the views we need to create that view in the component controller.so it will become global for that application.
    for using global node you need to map that context in view controller.for that you need to go to that view then click on context tab and drag and drop node from component controller.so it will be available for that view.i hope it helps you.
    regards
    twinkal

  • Web Dynpro: How to set the header of Tabs in a Tabstrip?

    Hi all,
    I created a tabstrip with 3 tabs. Now I am trying to give proper heading to each of the Tabs but unable to do so because I do not find any property to the Tab(s) for which, I can assign the heading. Only the following 4 Properties are available for a Tab:
    ID
    enabled
    hasContentPadding
    visible
    I am able to launch the application but it does not show me any text, although the tabs are clickable. Can anyone please tell me how to make headings (or titles/text) appear individually for each of the tags? If there's any code to do it, please tell me what it is.
    Thank you.
    P.S: Will award points to the most fruitful solution.

    hi,
    u need to open the screen with graphical screen painter layout tool,
    double click on tha tab that u want to give text to it.
    enter the name of the text/heading in text field
    activate the screen.
    hope it helps
    thanks
    Sachin

  • Error Your browser/program is not supported by Web Dynpro

    Hi,
    1. I am getting error "Your browser/program is not supported by Web Dynpro" while executing Web dynpro java application
    2. Portal is EP 7.0 with SP15
    3. Browser is IE 8.0
    4. Which browser(s) (& sp level)  are supported by web dynpro?
    5. Is it possible to customize this error message?
    6. If so, from where (Web dynpro java application or Visual Admin) 
    7. My web dynpro application supports multiple languages.
    8. Is it possible to maintain this message in messagecomponent.xlf file
    Thanks & regards,
    Nilesh

    Hi Nilesh
    IE8 and IE7 is not supported.
    For browser/program is not supported by Web Dynpro----
    check this forums link
    /message/6416540#6416540 [original link is broken]
    /message/2842083#2842083 [original link is broken]
    Re: browser/program is not supported by Web Dynpro!
    Hope this link information will help you
    Regards
    Ruturaj

  • How to get the Response Code when a URL is launched from Web Dynpro

    Hello Experts,
    I have a Web Dynpro Application in which in one of its views i have an IFrame UI element in which i will show a resource stored somewhere ..
    But before showing it i want to check if the resource actually exists. For this i have to check the HTTP Response code from Web Dynpro Application without setting it in the Iframe..
    I am using the following code to get the Response Code:
    try{
    URL url = new URL("Some Url");
    HttpURLConnection.setFollowRedirects(false);
    HttpURLConnection connection = (HttpURLConnection) url.openConnection();
    connection.connect();
    wdComponentAPI.getMessageManager().reportSuccess("Response code ="+connection.getResponseCode());
    }catch(Exception e){
    wdComponentAPI.getMessageManager().reportSuccess("Exception");
    Now the Problem is whatever response Code occurs 403 (for No Proper Authorization), 404 (for Resource not found) etc..
    i always get Response Code=  500 (which is for Internal Server Error) shown in the messgae i have printed.
    Please let me know the correct way of getting the Response Code from Web Dynpro.
    Also my resource is lying on a SAP Portal 6.4
    Best Regards
    Sundeep
    Edited by: Sundeep Sethi on Feb 18, 2008 9:07 AM
    Edited by: Sundeep Sethi on Feb 18, 2008 10:23 AM

    Hi,
      Check this code from /thread/5242768 [original link is broken] if it works.
    try{
    URL myurl = new URL("http://calendar.google.com");
    URLConnection connection = myurl.openConnection();
    if(connection instanceof HttpURLConnection) {
    HttpURLConnection httpConnection = (HttpURLConnection) connection;
    HttpURLConnection.setFollowRedirects(true);
    httpConnection.setRequestMethod("HEAD");
    httpConnection.connect();
    System.out.println("Response = "+httpConnection.getResponseCode());
    catch(Exception e) {
    // print exception
    Regards,
    Harini S

  • Offline Interactive Forms (Web Dynpro for ABAP)

    Hi Everyone.
    Please help me!!!
    Upload Offline PDF file to xstring context attribute by file upload in Web Dynpro parts.
    Set Offline PDF file uploaded via xstring context attribute in 'pdfSource' property of interactive form.
    I wish to view Offline PDF file and get data to context in 'dataSource' property of interactive form.
    Below restriction.
    - Web Dynpro for ABAP
    - Offline Interactive Forms
    - Zero Client Installation
    - ABAP Dictionary-Based Interface
    NetWeaver 7.0 (NW 7.0) SPS16

    Hi Daisuke,
    As per your requirement, to get done your work you need to create two Adobe Forms , one is for Offline Interactive Form and other is Online Interactive Form.
    In offline Interactive you design your form and define the Layout type as zci layout and Abap Dictionary Based interface. And by executing the form you can save the form to your desktop.
    Now in online Interactive Form you create the context similar to the one which has been created in the Offline Interactive Form. Now in one view you define the file upload functionality and in other view you define the adobe interactive form, for this the interface is automatically as it asks for the context and its of type XML based interface, also do maintain the context variable something like "PDFDATASTRING" with type XSTRING in the Component Controller and now in adobe view you give the property pdfstring as "PDFDATASTRING" and dont forget to provide the navigation of these two view, and set the File Upload View as default view.
    The above functionality can help you in some way or the other.
    Regards
    Pradeep Goli

  • Few basic ques on Web Dynpro

    Hi All,
    I have few ques on Web Dynpro basics.
    1. Why is Web Dynpro said to have language-neutral metamodel.
    2. What is meta-model.
    3. What is declarative programming approach.
    4. Why is a dictionary used. The simple type and a structure can also be declared in a Controller. Is it just a Global Declaration.
    5. Where does the code of dictionary reside.
    Shall be grateful for the answers.
    Regards
    Nikhil Bansal

    Hi Nikhil
    Here is the answers for your questions.
    1.Why is Web Dynpro said to have language-neutral metamodel
    A.the user interfaces developed in webdynpro is platform independent because of meta model/data generated by webdynpro framework is independent of all languages.This metamodel you can transfer to any system so that the application is executed in that system.So generated meta data is independent.
    2.What is meta-model.
    Metamodel is data about the application.Webdynpro framework have seperate tools to generate this metadata in xml files.These files contains all information about your application.Views,components,actions every thing.
    Metadata/model means data about the data in general
    3.What is declarative programming approach
    Declarative approach is the one with out coding most of the things required to implement User interfaces (design,appearence,data) are specifying at design time by choosing right properties.So this eliminates most of the coding.So this is the declarative model.
    4.Dictionary
    This is again having two types like simple and structure,Here basically we store the data in dictionary datatype or populate the data in this type in runtime.Usually this datatypes are used to display the data in dropdown box or to display large data.
    5>Where does the code of dictionary reside
    The Dictionart classes are generated by the frame work for simple type,For  complex type the data you are populating in view controlleres depending upon the conditions
    For clear classification
    www.help.sap.com
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/webcontent/uuid/8921447c-0501-0010-07b4-83bd39ffc7be [original link is broken]
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d [original link is broken]
    Web DynPro Help
    Reading Material on Web Dynpro
    http://help.sap.com/saphelp_nw04/helpdata/en/5c/1b76bc3da0504e8b535cf3e154eaa7/content.htm
    /thread/396968 [original link is broken]
    regards
    kalyan

  • How to catch URL parameter from Portal URL in Web Dynpro iView

    Hi All,
    I have a web dynpro application running as a portal iView successfully. Now the client wants to make it internationalized with 7 languages. Currently they access the portal - and via role assignment they get to the portal tab with the wd iView. Now they want to send a parameter for the language key with the portal URL. So when they are typing in http://myportal.mydomain.com now they want to type in http://myportal.mydomain.com?sap-locale=de or so. My question is how can I catch this parameter in the WD application when it is running inside a portal iView? Is it at all possible?
    I have written a very small application which is trying to catch a URL parameter named PARAM. The code I have written is the default one as below:
    String paramValue = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("PARAM");
    When I run the application standalone and add the PARAM=something in last of the URL I can catch it. But when I create an iView and while previewing it I add the same PARAM value it is coming as null all the time. Same when I add this iView to a role and show it via role assignment in protal. Please help to let me know how to achieve this. I think if I can read the parameter value from Portal URL in the WD iView - then I can set it as the default locale of the application and then show language specific file to achieve internationalization.
    Your urgent help will be highly appreciated.
    Warm Regards,
    Shubho

    Hi Shubhadip
    Even if you get the parameters, how do you internationalize your application? Are you not following the standard way as described in the following link. In this case you never need to capture any such parameter. This is done by the WD runtime automatically .
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/f4/d95664da179b4db731e21c2e470b72/frameset.htm">Internationalization of WD projects</a>
    You can retrieve application parameters specified at the creation of iview by "adding parameters(with the same name as in iview application parameters) to the default plug of the Component Interface View of the WD application". "onDefaultPlug" method of the interface view controller you get these values as parameters, which you can save in the context node of component controller for later use.This is guaranteed to work.
    But again this is not what you want exactly. You want the user to specify the value at runtime. If you have just 7 languages, you can create 7 set of iviews with different application parameter value indicating language key, and assign to 7 different set of roles, each representing one set of users with common language.
    I hope you find a solution.
    Regards
    kk

  • Web Dynpro Configuration language

    Hi expert,
    When i createing the configuration for one web dynpro component, the language of the web page is German.
    But i log on the systmen in EN.
    Could anyone tell me how to change the language of  the configruantion page from GERMAN to EN?
    Best Regards
    Clark Huang

    Try by passing application parameter sap-language with value EN
    FYI
    The logon language is determined or proposed from the sources listed below: These sources are evaluated in the order below whereby the first in the list is the decisive source.
           1.      sap-language URL parameter (see above)
           2.      Default language in the setting for the system logon
           3.      Web browser languages (Accept-Language)
           4.      Default language of the SAP system
    Regards
    Srinivas

  • ECATT abends during recording when lead selection is set to 0 on web dynpro

    We have a web dynpro application that works ok when running by itself.   When we tried to record ECATT testing on it, it abended after we click on a selection from a list of values.    The error on the browser indicated an error on the "lead select".   After reviewing the dump, we found that it abends on an exception when the lead selection on the ALV is not set.   When we changed our code to set the lead selection to 1, the ECATT recording worked.
    We have a requirement to set the lead selection of ALV to 0 so we need to change back our code.   We just did the setting to 1 just to get ECATT recording to work for now.    Does anybody know why ECATT requires this?   Is there a support packs that fixes this?
    Here is a snippet from ST22 for more details on this:
    Runtime Errors         UNCAUGHT_EXCEPTION
    Exception              CX_WD_CONTEXT
    Date and Time          2007/02/07 14:50:06
    Short text
    An exception occurred that was not caught.
    What happened?
    The exception 'CX_WD_CONTEXT' was raised, but it was not caught anywhere along
    the call hierarchy.
    Since exceptions represent error situations and this error was not
    adequately responded to, the running ABAP program
    'CL_WDR_CONTEXT_NODE===========CP' has to be
    terminated.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    An exception occurred which is explained in detail below.
    The exception, which is assigned to class 'CX_WD_CONTEXT', was not caught and
    therefore caused a runtime error.
    The reason for the exception is:
    The lead selection has not been set. VIEW_TABLE
    How to correct the error
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "UNCAUGHT_EXCEPTION" "CX_WD_CONTEXT"
    "CL_WDR_CONTEXT_NODE===========CP" or "CL_WDR_CONTEXT_NODE===========CM00V"
    "_RAISE_ELEMENT_NOT_FOUND"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    System environment
    SAP-Release 700
    Application server... "torsapd01"
    Network address...... "10.2.75.183"
    Operating system..... "Windows NT"
    Release.............. "5.2"
    Hardware type........ "4x AMD64 Level"
    Character length.... 8 Bits
    Pointer length....... 64 Bits
    Work process number.. 0
    Shortdump setting.... "full"
    Database server... "TORSAPD01"
    Database type..... "MSSQL"
    Database name..... "PR3"
    Database user ID.. "dbo"
    Char.set.... "English_United State"
    SAP kernel....... 700
    created (date)... "Aug 28 2006 22:20:27"
    create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
    Database version. "SQL_Server_8.00 "
    Patch level. 75
    Patch text.. " "
    Database............. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
    SAP database version. 700
    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
    Memory consumption
    Roll.... 16128
    EM...... 16759616
    Heap.... 0
    Page.... 0
    MM Used. 12713776
    MM Free. 4042608
    User and Transaction
    Client.............. 200
    User................ "SIC0010"
    Language Key........ "E"
    Transaction......... " "
    Program............. "CL_WDR_CONTEXT_NODE===========CP"
    Screen.............. "SAPMHTTP 0010"
    Screen Line......... 2
    Information on Caller ofr "HTTP" Connection:
    Plug-in Type.......... "HTTP"
    Caller IP............. "10.49.77.47"
    Caller Port........... 8000
    Universal Resource Id. "/sap/bc/webdynpro/sap/zpr3_base_price/"
    Information on where terminated
    Termination occurred in the ABAP program "CL_WDR_CONTEXT_NODE===========CP" -
    in "_RAISE_ELEMENT_NOT_FOUND".
    The main program was "SAPMHTTP ".
    In the source code you have the termination point in line 11
    of the (Include) program "CL_WDR_CONTEXT_NODE===========CM00V".
    Source Code Extract
    Line
    SourceCde
    1
    method RAISEELEMENT_NOT_FOUND.
    2
    data: l_count type I,
    3
    l_node_name type string.
    4
    5
    l_node_name = if_wd_context_node~get_path( ).
    6
    7
    l_count = if_wd_context_node~get_element_count( ).
    8
    if l_count = 0.
    9
    raise exception type cx_wd_context exporting textid = cx_wd_context=>NODE_EMPTY node_nam
    10
    elseif element_index = if_wd_context_node=>use_lead_selection.
    >>>>>
    raise exception type cx_wd_context exporting textid = cx_wd_context=>NO_LEAD_SELECTION n
    12
    else.
    13
    raise exception type cx_wd_context exporting textid = cx_wd_context=>ELEMENT_NOT_FOUND n
    14
    endif.
    15
    endmethod.
    Contents of system fields
    Name
    Val.
    SY-SUBRC
    0
    SY-INDEX
    1
    SY-TABIX
    0
    SY-DBCNT
    2
    SY-FDPOS
    0
    SY-LSIND
    0
    SY-PAGNO
    0
    SY-LINNO
    1
    SY-COLNO
    1
    SY-PFKEY
    SY-UCOMM
    SY-TITLE
    HTTP Control
    SY-MSGTY
    E
    SY-MSGID
    TD
    SY-MSGNO
    600
    SY-MSGV1
    000003587101
    SY-MSGV2
    0001
    SY-MSGV3
    EN
    SY-MSGV4
    SY-MODNO
    0
    SY-DATUM
    20070207
    SY-UZEIT
    145005
    SY-XPROG
    SAPCNVE
    SY-XFORM
    CONVERSION_EXIT

    Hi Eugene,
    i suggest you raise an SMP ticket for these.
    Looks like a bug at first glance.
    regards
    Phil

  • Pass a parameter in a Web Dynpro Application

    Hi,
    I have a Web Dynpro that Calls a RFC. This RFC needs a parameter (user ID from portal) in order to obtain Info. from the R/3 System.
    I do it with based on the article which calls a bapi "BAPI_FLIGHTLIST".
    The application runs OK when I type the parameter (user ID) in an "input field", it only return the information needed (method button) from R3. Now, if I want to get the parameter (user ID) automatically from the Web Dynpro ( the user who Logon into the portal) the application does not work.
    I try with this code but isn't work.
    wdContext.currentZrfc_Prueba_Portal_InputElement().setZusuario(userid);
    How can I set the parameter (Zusuario) in my input field automatically and after I press the button (method) return my info.???
    Here is the code.
    The method wdDOInit
    Zrfc_Prueba_Portal_Input input = new Zrfc_Prueba_Portal_Input();
    wdContext.nodeZrfc_Prueba_Portal_Input().bind(input);
    The method that Execute a RFC
    //@@ Begin Take USer
           String userid="";
              try {
                   IWDClientUser user = WDClientUser.getCurrentUser();
                   userid = user.getSAPUser().getUniqueName();
              } catch (WDUMException e) {
                   e.printStackTrace();
    //@@ End Take USer
    //@@ Begin Set the login user to Zusuario parameter
              wdContext.currentZrfc_Prueba_Portal_InputElement().setZusuario(userid);
    //@@ End Set the login user to Zusuario parameter
              //@@ Begin Method that execute the RFC
              try {
                            wdContext.currentZrfc_Prueba_Portal_InputElement().modelObject().execute();
                   wdContext.nodeOutput().invalidate();
                   wdComponentAPI.getMessageManager().reportSuccess(
                             "Execute whit the user: "
                                       + wdContext
                                                 .currentZrfc_Prueba_Portal_InputElement()
                                                 .getZusuario().toString());
              } catch (Exception e) {
                   e.printStackTrace();
                   wdComponentAPI.getMessageManager().reportException("Caution " + e);
              //@@ End Method that execute the RFC
    Any help will be rewarded.
    Regards
    Dario

    Hi Bala Duvvuri,
    I taste your code but isn't work.
    This the method wdDoInit
    public void wdDoInit()
        //@@begin wdDoInit()
           Zrfc_Prueba_Portal_Input input = new Zrfc_Prueba_Portal_Input();
           wdContext.nodeZrfc_Prueba_Portal_Input().bind(input);
        //@@end
    This the method ExecuteRFC
    public void ExecuteRFC( )  {
        //@@begin ExecuteRFC()
             Zrfc_Prueba_Portal_Input input = new Zrfc_Prueba_Portal_Input();
           wdContext.nodeZrfc_Prueba_Portal_Input().bind(input);
           //@@ Begin Take USer
           String userid="";
           try {
                   IWDClientUser user = WDClientUser.getCurrentUser();
                   userid = user.getSAPUser().getUniqueName();
              } catch (WDUMException e) {
                   e.printStackTrace();
               //@@ End Take USer
              //@@ Begin Set the login user to Zusuario parameter
              input.setZusuario(userid);          
              //@@ End Set the login user to Zusuario parameter
              //@@ Begin Method that execute the RFC
              try {
                   wdContext.currentZrfc_Prueba_Portal_InputElement().modelObject().execute();
                   wdContext.nodeOutput().invalidate();
                   wdComponentAPI.getMessageManager().reportSuccess(
                      "Execute whit the user: "
                        + wdContext
                                .currentZrfc_Prueba_Portal_InputElement()
                             .getZusuario().toString());
              } catch (Throwable e) {
                   e.printStackTrace();
                   wdComponentAPI.getMessageManager().reportException("Caution " + e);
              //@@ End Method that execute the RFC
        //@@end
    Regards

  • Passing a parameter to Web Dynpro from an external system

    Hi All,
    I want to pass a parameter to a Web Dynpro Application from an external browser.
    I have developed a simple application with an input "ServiceOrder".
    In the Portal I have created an Iview for the Web Dynpro application and have set an Application Parameter (ServiceOrder="000003000012"). Just for testing.
    In web Dynpro Controller I have created an attribute in the Context and write tje code below in the wdDoInit.
    String SO = WDProtcolAdapter.getProtoclAdapter().getRequestParameter("ServiceOrder");
    wdContext.currentContextElement.setServiceOrder(SO);
    My problem is that the String SO is empty.
    Please help.
    Regards,
    Ridouan

    Hi R. Taibi,
    try this.
    IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();
    IWDRequest request = protocolAdapter.getRequestObject();
    wdContext.currentContextElement().setServiceOrder(request.getParameter("ServiceOrder"));
    regards
    Gunter

  • How to pass and fetch multiple parameter in the URL of the Web Dynpro

    Please help me to fetch parameter in runtime from the URL in web dynpro allication. Like
    MyApplication?SAPtestId=Arun?SAPtestId=Kumar?Test2=Jaiswal;
    I want to fetch the value of the SAPtestId, Test1 and Test2 in the web Dynpro Application.
    Please help me on this asap. thanks

    Hi Arun,
    Passing parameter to a wen dynpro application is done throught default inbound plug, which exist in interface viewcontroller
    and you can access those parameter in implementaion of default inbound plug
    To pass parameter
    If MainWin is your main window of application then
    1.in MainWininterfaceview controller add parameters in default inbound plug.
    To access these parameter
    1. In implementaion of MainWininterface view right a code to access these parameter
    2.Store these parameters  in controller context, so you will be access it from any screen
    as
    public void onPlugDefault(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String SAPtestId )
        //@@begin onPlugDefault(ServerEvent)
    set  your controler context with SAPtestId
    //@@end

  • Problem: Changing Language for Web Dynpro Java within NW Portal (i18n)

    Hi Experts out there,
    I hope all you had a nice Christmas and a big New Years Eve :)!!!
    i got a challenge for you about WD Java and internationalization (i18n)
    Here is the scenario:
    We are using a SAP NetWeaver Portal 7.0 and my task is to implement some smaller Web Dynpro  Applications.
    These Applications must be i18n conform, so i just created (according to the corresponding WD Java tutorial) some ".xlf" files.
    Okay...Everything is working fine. The user can log at the portal and the application is displayed in his language, which is "english" or "german". (the application is just a simple form)
    So far so good...Now here comes the point where it's getting tricky...
    When the user wants to change his assigned language (of the portal user) he can use the "personalize" button in the Masthead (-> change portal language). All the portal content should now be displayed in his new chosen language.
    For example the user is logged into the portal with "german" as portal language and now changes his languages settings into "english". After this everything in the portal (navigation, portal iViews ) is displayed in the changed language (from english into german) ...
    BUT: my Web Dynpro  Java Application stays as the original languages setting was. That means the whole portal is now english, but my WD Java Appl. stays german .
    Only if the user logs of and logs in again, the WD Java Appl. is displayed in the corresponding portal language...
    VERY Strange?!?!
    Can anybody give me a hint how to solve this problem?
    I guess i have to re-initiate the Web Dynpro  Application some how ...(like killing the application and restarting it ...) but is just a "weak guess"...
    Any Help / Hint is more than welcome !!!
    Cheers
    Stefan

    Hi Stefan,
    This correct see SAP Note [947081|https://service.sap.com/sap/support/notes/947081]
    If the locale for the Web Dynpro iView is changed in the portal (through portal personalization), this is not reflected in the running login session. The user needs to logoff and login again, in order to see the locale change in the Web Dynpro iView.
    Regards,
    Leo

Maybe you are looking for