How call key Function in WEB Dynpro Java?

Hi,
Somebody know how to call key Function(F1, F2, ... F12) in WEB Dynpro Java to launch and Event?
Thanks in advance.

Hi,
You can WDHotKey property to define the different keyboard shortcuts to enable the user to trigger events with key combinations.
When the user presses the key board shortcut defined as the hotkey then onAction event is triggered.
The keys F2, F3, F4, F5, F6, F7, F8 and F9 are not supported, they call predefined functions provided by the Web Dynpro Framework.
The complete list of supported shortcuts is here:
http://help.sap.com/saphelp_nwce711/helpdata/en/48/1f1d65deaf733fe10000000a42189b/frameset.htm
http://help.sap.com/saphelp_nwce711/helpdata/en/62/832cf3cd35004aa4ea8a2378c8a2be/content.htm
If your question is answered then mark it so.

Similar Messages

  • Programming Key Functions in Web Dynpro Java

    Hi, "Amigous"
    How can I Programming Key Functions in Web Dynpro Java, like F1, F2, F3...??
    Thanks in advance.
    P:D. I don´t have Swine Flu.

    Hi,
    Please see the below link.
    [http://www.octavia.de/fileadmin/octavia_files/content_bilder/Hauptnavigation/SAP_NetWeaver/WebDynpro/Web_Dynpro_Part_I.pdf]
    Regards
    Krishna

  • 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

  • What is best practice for calling XI Services with Web Dynpro-Java?

    We are trying to expose XI services to Web Dynpro via "Web Services".  Our XI developers have successfully generated the WSDL file(s) for their XI services and handed off to the Web Dynpro developers.
    The Java developers put the WSDL file to their local PC's and import as "Adaptive Web Services" data models.  When the application is constructed and deployed to our development box, the application abends because the J2EE server on that box cannot locate the WSDL file at runtime (it was on the developers box at, say, "C:\temp\" and that directory does not exist on the dev server).
    Since XI does not have a way of directly associating the generated WSDL file to the XI service, where is the best place to put the WSDL so it is readable at design time and at run time?  Also, how do we reconcile that we'll have 3 WSDL files for each service (one for Dev, one for QA and one for Prod) and how is the model in Web Dynpro configured so it gets the right ome?
    Does anyone have any good guide on how to do this?  Have found plenty of "how to consume a Web Service in Web Dynpro" docs on SDN, but these XI services are not really traditional Web Services so the instructions break down when it comes time to deploy.

    HI Bob,
    As sometimes when you create a model using a local wsdl file then instead of refering to URL mentioned in wsdl file it refers to say, "C:\temp" folder from where you picked up that file. you can check target address of logical port. Due to this when you deploy application on server it try to search it in "c:\temp" path instead of it path specified at soap:address location in wsdl file.
    Best way is  re-import your Adaptive Web Services model using the URL specified in wsdl file as soap:address location.
    like http://<IP>:<PORT>/XISOAPAdapter/MessageServlet?channel<xirequest>
    or you can ask you XI developer to give url for webservice and username password of server

  • Kill the RFC connection as soon as the call is completed in Web Dynpro JAVA

    Hi Experts,
    Please guide us how to kill the RFC Connection from web dynpro java as soon as the execution is completed.The FM connection (Adaptive RFC) isnt getting closed in IS-U side. Please guide us how to close them explicitly.
    We are getting the following error
    (102) RFC_ERROR_COMMUNICATION max number of cpic clients exceeded (300)

    hi suvankar ,
    wdContext.current<Modelname>_InputElement().modelObject().modelInstance().disconnectIfAlive();
    use this option after executing your rfc, it will remove the connection to the r/3.
    adn this
    (102) RFC_ERROR_COMMUNICATION max number of cpic clients exceeded (300)  -- is occuring because the pool size defined the jco destination is not sufficient, ask your basis team to increase the pool size.
    Regards
    Govardan

  • How to implement Captcha using Web Dynpro Java

    Hi Experts,
    Can you please provide any information on CaptchaImplementation using Web Dynpro Java. We are using NWDS 7.01.
    Regards,
    Suvankar

    Hello Suvankar,
    maybe this blog will help. But haven't tryed it myself.
    http://scn.sap.com/blogs/balab/2006/09/25/bid-adieu-to-bots--using-captchas
    Regards,
    Tobi

  • How call PDF file in Web dynpro screen?

    i have one labal,one input box and one search button also...Just i clk search button mns...that PDK file will come..for printing purpose...
    How i will call that PDF file? please give details...

    hi...this is my error...
    Failed to process request. Please contact your system administrator.
    [Hide]
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       com.sap.tc.webdynpro.services.sal.deployment.api.WDDeploymentException: Failed to get deployable object part for application 'webdynpro.pdf' of deployable object 'local/LoginProject1'.
        at com.sap.tc.webdynpro.serverimpl.core.deployment.AbstractDeployableObject.getApplication(AbstractDeployableObject.java:158)
        at com.sap.tc.webdynpro.clientserver.session.RequestManager.getApplicationDeployableObjectPart(RequestManager.java:381)
        at com.sap.tc.webdynpro.clientserver.session.RequestManager.initTask(RequestManager.java:317)
        at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:143)
        at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
        ... 17 more
    See full exception chain for details.
    System Environment
    Client
    Web Dynpro Client Type HTML Client
    Server
    Web Dynpro Runtime Vendor: SAP, build ID: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-05:15:08:24[UTC], changelist=413534, host=pwdfm101), build date: Mon Oct 30 16:29:02 IST 2006
    J2EE Engine No information available
    Java VM Java HotSpot(TM) Server VM, version:1.4.2_09-b05, vendor: Sun Microsystems Inc.
    Operating system Windows XP, version: 5.1, architecture: x86
    Session & Other
    Session Locale en_US
    Time of Failure Thu Sep 27 16:48:55 IST 2007 (Java Time: 1190891935798)
    Web Dynpro Code Generation Infos
    Detailed Error Information
    Detailed Exception Chain
    com.sap.tc.webdynpro.services.sal.core.DispatcherException: The requested deployable object 'local/LoginProject1' and application 'webdynpro.pdf' are not deployed on the server. Please check the used URL for typos.
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.getApplicationDeployableObjectPart(RequestManager.java:383)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.initTask(RequestManager.java:317)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:143)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         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:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         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:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.tc.webdynpro.services.sal.deployment.api.WDDeploymentException: Failed to get deployable object part for application 'webdynpro.pdf' of deployable object 'local/LoginProject1'.
         at com.sap.tc.webdynpro.serverimpl.core.deployment.AbstractDeployableObject.getApplication(AbstractDeployableObject.java:158)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.getApplicationDeployableObjectPart(RequestManager.java:381)
         ... 20 more

  • Accessing ABAP Functions in Web Dynpro Java in CE7.1

    Hi,
    I have a CE7.1 SP5 system installed and no access to an SLD. How can I use BAPIS  of an R3 backend system within a Web Dynpro application? Adaptive RFC only works with an SLD, right?
    Best regards,
    Kevin

    Hai ,
    if u want work RFC model u have to create JCO Connections in Portal . the u can give destination and import your bapi from r/3 System.
    Regards ,
    Venkat

  • 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

  • Select - Option functionality in Web Dynpro Java

    Hi Experts,
    I would like to have a select option functionality in my WDJ application input fields which resembles the select-option functionality in R3. Can any one please throw some light on this.
    Regards,
    Abdullah

    There are various spell checker webservices you could use (Google, Yahoo, etc) which upon submit of your form will be called.
    However, keep in mind you won't have fancy inline-edit-and-replace functionality, but you either you could just present a list with results and have the user make the corrections himself, or you could correct all the findings at once without user interaction
    Edited by: Robin van het Hof on Oct 21, 2011 2:38 PM

  • How to integrate applet into web dynpro java application

    Hello Exprt,
    I am struggling with integrating applet into WD applciation. I don't see any applet specific UI element. I would highly appreciate your help.
    Thanks,
    Shubhangi

    Satyajit Chakra...
    Please can you clarify what you mean that it has been deprecated?
    We have a similar requirement and I have tested a method to do this on our NW 04 system that worked.  But I really need to know what to plan for when we upgrade to 04s.
    I am not sure if this is the right approach, but here's how I did it on our 04 system....I need to know if the approach I have taken below will work properly in 04s.
    I built an HTML file in a string which contains javascript to launch the IXOS viewer applet...which is the "inString" below...
              try
                   String html = inString;
                   IWDCachedWebResource resource = WDWebResource.getWebResource(inString.getBytes("UTF-8"), WDWebResourceType.HTML);
                   resource.setResourceName("HTML_inline.html");
                   resource.setAttachement(false);
                   resource.setReadOnce(false);
                   wdContext.currentContextElement().setOut(resource.getAbsoluteURL());
              catch (final Exception ex)
                   wdComponentAPI.getMessageManager().reportException(new WDNonFatalException(ex), false);
              IWDWindowInfo windowInfo = wdComponentAPI.getComponentInfo().findInWindows("PopupImageViewer");
              IWDWindow window = wdComponentAPI.getWindowManager().createWindow(windowInfo, true);
              window.setTitle("Image opening in separate window");
              window.setWindowPosition(25, 225);
              window.open();
              wdContext.currentPopupElement().setWindowInstance(window);

  • Web dynpro java application to update data in CRM system

    Hello All,
    I need to develop a web dynpro java application which will read and update data in CRM. How can I do this?
    Thanks and Regards,
    Deepti

    First develop RFC / BAPIs to update and read in CRM system.  Call those BAPIs from Web Dynpro Java application using AdaptiveRFC model.
    Cheers,
    ~kranthi

  • Storing Current Logged on User Details in Web Dynpro Java

    Hi Experts,
    My GP Process containd 2 steps:
       - Create Activity
       - Evaluate and Approve
    The user creates the Activity and the manager approves it.
    I have to make sure the User Details are avaialble for the Manager to see.
    How do i store the user details logged on.
    I need the "Name", "Date" and "Time" of the user when he creates the Activity.
    Can somebody guide me how to do it using Web Dynpro java.????
    Thanks a lot.
    Cheers
    Gaurav Raghav

    Hi Gaurav,
    Make use of background callable object which retrieves the logged in user details. If you are using WD and you need the logged in user infomation use the IWDClient . Code for getting this is there in sap help.
    Thanks,Uma.A

  • How to set a variable in portal session using web dynpro java.

    Hi,
    I have created a web dynpro application, which is running inside portal. I have created a role called "R1". Inside role R1, i have created 3 workset W1, W2 and W3. and inside each workset i have some pages and iviews.
    My requirement is when user logins to the portal , and when he clicks on role R1 for the first time, a login page should come (so that we can do revalidation), and when he enters his password again in that login page , then only workset W1, W2 and W3 should be visible/accessible to him and after successful revalidation, if he clicks again on role R1, in that particular portal session, than that login page should not come.
    for this, i thought i will set a variable in portal session, whenever user successfully revalidated himself, and if after successful revalidation he clicks again on role R1, i will check in doinit method of webdynpro whether variable is set or not (which i already set on successful revalidation), and if it is set then i will do Donavigation else i will present login page to the user.
    Can anyone tells me how to set a variable in portal session using web dynpro java.
    thanks
    Arush

    Hi,
    Try this:
    WDScopeUtil.put(WDScopeType.CLIENTSESSION_SCOPE, key, value)
    WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE, key)
    Ex:
    WDScopeUtil.put(WDScopeType.CLIENTSESSION_SCOPE,"Key1","Value1");
    String value1=WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE,"Key1").toString();
    /people/william.cui/blog/2007/02/12/sharing-session-context-between-parent-and-external-windows-running-on-same-host
    Regards,
    Charan

  • Calling Remote-Enabled JAVA Module from Web Dynpro Java

    Anyone have a clue how I can call a Remote-Enabled JAVA Module in ECC from a Web Dynpro Java app?  I'm on Portal 7.0.  When I try and create an Adaptive RFC model in NWDS and put in the Function Module name (CFG_API_FIND_KNOWLEDGEBASES) or its Function group, that RFC is not returned for me to import.  Can I not use this method to get at this function?
    (I CAN call this function module and run it from the old SAP Business Connector software.  That, however, does not help me get it into my Web Dynpro app.)

    If anyone stumbles upon this thread, the long and short answer is you can't call a Remote-Enabled JAVA module in SAP from Web Dynpro Java.....using Adaptive RFC.
    You can, however, if you create your own session and function call directly in Java code and give up on being able to use Adaptive RFC.

Maybe you are looking for