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

Similar Messages

  • System Lanscape Directory : how change URL for Web AS Java ?

    Hi,
    In the SLD Administration (http://sapcm.company.com:8001/sld) in the menu "Technical Systems", my WEB AS java has a wrong URL : msapcm:50100.
    Where can I change this URL to have sapcm.company.com:50100 ?
    I think is the same problem when I develop Web Dynpro application and make test, the URL is msapcm:50100/.... !
    It's should be : sapcm.company.com:50100/...
    Thank you for your help.
    Regards,
    Mathieu

    Hi Dimitry,
    I used a temporary solution to develop and test my Web Dynpro Application.
    In my developer workstation, I have add the following line in the "hosts" file located in the folder "C:\WINDOWS\system32\drivers\etc" :
    <IP Adresse>   <SAPGLOBALHOST>
    in my sample :
    74.14.221.147     msapcm
    Regards,
    Mathieu

  • How to set up environment for web dynpro Java?

    We want to develop applications in Java Web Dnpro.
    What do I need to configure in SAP R3 to use Web Dynpro Java?
    I can develop applications on the SAP NetWeaver Developer Studio and only perform a configuration  in SAP ECC ?
    Or do I need to install SAP EC Composition Environment ?
    Can I develop and set up RFC connections to integrate with my application in Web Dynpro Java?
    Please help me,
    Regards,
    Viviane

    Dear Viviane,
    In the webdynpr java application, you can use the data from SAP system. like you can use RFC's, Bapi's in your webdynpro application.
    Refer to [Linking RFC to Web Dynpro|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/761eba66-0401-0010-b982-d5f5bd9e8f90?quicklink=index&overridelayout=true] and http://wiki.sdn.sap.com/wiki/display/WDJava/WelcometoWebDynproJava%21
    Best Regards
    Arun Jaiswal

  • Adobe Flash Islands for Web Dynpro Java

    Hi,
    How to create Adobe flash island component.
    How to integrate Adobe flash Island Component into Web Dynpro Java ?
    Regards,
    Krishna Balaji T
    Edited by: krishna balaji on Nov 13, 2008 8:00 AM

    hi,
    Check out this link. It will give you an idea how to integrate Aobe island comp with web dynpro.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/307b434f-ff32-2b10-e885-991247270480
    Thanx.

  • Controlling visibility of Web Dynpro Java iView in portal WDJ page

    I should be able to use the WDPortalUtils interface in my Web Dynpro Java DC application to get the name of the iView in my Portal WDJ page using IWDPageService method getVisibleIViews(). My intent is to add another iView to this page and programmatically control the visibility of each iView from my WDJ application.
    -> Instructions I have found through my online research indicate I should not have to specify a sharing reference because I am using the WDJ framework, but I tried it anyway. It didn't work.
    -> I have added DC epbc.prtapi._api public part to my used DC's, and specified dependency at both Build time and Run time.
    -> My portal page template is of type Web Dynpro Proxy Page.
    -> My iView template is of type Web Dynpro Proxy iView.
    -> The Page Content view of my page shows the 'visible' checkbox set for my iView.
    The following statements in the wdDoInit() method of my DC's view controller should return the portal name of my iView:
    IWDPageService pageService = (IWDPageService) WDPortalUtils.getService(WDPortalServiceType.PAGE_SERVICE);
    String[] iViews = pageService.getVisibleIViews();
    I get no compile time errors or runtime errors when I execute these statements.
    BUT...
    Instead of a String array, I get back a memory space pointer.
    Example: [Ljava.lang.String;@664e664e
    What am I missing?

    Hi Jennifer,
    That's what this forum is all about; finding solutions to hard-to-solve issues, which might also help someone who may face the same issue in the future. So I hope my input is valuable
    The last thing I can think of is the method is been called before the portal page has been rendered completely, which may lead to the faulty results.
    Is it possible to move the getVisibleIviews() to a method which is called later in the phase (for instance, at the bottom of wdDoModify or wdDoPostProcessing) or, even better, in an onAction event handler when a button is clicked?
    If this doesn't work I'm afraid I'm running out of options and i would file an OSS message with SAP
    Hope this helps!
    Robin

  • Is it possible to cal web dynpro java application using portal application?

    Hi,
    is it possible to cal web dynpro java application using j2ee portal application?
    If possible, how can it be done the parameter mapping over context area?
    Regards.

    you can just append parameter to the url as usual.
    you will write some code in the controller to get the parameters and set them to the context.

  • How to use chart engine for web dynpro java(EP) for Graphics generation.

    Hi Frndz..
    now lookiing out for different types of dynamic graphics generations according to my requirment, n i saw the followiing blog
    Testing BusinessGraphics in Web Dynpro for Java
    Itz very nice to see that we can generate planty of types, but here our server is EP 7.0(not CE 7.1) and i gone thru  these links also
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/86/243f403f0a9354e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/0b/79553b066d9414e10000000a114084/frameset.htm
    https://help.sap.com/saphelp_nw04/helpdata/en/0c/95c83956852b51e10000000a114084/frameset.htm
    here it seems to be Chart Engine n Chart Designer is mainly for BSP(R3), how best we can use this for web dyn pro java.
    Thanks in Advance
    Regards
    Rajesh

    hi
    if you want to use BusinessGraphics in WebDynpro java you have to configure IGS.
    IGS Configuration
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4846ac90-0201-0010-099d-d3b4e271849c
    Business Graphics docs.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3261cd90-0201-0010-268c-d8d72e358af6
    ChartDeigner Usage
    http://help.sap.com/saphelp_nw04/helpdata/en/18/d4d43fb9490c65e10000000a114b1d/frameset.htm
    Generating Gantt chart using web dynpro business graphics

  • When to use 'Web dynpro ABAP' and when to go for 'Web Dynpro Java'

    Hi,
    I am trying to learn 'Web dynpro ABAP' from tutorials available on SDN as i am presently working in ABAP. I am also Java learned.
    Please tell me the selection criteria for using Web Dynpro component / application using ABAP or JAVA.
    Regards,
    Tanaya

    Hi,
    Go through this
    Web Dynpro: ABAP or Java?
    WebDynpro for ABAP Vs Java
    Re: Javascript future in Webdynpro (JAVA and ABAP)
    Javascript future in Webdynpro (JAVA and ABAP)
    PradeeP

  • Reading iview personalization language in Web Dynpro java

    HI
    How can i read Iview personalization language in webdynpro java netweaver 7 enviroement?
    WDWebContextAdapter.getWebContextAdapter().getRequestParameter("sap-locale") is deprecated it seems.
    regards
    PG

    Hi Pranav,
    In that case why dont you try to use the PCD API to access iView properties
    Check this link:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/314ae7a5-0c01-0010-c198-9c7c5e8cee46
    /people/daniel.wroblewski/blog/2006/08/15/pcd-ii-creating-portal-objects
    You would require following jars for accessing PCD data:
    com.sap.portal.usermanagementapi.jar,
    com.sap.portal.pcd.glserviceapi.jar,
    com.sap.portal.ivs.api_iview_api.jar
    This thread contains the links for accessig the PCD content properties. Please check this as well:
    iView Properties
    I hope this solves the issue.
    Thanks and Regards,
    Pravesh

  • Problem changing language for texting on BB Curve 9300 3G

    Blackberry 9300 3G
    Does anyone know if there is a quick way of switching keyboard language? My mobile has English and Arabic keys on the keyboard, but no Arabic option on the phone under the language settings.
    When I attempt to update input languages to include Arabic through the desktop software I get the following message:
    "BlackBerry® Desktop Software failed to validate your BlackBerry® device update.
    Aborting install due to validation failure. Some packages contained unsatisfied dependencies."
    The only advice I've found is to go to logs under ~Library on my Mac with OS X 10.6.8 which will show messages of apps that need to be uninstalled as they're third party and can't be validated. This seemed to indicate Blackberry Appworld needed to be uninstalled which I did, but still have the problem.
    If anyone can help that would be great.
    Also I'd be grateful if anyone can confirm if Blackberry phones are supposed to be this inconvenient? I've just spent my eigth hour on this, and I'm regretting ever having bought the phone. I've made phone calls with it, and sent texts in English, but apart from that nothing. I've already got a phone that's a tenth of the cost that also types in Arabic, which I think makes Blackberry pretty useless by comparison.
    Solved!
    Go to Solution.

    I have finally found a work around for this problem. I adapted the advice from the link here: 
    http://forums.crackberry.com/forum-f62/how-un-brick-blackberry-mac-336488/
    To clarify I was using a BB9300 3G Curve, with BB OS 6, with the latest BB Desktop version, running on a Mac Book Pro.
    You need to wipe the phone and reinstall the operating system for the handset in a way that possibly flashes the RAM on the phone, as it appears a large batch of phones were shipped with this bug.
    Once prompted to repair the phone you need to choose the earliest version of OS offered by the repair wizard. It will remove your personal files and settings which will need to be reinstalled manually.
    My steps were as follows:
    FIRST OF ALL ENSURE YOUR PHONE IS NOT CONNECTED TO YOUR MACHINE AND THAT BLACKBERRY DESKTOP IS NOT RUNNING.
    1. Delete operating system versions stored on your Mac by navigating to ~Library/ApplicationSupport/BlackberryDesktop/DeviceApplications
    2. Empty the Recycling/'Trash' Bin
    3. Remove the battery from your Blackberry and then connect to your machine via USB cable. The phone will display a battery with a red cross. The Desktop software should launch after the phone is connected.
    4. You will be prompted to repair or restart the phone. Opt to repair and you should be presented with various versions of previous operating systems. It recommended the latest version for me, but in fact I found I had to go right back to the earliest version of operating system available which was OS5. Select this and then start the download.
    5. I found the phone downloaded the entire software in one go but in the original advice it says the phone may need to be reconnected several times as it drops off, closing and restarting BB Desktop software each time. I found this only happened to me when trying to install the later versions of the operating system.
    6. At the halfway point of the installation the progress bar stated it was 'Waiting for device to initialise'. At this point reinsert the battery.
    7. Then wait for the phone to restart which took over 20 minutes for myself.
    8. This should have completed the installation. Most importantly when the phone set itself up with OS5 it gave me an option to choose the input languages available on the phone and delete unwanted ones. I got a message on BB Desktop recommending I upgrade the OS to 6, which I did, and which now functions with input languages.
    Again this workaround is from:
    http://forums.crackberry.com/forum-f62/how-un-brick-blackberry-mac-336488/ which I had to alter to the steps I have outlined in case it assists anyone in the future. 

  • To Implement TREX functionality in web dynpro java application in portal

    Hello Experts,
    We have a requirement in which the client want to search with the help of TREX in webdynpro for java application. Can you please help how we can connect webdynpro for java with TREX.
    Thanks and Regards,
    Vivek

    Hi Robin,
    I have connected the KM with webdynpro java application with the help of following url.
    Knowledge Management and TREX Functionalities through WebDynpro using KM index management APIs
    Still not getting any data returned from the KM. What should i do next.
    Thanks and Regards,
    Vivek

  • How to configure SSO for web dynpro ABAP (not web dynpro Java)

    Hi Experts,
        I am testing SSO in IDES for web dynpro ABAP (Not for web dynpro Java / not for portal). When I am entering url of web dynpro application in web browser like internet explorer, then it should ask for user id and password first time, after login whenever user would access that url, it must not ask for user ID and password (url would be access web browser in mobile). For this I select to configure single sign-on for web dynpro ABAP. I have done below works:
    1). I have created a web dynpro application having url: http://susws076.sap.swk:<port>/sap/bc/webdynpro/sap/zadb_hello_world2
    2). I run TCode SICF and access service node to "Zadb_hello_world2". Double click on it, hit change. pressed "logon data" tab, select "Alternative logon
         procedure"
       Then deleted all logon procedure other than "SSO Authentication" and saved.
    3). Go to "STRUST" and create certificate, choosed "Environment==> Logon Ticket" fill the required parameters and execute. It is OK (no red traffic
         signal).
    4). Execute TCode "RZ10" to change profile parameter, insert new parameter (indicated by red arrow)
    After all this settings I opened a browser enter above URL and hit enter but there is an error
    There is no login page. It directly showed this error page. No cookies is saving.
    Can anyone tell me what all the settings/configuration other than this I have to do. And is there any wrong setting done by me?
    How to set the for single sign-on?
    Thanks in Advance
    Regards
    Piyush

    Hi Piyush,
    Pls refer below links,
    Single Sign On with ABAP WebDynpro
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/5e/6c85c3edf942f39349a1e337434d29/content.htm
    Regards
    K.N

  • Enhancements / Modifications in Web Dynpro Java

    Hi, all!
    I' ve a more general question: Are there any enhancement concepts for Web Dynpro Java available or at least planned that would give developers the same comfort and possibilities ABAP programmers have?
    I mean, will there ever be an Enhancement Framework like in ABAP - modification free enhancements via BADIs or customer exits?
    Think of one of SAPs WDJ flagship - the ESS/MSS. If you want to change anything within, you have no other possibility but to modify the sources. Considering this - together with the weak possibilities of backend access via JCo - I give the WDJ not a chance to stand the challenge of WD4A.
    Regards,
    Thomas

    Hi!
    I' m just going through the hep-pages, but what I can definitly say by now is that there' s no enhancement-concept in sight. This matter is getting kind of really embarrassing and leaves the question open: What the heck should an SAP customer persuade to focus on Java Development? No enhancements, no direct data access, no easy debugging possibilities like in ABAP.
    I' ve started with WDJ, but digging deeper into WD4A I' m getting more and more convinced that the whole Java thing was just something like a playground field for the development of the programming model and is now getting more and more obsolete with the rising of WD4A.
    Correct me, if I' m wrong, and forgive me, if I' m flaming, but when I started with Java development in SAP enviroment I was quite enthusiastic and didn' t understand resentiments of the ABAP developers against our programming language, but now I' m more and more joining their opinion.
    Regards,
    Thomas
    PS: I' ve - by the way - done the SAP Java Certification and am already regretting it.

  • Adobe Flash Islands + Web Dynpro Java - CE 7.1 EHP1

    Hi All,
             I am currently working on flash islands in web dynpro java(CE 7.1 EHP1  Trail version). i have done some sample projects in Flex Builder and using the complied(Flex Complier 2.0) SWF file, i was able to do data transfer between web dynpro java and Flex component. every thing works fine till this but if i complie the flex project using Flex Complier 3.0, i am able to see the Flex component rendered in web dynpro java, but data transfer dosent work.
    i have checked few thread in SDN and came to know to use WDFlashIsland30.SWC library to complie using FLex Builder 3.0.
    i got this library and complie the Flex Component using Flex Complier 3.0 and placed this WDFlashIsland30.SWC in server also but the problem exists .... the complied Flex Component is getting reddered in web dynpro java but the data transfer is not happening ???
    what could be problem ???
    1.  Is it enough to place the WDIslandLibrary30.swc libraby in CE 7.1 EHP1 version for data communication between Flex and Web Dynpro Java if so what could be the problem ?
    2. Or do i need update the Server ???
    Thanks and Regards,

    HI,
    your issue is completely independent from the server, it's a pure client problem. In general Web Dynpro Java does not care which Flex version you used to compile, as long as you used the right library.
    If you did not change anything else it should work. Are you sure you replaced the used library and changed the source-code-compliance before recompiling?
    Kind Regards,
    Carl Heckmann

  • Standard F4 (search help) in the web dynpro JAVA

    Hi,
             I have a small doubt in web dynpro Java. Basically I am an ABAP developer. We created some custom Remote function modules (RFM). Now are able to call RFM through web dynpro JAVA in the portal. We are able to run the RFMs in the portal.
             But we have problem with search help. How can I built the search help for the input fields in the portal using web Dynpro  Java.
             Can we bring standard search help (which is exist in R/3) in the portal?

    Hi,
    I think there is no standered functionality available in WDJava to achieve this functionality like ABAP or WDAbap. but, you can still achieve this using OVS option. to do this also, first you should have an interface which can talk to the R3 system and search the dB as per the query parameters i.e, an RFC which can the desired form of input and give you the desired output.
    for more info on OVS, please look into this below links.
    OVS:
    Web Dynpro Java Tutorials and Samples NW 2004 [original link is broken]#51 [original link is broken]
    WDJ tutorials:
    Web Dynpro Java Tutorials and Samples NW 2004 [original link is broken]

Maybe you are looking for

  • Importing from CA ERWin 9.2

    Hi All, I am trying to import a .xml created from SAVE-AS dialogue of ERwin 9.2 in PD 16.2 but for my dismay I am not able to import the data-types. Following are the list of steps: 1. Create a .xml file from the logical model (or even with just phys

  • Help on when loop

    This is my code for the 99 bottles of beer on the wall song... I got the idea from a book and said, hey neat, I should try that: class beerSong{      public static void main(String[] args){           int beerNum = 99;           when(beerNum > 1); {  

  • Transfer videos to ipod

    When I try to transfer the videos to iTunes it doesn't appears. Why? I've tryied a lot of times even i reset my computer and it doesn't transfer to iTunes. Any ideas???

  • How can I get class's members while editing?

    Hi, all. I am creating Java editor. In Forte, JCreater, MS's visual studio.. most editor shows all members of the class you are editing. When you declare one method it shows the method name on the member's tree right away. How can I do this. Thank yo

  • ITunes won't open...gah!

    So I haven't had a useable iTunes program for over a month now. This really blows. When the new update came out, stupid me hit the "go to update" or whatever button. When will I ever learn?? So after that, my iTunes wouldn't open. I'd click on the ic