WebDynpro Localization

Hello Experts,
We are implementing e-recruitment for our client in 3-4 countries. Each country has their own changes to recruitment process. What is the best practice to localize Web dynpro application as per requirement of each country??
Most of the changes cant be handled via application configuration. It may need implicit enhancements but that will have effect cross countries.
Regards
Vishal Kapoor

Hi Radoslav,
You need use Message Pool for showing any data in the WEB Dynpro Applicaiton screen for intenationalization.
Please refer to this link might help in you scenario :
[Developing International Web Dynpro Applications|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/internationalization%20of%20web%20dynpro%20applications.pdf]
Hope it helps
Regards
Arun

Similar Messages

  • Localization of form-validation messages in WebDynpro

    Hello all,
    We're trying to solve this issue:
    How to get localized (e.g. Slovak) messages which are result of form validation?
    Situation: there is a context atribute, it's type is a simple type and this attribute is bound to an UI input element. When the form is submitted, every such attribute it's checked against it's simple-type.
    So the question is how to get these messages - when validating automatically - for example:
      "Enter the value in the format 25.11.1987"
    in defined language? Is there a way how to configure/translate them?
    Thanks a lot!!
    Rado

    Hi Radoslav,
    You need use Message Pool for showing any data in the WEB Dynpro Applicaiton screen for intenationalization.
    Please refer to this link might help in you scenario :
    [Developing International Web Dynpro Applications|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/internationalization%20of%20web%20dynpro%20applications.pdf]
    Hope it helps
    Regards
    Arun

  • Generation error during WebDynpro migration from 7.0 to 7.31

    Hello everybody!
    We are trying to migrate some WebDynpro DCs to NW 7.31. After checking in the old sca file into the new track, synching the DCs in NWDS and creating projects for them, most of the DCs compile ok, but we get a build error in one WebDynpro DC we are not able to resolve.
    The build.log shows
        [wdgen] [Error]   Generation error while processing <somepath>/NWDSWorkplace_7_3.jdi/2/t/C5FB4D1181864A07E2DF8F1E8D280266/gen_wdp/packages/de/xxx/somepath/wdp/Resource<myview>.properties (java.lang.reflect.InvocationTargetException)
    with the stack trace showing an Generation error while processing template defaultResource:
         [wdgen] [Info]    Generation error while processing template defaultResource
         [wdgen] [Info]    Catching throwable null
         [wdgen] [Info]    java.lang.reflect.InvocationTargetException
         [wdgen] at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
         [wdgen] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         [wdgen] at java.lang.reflect.Method.invoke(Method.java:597)
         [wdgen] at com.sap.ide.generationfwk.task.GenerationTaskJavaMethod.executePersistent(GenerationTaskJavaMethod.java:139)
         [wdgen] at com.sap.ide.generationfwk.GenerationBase.doPersistentGeneration(GenerationBase.java:207)
         [wdgen] at com.sap.ide.generationfwk.GenerationBase.doPersistentGeneration(GenerationBase.java:164)
         [wdgen] at com.sap.ide.webdynpro.generation.Generation.doPersistentGenerationForComponentDefaultResource(Generation.java:541)
         [wdgen] at com.sap.ide.webdynpro.generation.Generation.doPersistentGenerationForComponentResources(Generation.java:3188)
         [wdgen] at com.sap.ide.webdynpro.generation.Generation.doPersistentGenerationForComponentRecursively(Generation.java:1788)
         [wdgen] at com.sap.ide.webdynpro.generation.Generation.doPersistentGenerationForComponentRecursively(Generation.java:1772)
         [wdgen] at com.sap.ide.webdynpro.generation.Generation.doPersistentGenerationForComponentRecursively(Generation.java:1772)
         [wdgen] at com.sap.ide.webdynpro.generation.Generation.generateComponentsForArchive(Generation.java:2660)
         [wdgen] at com.sap.ide.webdynpro.generation.Generation.generateMDOsForArchive(Generation.java:2604)
         [wdgen] at com.sap.ide.webdynpro.generation.Generation.generatePersistentArchive(Generation.java:1630)
         [wdgen] at com.sap.ide.webdynpro.generation.console.GenerationConsole.generate(GenerationConsole.java:190)
         [wdgen] at com.sap.webdynpro.generation.ant.GenerationAnt.main(GenerationAnt.java:69)
    So far, everything I could find is pointing to some localisation issue, but I'm not able to solve the problem. Some hints say I'd have to change the language settings of the DC (or SC) upon import, but I never saw anything that gave me an opportunity to do so. On the other hand, other WebDynpro DCs in the same track get imported o. k. and compile without any error.
    The other thing I see in this WebDynpro DC is that in some views, all GUI element texts are missing, some views are o. k.
    Can anyone shed some light on this issue ?
    Thanks
    Michael

    Ok, I can provide some more information:
    In the WebDynpro DC's .dcdef file, I changed
    <properties>
      <localization xmlns="http://xml.sap.com/2003/06/Localization" xmlns:ns0="http://xml.sap.com/2003/06/Localization">
       <domain>BC</domain>
       <originalLocale>en</originalLocale>
      </localization>
      <minimizeClassFiles xmlns="http://xml.sap.com/2004/07/DCProperties/WebDynpro" xmlns:pns1="http://xml.sap.com/2004/07/DCProperties/WebDynpro">auto</minimizeClassFiles>
      <projectVersion xmlns="http://xml.sap.com/2004/07/DCProperties/WebDynpro">1</projectVersion>
    </properties>
    to
    <properties>
      <localization xmlns="http://xml.sap.com/2003/06/Localization" xmlns:ns0="http://xml.sap.com/2003/06/Localization">
       <domain>BC</domain>
       <originalLocale>de</originalLocale>
      </localization>
      <minimizeClassFiles xmlns="http://xml.sap.com/2004/07/DCProperties/WebDynpro" xmlns:pns1="http://xml.sap.com/2004/07/DCProperties/WebDynpro">auto</minimizeClassFiles>
      <projectVersion xmlns="http://xml.sap.com/2004/07/DCProperties/WebDynpro">1</projectVersion>
    </properties>
    After that, the views with previously missing GUI texts were showing these texts inside the NWDS WebDynpro view editor, and those views that did previously show these text didn't show them any more! So there seems to be some discrepancy regarding the language the views were created in.
    Any hint on what files have to be changed in what way to either remove internationalization completely or to set all views to a single language ?
    Thanks
    Michael

  • Deploy Error when using Stateful Session Bean inside Webdynpro

    Hi,
    I'm trying to create a webdynpro project that uses a stateful session bean
    I have created DC's for a EJB Module project, Enterprise Application and Webdynpro component. Created the bean, built it, added it's package to the public part, added the EJB Module to the EAR project. Built the EAR project. Added the EJB Module project and Enterprise Application project as a used DC in the Webdynpro DC.
    In the Webdynpro DC I added com.sap.archive-packaging.default.update-descriptors=true in the build.properties file of the cfg directory. (using the navigator view) That resolved an error while building it.
    Deployed the Enterprise Application DC without problems.
    Tried to deploy the Webdynpro DC but I get the following error:
    Jun 16, 2008 9:40:46 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] WARNING:
    [012]Deployment finished with warning
    Settings
    SDM host : 10.64.36.74
    SDM port : 50018
    URL to deploy : file:/C:/DOCUME~1/JESCHA~1/LOCALS~1/Temp/temp59822company.nl~projempactcmp.ear
    Result
    => deployed with warning : file:/C:/DOCUME~1/JESCHA~1/LOCALS~1/Temp/temp59822company.nl~projempactcmp.ear
    Finished with warnings: development component 'projempactcmp'/'company.nl'/'local'/'20080616094022':Caught exception during application startup from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Error occurred while starting application company.nl/projempactcmp and wait. Reason: Clusterwide execption: server ID 6060950:<--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='Failed implicit start for company.nl/projempejb : Unknown state(5)', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key Failed implicit start for company.nl/projempejb : Unknown state(5)', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='Failed implicit start for company.nl/projempejb : Unknown state(5)', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key Failed implicit start for company.nl/projempejb : Unknown state(5) (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : Got problems during deployment
    Does anyone know what this error means and how to resolve it. I searched the forum but only found errors that look like this relating to XI not to Webdynpro.......
    Thansk,
    Jeschael
    Edited by: J.V. Lebbink on Jun 17, 2008 6:52 AM

    Default is 30mts.
    This is done as a parameter in orion-ejb-jar.xml. Please look at the EJB Guide at http://otn.oracle.com/docs/products/ias/doc_library/903doc_otn/generic.903/a97677/dtdxml.htm#634197 for details
    regards
    Debu

  • WebDynpro development : KM reference - PortalApplicationNotFoundException

    Hello All,
    I have created a WebDynpro application where i would read an XML in KM folder and display the content.But, when i *** the sharing reference "PORTAL:sap.com/com/sap.km.application" as WebDynpro sharing reference, i get teh application but with warnings. When i open the message, i see the PortalApplicationNotFoundException.
    I have added the JARs bc.util.public_api.jar,bc.sf.framework_api.jar,bc.rf.global.service.urlgenerator_api.jar,bc.rf.framework_api.jar,com.sap.security.api.e p5.jar.
    I would like what could be the cause, our team had used the same reference in previous project.
    Caused by: com.sap.engine.services.deploy.container.DeploymentException: <Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='Exception while starting: SAPJ2EE::local/DisplayNewsCategory', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key Exception while starting: SAPJ2EE::local/DisplayNewsCategory
         at com.sap.portal.prt.sapj2ee.SAPJ2EEPortalRuntime.getAndStartSAPJ2EEApplicationItem(SAPJ2EEPortalRuntime.java:867)
         at com.sap.portal.prt.sapj2ee.PortalRuntimeContainer.prepareStart(PortalRuntimeContainer.java:482)
         ... 23 more
    Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: [ExternalApplicationItem.prepare]: SAPJ2EE::local/DisplayNewsCategory
         at com.sapportals.portal.prt.core.broker.ExternalApplicationItem.prepare(ExternalApplicationItem.java:188)
         at com.sapportals.portal.prt.core.broker.SAPJ2EEApplicationItem.prepare(SAPJ2EEApplicationItem.java:232)
         at com.sapportals.portal.prt.core.broker.SAPJ2EEApplicationItem.start(SAPJ2EEApplicationItem.java:192)
         at com.sapportals.portal.prt.service.sapj2ee.Mediator.getAndStartExternalApplication(Mediator.java:132)
         at com.sap.portal.prt.sapj2ee.StartPortalApplication.coreRun(StartPortalApplication.java:59)
         at com.sap.portal.prt.sapj2ee.SAPJ2EEPortalRuntime.getAndStartSAPJ2EEApplicationItem(SAPJ2EEPortalRuntime.java:863)
         ... 24 more
    Caused by: <b>com.sapportals.portal.prt.core.broker.PortalApplicationNotFoundException: Could not find portal application com.sap~km.sap.application</b>
         at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:413)
         at com.sapportals.portal.prt.core.broker.ExternalApplicationItem.prepare(ExternalApplicationItem.java:180)
         ... 29 more
    Thanks & Regards,
    Sharath

    Hi Sharath,
    the SharingReference should point to PORTAL:sap.com/com.sap.km.application.
    Not to PORTAL:sap.com/com/sap.km.application.
    Hope this helps.
    Regards,
    Michael

  • Problem acessing webdynpro applications deployed using SDM

    Dear All,
    We have two seperate boxes for ECC 5.0 and (WEBAS + EP).
    I am trying to run ESS and MSS on portal.
    I downloaded BP for ESS/MSS 100(for souce cose) and ESS/MSS 60.1(iview and other content) both.
    I deployed them both through SDM.
    I maintained all required JCo connection with ECC system as my target system.
    I maintained SAP_WEBDYNPRO_XSS system as my WAS system.
    I can see ESS/MSS roles and pages etc in portal.
    Also in webdynpro content administration i can see all deployed service i.e. ess/ar/pdata etc.
    When i select any of the service, and drip down to application node, i get error
    "Failed to find classpath for sap.com/ess~ben"
    or whatever service i select.
    when i run the application i get attached error.
    if you have any clue.. what is missing?
    thanks for your time,
    Regards,
    Sudhir
    java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/progmodel/api/IWDEventId
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
    at java.lang.Class.getConstructors(Class.java:865)
    at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:68)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:38)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doInit(ClientComponent.java:775)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:329)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:352)
    at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:593)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
    at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
    at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)

    Hi Shubham,
    Thanks for your reply..
    I am
    Installations and Upgradesè -> SAP NetWeaverè -> SAP NETWEAVERè -> SAP NETWEAVER 04 -> Business packages -> Portal content
    I have deployed ESS, MSS and SAPPCUI_GP files.. and in SDM i can see they are successful deployed..
    in ESS deployment there was some error for ess/tra
    and other component ess/tra/*
    no idea that will cause this issues. check the log in SDM.
    Starting Deployment of ess/tra
    Finished with warnings: development component 'ess/tra'/'sap.com'/'MAIN_xss04VAL_C'/'114133':
    Caught exception during application startup from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Error occurred while starting application sap.com/ess/tra and wait. Reason: Clusterwide execption: server ID 2107050:<Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.deploy.container.DeploymentException: <Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='Failed implicit start for sap.com/esstratrr : Unknown state(5)', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key Failed implicit start for sap.com/esstratrr : Unknown state(5)', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.engine.services.deploy.container.DeploymentException: <Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='Failed implicit start for sap.com/esstratrr : Unknown state(5)', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key Failed implicit start for sap.com/esstratrr : Unknown state(5)
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment of ess/tra finished with Warning (Duration 11282 ms)

  • Your experiences with Webdynpro ABAP

    Hi there,
    please give me an overview how your experiences (positive and negative) are with Webdynpro ABAP??
    Here are mine:
    Pos:
    - fast GUI modelling
    - browser = client
    Neg:
    - runtime
    - unflexible controls
    - no developer influence on programming modell
      (i dont like filling code snippets)
    - No Unddo-Button in IDE
    - auto-completion show names which are not member
      of current class/object
    Thx for your input.
    Regards,
    Markus

    On 1: Depends on the used client. With server-side rendering you will have some delay for the server roundtrip, smart clients are smarter.
    On 2: Changing of fonts/colors has not been exposed via API to enforce consistency. Only themes as a whole should be changed. Remember that the primary purpose of Web Dynpro are business applications like ERP.
    Positioning of controls restrictive? What does that mean? You cannot place controls by absolute coordinates (which is most probably not a godd idea for localizable applications) but you get a set of powerful layout managers like MatrixLayout etc.
    Armin

  • Trex search function in WebDynpro application

    We fail to run trex search function in a webdynpro application,
    in debugging, when it reach the method:
    search.seach(), we caught NullPointerException(instance "search" is not null!), we draw out the trex search code from the wd app, found it could works well, no exceptions occur.
    so do you know any additional configuration must be done before the search function could be used in a wd app?
    e.g. specify name server address in j2ee engine adm gui?
    I want to try this too, but I could not start the "Trex Service" in adm gui,
    following exception message got:
    Start service TREX Service
    java.rmi.RemoteException: Could not start service trex.service on cluster ID 9281950; nested exception is:
         com.sap.engine.frame.ServiceException: <--Localization failed: ResourceBundle='com.sap.engine.frame.KernelResourceBundle', ID='Service trex.service error. Nested exception is: java.lang.NullPointerException
         at com.sapportals.trex.core.TrexConfigManager.<init>(TrexConfigManager.java:175)
         at com.sapportals.trex.core.TrexConfigManager.internalGetInstance(TrexConfigManager.java:224)
         at com.sapportals.trex.core.TrexConfigManager.getInstance(TrexConfigManager.java:231)
         at com.sapportals.trex.core.TrexFactory.getTrexConfigManager(TrexFactory.java:100)
         at com.sap.trex.service.TrexService.setServiceProperties(TrexService.java:54)
         at com.sap.trex.service.TrexService.start(TrexService.java:28)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:189)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:140)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:72)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:126)
    ', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key Service trex.service error. Nested exception is: java.lang.NullPointerException
         at com.sapportals.trex.core.TrexConfigManager.<init>(TrexConfigManager.java:175)
         at com.sapportals.trex.core.TrexConfigManager.internalGetInstance(TrexConfigManager.java:224)
         at com.sapportals.trex.core.TrexConfigManager.getInstance(TrexConfigManager.java:231)
         at com.sapportals.trex.core.TrexFactory.getTrexConfigManager(TrexFactory.java:100)
         at com.sap.trex.service.TrexService.setServiceProperties(TrexService.java:54)
         at com.sap.trex.service.TrexService.start(TrexService.java:28)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:189)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:140)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:72)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:126)
    don't know what happened to this service

    Problem, he had a trexjavaclient.properties below his WebAS path. From WebAS630 TREX config has to be done inside Visual Administrator and not with any old (in this case wrong) trexjavaclient.properties.
    After removing this file. TREX service started normally.

  • Internationalization in webdynpro java

    Plz explain me Internationalization concept in webdynpro java applications//////////////////

    hi niru,
    The goal of Internationalization is to provide the technical foundation for enabling programs to support multiple scripts and languages without redesign or modification. Once a user has selected a logon language, all programs must transparently alter their run-time behavior to meet the expectations of the user. Internationalization furthers generic programming, because hard-encoded search strings, error messages, etc. may work in one language, but not in another.
    Internationalization interacts with every face of the system: logon language, language input, menu texts, sorting, character conversion, printing, data transfer - simply put, it is the technical underpinning of global business software
    Within Web Dynpro, the language-specific text elements are divided into three types:
    Texts that are defined when you create simple data types such as Simple types
    Language-Specific Resources that you specify declaratively at design time These include texts that you assign to the UI element properties or define when you create actions, methods, or simple data types.
    Messages
    Language-dependent resources of the message type text that are used in dynamic programming You can create these text elements also at design time using the message editor.
    Furthermore, the SAP NetWeaver Developer Studio supports the following:
    ·        The creation of texts and messages that are added to the properties file using the Message Editor
    ·        The modification of S2X files already created using the S2X Document Editor
    ·        The conversion of properties files into S2X files and vice versa The S2X Editor also allows you to add context information to S2X files that is essential for the correct translation of the text elements.
    These Web Dynpro tools simplify the process of the creation of international applications and hence the translation process of the language-specific resources.
    You can therefore develop applications that suit different languages without having to recompile an application for each individual language when a new language is to be supported.
    The Internationalization Service of the Web Dynpro Runtime Services supports this PropertyResourceBundle concept and allows easy access to the classes java.util.ResourceBundle and java.text.format. With the class com.sap.tc.webdynpro.services.sal.localization.api.WDResourceHandler, you can read the language-specific text elements using the following source code:
    // Load the resource bundle u201CMyResourceBundle.propertiesu201D located
    // in the package u201Ccom.sap.testu201D for locale set in the resource handler.
    // Therefore, the resource handler also needs the classloader that has
    // the package u201Ccom.sap.testu201D in its scope
    resourceHandler.loadResourceBundle(u201Ccom.sap.test.MyResourceBundleu201D, this.getClass() );
    // get the message of the u201Cpress saveu201D button
    String saveMessage = resourceHandler.getString( u201Cpress_saveu201D );
    For further help you can refer following link:
    http://help.sap.com/saphelp_nw04s/helpdata/en/2d/e7381138a8d2458f1f4fac32614f71/content.htm
    Regards,
    Anu

  • Logical Database in Webdynpro

    Hello,
    I have a program in R/3 that is based on a logical database. I don't want to have to write the program all over again in Webdynpro.
    Is there a way to use the logical database in Webdynpro for ABAP.

    Basically WDA calls a FM and then the following help is a good starting point:
    "Calling a Logical Database Using a Function Module"
    http://help.sap.com/saphelp_nw04/helpdata/en/64/237f8cd43711d1950b0000e8353423/content.htm
    Kindly close the thread and award appropriate a points to the answer given.
    Sergio

  • Filename in Webdynpro for a PDF created with Smartform

    Hi,
    I created a PDF with Smartform in my Webdynpro-Application.
    When I click the save button there is a default filename f.pdf .
    How can I change the filename?
    Regards
    Marcus Schug

    Hi Experts,
    any update on this?
    I am facing the same problem with ESS payslip (smartform/Hrform): my customer wants to have custom file name for download salery statements from the portal. Do you know how to change the default form name unknown.pdf to e.g.. "payslip_month_year"?
    I spent a lot of time to find any possibility to get and change the file name but without success till now.
    Please respond.
    Regards,
    Zdzislaw Kaczmarczyk
    Edited by: Zdzislaw Kaczmarczyk on Jun 14, 2010 4:41 PM

  • Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input

    Dear Friends,
    We are facing a serious problem for debugging. Expecting valuable input for the same.
    Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input in Production Server.
    The debugging (for WebDynpro-ABAP application) is working in Dev. Server for
    1st ] Within R/3
    Ex. debug for bapi within R/3. i.e. value enter as input in R/3 only.
    2nd ] From webpage to R/3
    Ex. Some input given on the internet web page developed through WebDynpro and external breakpoint set in R/3 it works. It directs to R/3 code through debugging.
    In Prod. Server the 1st case above is working but the 2nd case is not working.
    In Prod. Server the WebDynpro developed applications are running successfully through internet explorer webpage inputs. So running the application is not a problem in prod. Server but debugging of the same is the problem.
    The setting which are done in Prod. server are,
    1] RZ10 in parameters are set for port and host name.
    2.1] In SMICM check for ICM.
    2.2] Host file updated in Windows-System 32.
    3] In SICF following services are active,
    3.1] default_host/sap/bc/webdynpro
    3.2] default_host/sap/public/bc
    3.3] default_host/sap/public/bc/webdynpro/viewdesigner
    3.4] default_host/sap/bc/wdvd
    3.5] default_host/sap/public/icman
    3.6] default_host/sap/bc/gui/sap/its/webgui
    3.7] default_host/sap/public/ping
    3.8] default_host/sap/bc/error
    3.9] default_host/sap/bc/echo
    4] In SE80
    4.1] Internet services-System-are published
    4.2] Internet services-WEBGUI-are published
    4.3] Utilities-Setting-ABAP Editor-Debugging-Username & New Debugger set.
    4.4] Utilities-Setting-ABAP Editor-Editor-Front-End Editor(New) set.
    5] In Su01 for user profiles sap_all & sap_new is assigned and role  SAP_BC_WEBSERVICE_DEBUGGER is assigned.
    6] The support packages are also updated to latest level.
    7] Gone through following links but not getting any clues.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/74d50bd1431b5ae10000000a42189c/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/EN/77/3545415ea6f523e10000000a155106/frameset.htm
    Thanks in Advance.
    Best Regards,
    Abhijit.

    No cross posting
    Read the "Rules of Engagament"
    Regards
    Juan

  • IE Script error when double clicking on a view in Abap Webdynpro component

    Hello experts,
    I am running mini SAP trial version 2004 with Internet explorer 7.0 and also installed gui patch 23.
    I am making a sample application in SE80 and when double clicking on a view in Abap Webdynpro component I get following error:
    <b>Internet Explorer Script Error</b>
    An error has occured in the script on this page.
    Line: 1
    Char: 1
    Error: 'wdp_show_menu' is undefined
    Code: 0
    URL: http://satellite5200:8000/sap/bc/wdvd/painting.html?_vdrespkey=EOJ6V1JQMX0VLTQ7AP6DQM64Y&_vdframe=painting&sap-client=000
    Do you want to continue running scripts on this page?
    Thanks in advance.
    Bhupendra

    Hi Bhupendra,
       If you are seeing this error in the Se 80 editor , i guess you can ignoire that ...While running the application it will not show any error.
    Thanks
    Anzy

  • Hiding a subview called in a main view in WEBDYNPRO Application

    Hello Experts,
    I have a scenario in which i am calling a subview inside a main view. I have created a main view in which:-
    1. List of reportee to the manager logged in is getting displayed in the form of a table.
    2. When we select any row of this table ( means selection of any reportee row) and click on a button 'Get Details', then it  should display the detailed personal data of that reportee.
    I have successfully called an already created personal data view inside this main view to display the detailed personal data of any selected reportee. But the issue is in the main view:-
    1. This view has table containing the list of reportee getting displayed.
    2. This view simultaneously also displays the default first row detailed data of the table of reportee.
    Our requirement is:-
    1. To display only table containing the list of reportee in the first load of main view.
    2. Then when any row of this table is selected, then only the detailed data specific to that row should be displayed.
    My approach till now is:-
    1. I have removed the default first row lead selection for the table of reportee.
    2. I have created a node VISIBILITY_DET_DATA and then an attribute IS_VISI BLE under that node of type WDUI_VISIBILITY.
    3. In the layout section i have created a group GROUP_DETAIL_DATA and a view container UI element under that to call the detailed data view when any row of table containing the list of reportee is selected.
    4. I have created a binding for the VISIBLE  property of the group GROUP_DETAIL_DATA to the attribute IS_VISI BLE created in the context of the component contoller.
    5. I have then used the method WDDOINIT of the main view to write code to hide the detailed data view by setting the IS_VISIBLE flag to '02' i.e. NONE.
    But this is causing the entire view to be coming as blank view.
    I am not sure why this is happening, Can any of you suggest if i am missing anything important which is cauing this analomy.
    Rupesh

    Hi ,
    This is a Webdynpro related question. you would have got many repsonses if you posted in webdynpro forum.
    i) I would want to know how to hide Image object or the transparent container which holds the IMAGE object, dynamically through the code inside the MODIFYVIEW method of the view
    You can do a post_exit enhancement in the  MODIFYVIEW method. Get the UI element object  from view and There are methods to set the visibility at runtime.
    Is there an option to dynamically specify diffent image based on the login language with the IMage container?
    i think yes, same procedure as first question's answer. Based on condition you can change the source path of the mime object .

  • How to create a calender view in webdynpro java EP 7.0

    Hi ,
    I want to create a calender view in webdynpro,
    Requirments are
    1. it should be current month view
    2. Below each day i want to show office in-time and out-time in two cloumns(these values will be coming tru RFCs).
    ie
    1
    10am | 4pm
    Is this possible in webdynpro java EP 7.0 ?
    Please help me
    Thanks
    Kumar

    Hi Kumar,
    If you are using EP7.0, there is no calendar UI element in webdynpro development. There is only date navigator UI element. This is demonstrated in the below article.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c059344a-1930-2d10-6e8a-dcec5f94993e?quicklink=index&overridelayout=true
    Regards,
    Ganesh N

Maybe you are looking for

  • Win 7 Activation in Boot Camp on Mid-2011 Mac Mini?

    I bought my wife a new Mid-2011 Mac Mini (2.3 GHz) to replace her older 1.66 GHz Mac Mini. After running all the Apple updates and getting the new Lion Mini set up the way she likes, I downloaded Windows Support software, ran Windows Easy Transfer on

  • QTSS Works on Mac but not the other

    I have a Server running OS X Server 10.5.8. I am running QTSS and Apache on this machine, however I am having issues with Quicktime streaming. One mac here is able to successfully stream but all other macs on our network fail to connect despite the Q

  • APEX - Cocoon PDF Generates as attachment (issue)

    Hello, [bumped as issue has come to light again, does anyone have any ideas???] We have Application Express 3.01 with PDF printing configured the Apache Tomcat + Cocoon way. Our APEX instance runs over https on an internal network. Everything works w

  • Payee Name History not maintained.... PA0009

    The report is not picking up the name of the Payee if a new one is not entered. I added new IT0009 Bank Details records for personnel numbers 1 and 230. I assigned them the Payee names of Test 1 and Test 2 respectively. Their old Payee names do not a

  • Identify the package in the transport request

    Hi SDNers, How do i identify the package that i have collected all the objects in the transport request. Thanks, Satya