Web Dynpro Java Internationalization and backend ABAP function modules

Friends,
I have a requirement where I want my Web Dynpro Java application to support BRAZIL and CHINESE.
I have been through the sample programs and tutorials and I understand how to support my application in these 2 languages. The challenge I am facing is how to communicate the language to the backend code (ABAP function modules) so that the function modules can written language specific error messages and texts.
I searched SDN but could not find anything. Your help is appreciated.

Prashant,
When you are configuring JCo connection in WebDynpro Content Administrator, just left language settings blank for metadata connection (you may do the same for data connection). Now WD will supply language of currently logged-in user when obtaining connection settings from system landscape and you'll get necessary functionality.
By default locale of user determined by parameter sap-locale (sap-locale=de_DE for example), settings of user's browser and lastly preferences of user stored in UME.
Btw, BRAZIL (or Portugees for this matter) is not fully supported language by SAP, so R/3 side may be not  translated or partly translated.
Valery Silaev
SaM Solutions
http://www.sam-solutions.net

Similar Messages

  • Portal Eventing between Web DynPro Java iView and non-Web DynPro iView

    Dear Experts,
    I have 1 Web DynPro Java iView and 1 non-Web DynPro (using JSPDynPage and JSP) iView, both attached to a page. When Web DynPro Java iView fire a portal raise event, the portal iView did not execute the javascript function tied to the event subscribed.
    Here is the code snippet which reside in the Web DynPro Java iView that is used to fire the event
    String param = "test";
    WPortalEventing.fire("urn:com.company.Test1", "TestEvent", param);
    This the code snippet that is in the jsp page
    function notifyTest(param)
         // Code to print param value here
    EPCM.subscribeEvent("urn:com.company.Test1", "TestEvent", notifyTest);
    Note:
    1. When Web DynPro Java iView fire the portal event the entire page is refreshed, including the non-WDP iView.
    2. When EPCM is replaced with window.top.EPCM, the page is refreshed, it is totally hanged with progress bar.
    Can anyone help to solve this problem?

    hi
    Please write the below code snippet in ur jsp for notifyTestjavascriptfunction
    function notifyTest( eventObj ) {
         eventParameter=eventObj.dataObject;
         // code to print the parameter "eventParameter"
    Thanks
    Harsimran

  • Upload File in Web Dynpro Java CO and store it in the context

    Hi Guys!
    I have developed a web dynpro CO form, and I need to be able to upload a file in an action and then be able to download that file in further actions.. I have evaluated saving the file in the backend via RFC, in KM and also creating a CAF project.. but I think there must be a simpler way : saving it in the context of GP.
    Does someone knows if it is possible to do that?
    best regards,
    Marco.

    Hi Marco
    In webdynpro java, there are UI elements File Upload and File Download. You can use these UI's to upload and download attachments. From NetWeaver 7.0 onwards, you have IWDResource interface which can be used to upload attachments. But in GP if you want to pass attachment to another action you must use Binary as a data source. Bind the File upload UI element to Binary. In addition, you should define input and out parameters in getDescription method.
    Thanks
    Ghazanfar

  • How to use Web Dynpro Java isChanged and isChangedByClient

    Hello,
    I have read thorugh a lot of documentation, threads, ... --> but the picture is not geting clearer fro me.
    We have Web Dynpro Java Application (on Netweaver 7.0 SP12) running in Enterprise Portal. We need to tell the portal work protect mode, that we have unsaved changes (how to do this is clear).
    I am struggling with figuring out, that my Web Dynpro Context has unsaved changes. I found the two change-indicators isChanged() and isChangedByClient(), which already confuses me a little bit.
    Anyway, this is what I have figured out so far:
    I am calling wdContext.currentContextElement().isChangedByClient() to figure out changes and when a Save operation has been completed sucessfully, I call wdContext.currentContextElement().node().getContext().resetChangedByClient(). This works for some of the changes made by the user.
    I then tried calling wdContext.nodeABC().getElementAt(i).isChanged() for all nodes of my Web Dynpro Context, but this results in detecting changes before the user ha done any interaction.
    Implementing an own change tracking (i.e. by adding a changed-Attribute to each context node) does not seem a viable option for me.
    So these are my questions:
    - Does anyone now a working pattern relying on those chnage indicators ?
    - Does anyone now how to reset the isChanged indicator (or when it is resetted by the framework) ?
    Any help appreciated.
    Thank you,
    Stefan

    Hi
    Check this link
    Re: How to keep isChangedbyClient flag set between roundtrips?
    http://help.sap.com/javadocs/NW04/current/wd/com/sap/tc/webdynpro/progmodel/api/IWDNodeElement.html
    Thanks

  • System Connection Test was not fully tested but all web dynpro java app and Transaction iviews working fine.Any problem for this Kind of activity Lets give some idea.

    System Connection Tests
    You can test the connectivity to the backend application represented by the current system object. Choose the relevant tests.
    Note: The test is based on the properties currently defined in the system object. It does not check if the system properties are correct.
    System Connection Tests
    Test Name
    Description
    Status
    SAP Web AS Connection
    Tests the connection to an SAP Web Application Server
    ITS Connection
    Tests the connection to an SAP ITS server
    Connection Test for Connectors
    Tests the connection to a backend system using an associated connector
    Test
    Clear Results
    Results
    SAP Web AS Connection
    Test Details:
    The test consists of the following steps:
    1. Checks the validity of system ID in the system object.
    2. Checks if the system can be retrieved from the PCD.
    3. Check whether a SAP system is defined in the system object
    4. Validate the following parameters: WAS protocol; WAS host name
    5. Checks if the host name of the server can be resolved.
    6. Pings the WAS ping service; works only if the service is activated on the ABAP WAS.
    7. Checks HTTP/S connectivity to the defined back-end application
    Results
    1. The system ID is valid
    2. The system was retrieved.
    3. The system object represents an SAP system
    4. The following parameters are valid: Web AS Protocol (http) Web AS Host Name 
    5. The host name ssprdxi.stylespasapnet.com was resolved successfully.
    6. The Web AS ping service was pinged successfully.
    7. An HTTP/S connection to was obtained successfully.
    ITS Connection
    Test Details:
    The test consists of the following steps:
    1. Checks the validity of system ID in the system object.
    2. Checks if the system can be retrieved from the PCD.
    3. Check whether the system object has a valid system alias
    4. Check whether a SAP system is defined in the system object
    5. Validate the following parameters: ITS protocol; ITS host name
    6. Checks if the host name of the server can be resolved.
    7. Checks HTTP/S connectivity to the defined back-end application
    Results
    1. The system ID is valid
    2. The system was retrieved.
    3. Retrieval of the default alias was successful
    4. The system object represents an SAP system
    5. The following parameters are valid: ITS Protocol (http) ITS Host Name ()
    6. The host name ssprdxi.stylespasapnet.com was resolved successfully.
    7. An HTTP/S connection to was obtained successfully.
    Test Connection with Connector
    Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the backend application using the connector defined in this system object
    Results
    Retrieval of default alias successful
    Connection failed. Make sure that Single Sign-On is configured correctly
    regards
    Antony

    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

  • Is there any Standard Web dynpro Java Components like in ABAP Web dynpro's

    Hi,
    Experts,
    I want to know that in web dynpro for Java there is any standard components exists or not like in ABAP web dynpro's standard components exits.Please clarify on that question..
    Thans in advance,
    Shaber Ahmed.

    Hi Ahmed,
    I dont think there are any standard components available on Webdynpro Java like ABAP. But, there are quite a few standard Project available on SDN if you want to practise some exercises. Just do a search on SDN you get lot of standard example projects that you download and Import them in to the WebDynpro Java Perspective of NWDS.
    I hope this help. Let me know if you need any more help.
    Regards,
    Ammu Gopal.

  • Uploading CSV File into Web Dynpro Java Table and Write back to a Database

    Hi Gurus!
    I would like to upload a csv file and read the content into an UI table element.
    Then, I need to write the uploaded file back to a database. I'm using NetWeaver 2004s.
    could you please provide advice for both, uploading and wirting to databse (e.g. maxDB or oracle), since I'm quite new in WDJ.
    thanks in advance.
    farid
    ps. helpfull answers will be rewarded with points!

    Hi ,
    have look at this blog
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6603. [original link is broken] [original link is broken] [original link is broken]
    Have a look at this links.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0d9336b-b4cf-2910-bdbf-b00d89bd2929.
    Re: Popup Internal Window - data type IWDWindow not available
    Regards,
    krishna.

  • Web Dynpro Java Application for Handheld Device

    Hi everybody,
    I have been reading some documentation about what is the best option to create an application for handheld device. So this is my landscape. I have SAP Netweaver 7.4 SR1 AS ABAP, and Java instance. So, I want to know whether is possible to create a normal web dynpro java application and then visualize this application on Browser of handheld device. That's all that I have to do? I read that exist another solution Developing mobile application for handhelds. By other side a need to know how to is the integration of this device with this application if exist. This application is going to consume data from SAP Backend system, so I just have to create JCO's for connect this application to this system, right?
    Please, can you help me with that.
    Best Regards.

    Hi Deepti,,
    Refer to the following thread which says that you must retrieve the data from the CRM backend system using standard BAPI's or customer Remote enabled function modules (socalled RFC's) and to access the backend system you will have to set up an RFC connection with CRM system.
    Regarding web dynpro and CRM
    Thanks & Regards,
    Jhansi Miryala

  • 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]

  • Maintaining custom Web Dynpro Java applications

    We are a relatively new Web Dynpro Java shop, and I hope to propose a standard for code modification documentation to my organization. I have a few questions for WDJ maintenance developers:
    When documenting creation and modification activities, what is the benefit of using the javadoc comment convention?
    In the controller implementation tab, when I use the Source --> Add JavaDoc Comment tool, the comment block is always inserted into the
    //@@begin imports
    tag. Is the automatically generated tag
    //@@begin documentation
    in the controller implementation tab useful? Should summary information and ongoing modification comments for the controller be stored here?
    Does anyone require full javadoc comments on every new method? @param, @return, @exception?
    Do the NWDS/Eclipse Tasks and/or Bookmarks provide any real value? I have observed that bookmarks are useless for flagging code changes because they are dropped whenever edits are saved. I'd like to leverage Tasks, are there any examples of using them successfully that can be shared with me?

    The Java source in Web Dynpro is generated from the meta-data. Manual changes must be done exclusively inside the so-called user coding areas marked by comments //@@begin ID ... //@@end. That has the consequence that many of the Eclipse source code and refactoring functionality does not work anymore resp. is overwritten by the code generation step. Please be careful.
    Armin

  • Passing an XML file from WebDynpro app to ABAP function module

    Hi all,
    I'm stuck with a problem, and am hoping one of you could let me know how to proceed:
    I need to pass an XML file (or at least the entire content of the XML) from my WebDynpro application to a backend ABAP function module. What I tried was this:
    In my WebDynpro app, I read the XML and convert the content into one long string (using java.io.FileReader and java.io.BufferedReader). In my ABAP function module I created an import parameter of type String. I then imported the ABAP Function module into my WebDynpro app as a model. I then tried to pass the XML string to the ABAP module. What happens is this:
    If the size of the string (XML) happens to be less than 255 characters, then it works. That is, the string is passed to the ABAP function module and I can see the contents. However, if the XML string happens to be greater than 255 characters, then it does not work. The string at the ABAP side is empty. Surprisingly, the ABAP module does not throw an error either. It just displays an empty string.
    Could you please tell me what the problem is?
    Thanks & Regards,
    Biju

    Hi Biju ,
    Welcome to SDN.
    If the import parameter is defined as type string it should work, however did you check whether your application pass it properly?
    I have applications using strings as import parameters working fine. (webapplications (BSP) to RFC)
    Regards
    Raja

  • Accessing ABAP Functions in Web Dynpro Java

    Hi,
    I am trynig to do "Accessing ABAP Functions in Web Dynpro Java" this application, (which is the example application which i got from www.sdn.sap.com) but everything is fine no error also while dyploying.
    But it is not dysplaying the first page after i run the application i am getting plain web page ,without any content.
    Can any body help me.
    Regards,
    H.V.Swathi

    k.. now iam getting some error on page.
    I have embeded the two view in to window.
    But now after running the application i am getting connection error
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=jktr3 GROUP=SPACE R3NAME=R32 MSSERV=sapmsR32 PCS=1 ERROR Group SPACE not found TIME Fri Sep 26 15:05:59 2008 RELEASE 700 COMPONENT LG VERSION 5 RC -6 MODULE lgxx.c LINE 4288 DETAIL LgIGroupX COUNTER 1
        at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:457)
        at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:989)
        at com.sap.mw.jco.JCO$Client.connect(JCO.java:3193)
        at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:90)
        at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:122)
        ... 61 more
    Rgards,
    H.V.Swathi

  • Difference between web dynpro java and web dynpro abap

    Hi this is watson maureen,
                 I wnat to know what is  the difference between web dynpro java and web dynpro abap?
    thank
    maureen

    Hi watson,
    Go through these links, you will get the difference between web dynpro java and web dynpro abap
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0e4940c-035c-2b10-0b9d-eb8f99674f4e
    Web Dynpro: ABAP or Java?
    Regards
    Sreedhar.

  • Difference between Web Dynpro Abap and Web Dynpro Java

    Hi,
    What is the difference between Web Dynpro Abap and Web Dynpro Java.
    Thanks,
    Suresh

    hi suresh......
          from the end point of view, the customer wont know whether the application is done by java or abap. only the programming language differs and nothing much more.
    ---regards,
       alex b justin

  • BSP / Web-Dynpro (Java / Abap)  what to use in this case ?

    Hi all,
    i have some questions about all this BSP/Web-Dynpro stuff. We have an application (for health care written in Visual Studio) out there at our customers. Some of these customers are using SAP as their backend system. So we've writte some backend functionality (a cash processing, additional reports, a special invoice system etc.etc.) in Abap and Abap-Objects. Actually we are planing a new release for this backend stuff which is using the normal SAP Gui.
    Maybe we plan for the next release to convert our app to a Web based app and we discuss what SAP technology we should use for that.
    Here are my questions :
    - When and why should we use Web-Dynpro (Java) ?
    - Can't we use BSP ?
    - Is there any future for BSP ?
    - When will Web-Dynpro for ABAP be released (actually we are not a Java Shop so Abap is prefered)?
    Hope someone can answer my question.
    Greetings
    Henning

    If you don't mind, I am going to terminate discussion of Web Dynpro ABAP here. It is not that I want to, but we are in a difficult position with this development, and can not really discuss it too much.
    But, let me first make a few (last) comments:
    (*) BSP is available since WebAS 610 (which is now nearly at the end of its lifetime). WebAS 620 is the main platform out there, with NW04 (WebAS 640) now shipping, and the next product is inevitably coming. If you keep in mind that SAP supports each release at least 7 years, and we will be shipping BSP in an upcoming release, you can see that with BSP you are not going to left stranded for many years to come.
    (*) Web Dynpro Java is out and shipping. A very nice development environment. You can build nice things with it.
    (*) Web Dynpro ABAP: it will become a very nice product as well. We should know :). But, it will definitely not ship on NW04 platform. Which unfortunately means the next great NW shipment (both naming and date is not available).
    From our experience, most people seem to make their decisions based on the available Java versus ABAP skills in the shop. However, the other factor to look at is also "pixel perfect" rendering. Only with BSP can you influence the rendering. Web Dynpro is more a development platform for business applications, and as such they must conform to the designated model/concepts, etc.
    brian

Maybe you are looking for