How to Call a WebDynpro application through html page.

I have created a webDynpro application.How can i call this application through a html page?
Thanks
Pankaj Kumar

Hi,
   You can add a link to your HTML page and set the anchor reference to the absolute URL of your WD application.
   The absolute URL of your WD application looks like
http://<j2ee server>:<port>/webdynpro/dispatcher/<wd component name>/<application name>
   So your HTML code will look like:
<a href="http://<j2ee server>:<port>/webdynpro/dispatcher/<wd component name>/<application name>">Link</a>
Regards,
Satyajit.

Similar Messages

  • How to call a Webdynpro view from BSP page (MVC) in a new window?

    Dear Experts,
    kindly advise how to call a webdynpro view from BSP application after performing an event (through button or hyper link).
    Regards,
    Sarat.

    Hi,
    This has been discussed many times in several forums.
    Please check the method CL_WD_UTILITIES=>CONSTRUCT_WD_URL, to create a runtime url for your WD Application and call this URL.
    Refer thread: Call Webdynpro Application from BSP Application
    Hope this will be useful!
    Regards,
    Meganadhan S

  • How to call KM content in independent HTML page?

    Hi,
    My requirement is to call KM contents in simple HTML page,
    Actually I want to show documents from specific location of KM into HTML page which is nowhere related to EP pages, it will be totally independent page.
    Can anyone come across the same requirements?
    Thanks,
    Vikas

    Hi,
    i think you can call KM content with in an independent HTML page by using the tags in HTML ,href="target path of your KM content" and target="_blank" OR "_new","_top" any of these you can use based on your requirement.But i think  you shud have to upload your html document under km content with in ur portal environment.As you  said your are not attaching that html page to portal  you can call your KM content by specifyng url of your km content, otherwise you can make use of quick link property of page. If you want further help you could ask me .. i hope it'll be useful for you.
    Regards,
    Sitara
    Edited by: sitara kola on Mar 7, 2008 11:47 AM

  • How to call a Webdynpro application from a BSP page

    Hi to all,
              I have created a web-dynpro application, now i have to call this function through click event of a BSP page. How i can achieve it.
    Please help if anybody have idea.
    Thanks in advance.
    Pankaj Kumar.

    Hi Pankaj,
       Using portal eventing you can acheive that.
    WebDynpro and BSP communication
    Regards, Suresh KB

  • How to call a WD4A Application of another system

    Hi,
    I have the need to call a WebDynpro Application of another system via a URL call, thet the application should be opend in the CRM WebUI Window (statefull ) .
    Calling the application via a button event & transaction launcher works fine, but i need to call it from a BSP page. So my idea was to create an iframe, but this obviously opens a new window:
    <html>
      <head>
        <title>IFrames - Webdynpro Test</title>
      </head>
      <body>
        <iframe src=<%= lv_url_route %>"
          width="100%" height="500" scrolling="auto" frameborder="1" transparency>
              </iframe>
      </body>
    <html>
    Can anybody help?!?!
    Thanx & best regards,
    Oliver
    Edited by: Oliver Pregler on Jul 28, 2008 3:26 PM

    Hi Oliver,
    unfortunately I know nothing about BSP-Applications, but this is how I call my WD4A-Application using a FM from CRM:
    data: lr_empty_parent type ref to cl_gui_container,
          lr_viewer       type ref to cl_gui_html_viewer.
    data: lv_url(200)     type c.
    lv_url = 'http://www.xyz.com'.
      create object lr_viewer
        exporting
          parent             = lr_empty_parent
        exceptions
          cntl_error         = 1
          cntl_install_error = 2
          dp_install_error   = 3
          dp_error           = 4
          others             = 5.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                  with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      lr_viewer->detach_url_in_browser(
        exporting
          url              = lv_url
        exceptions
          cntl_error       = 1
          dp_error_general = 2
          others           = 3 ).
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                   with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      cl_gui_cfw=>flush( ).
    If it helps you - fine. If not - forget it
    Best regards
    Jörg Racz

  • Calling a Webdynpro Application in using WDURLGenerator.getApplicationURL

    Hi,
    I have to call a webdynpro application in an external window using the application name. Please note that no iViews are created out of the application which i am going to call.
    I have DC1 and DC2 and from the Comp Controlller of DC1 , i need to invoke the application in DC2.
    String depObjectName =wdComponentAPI.getDeployableObjectPart().getDeployableObjectName();
    WDDeployableObjectPart depObjectpart=WDDeployableObject.getDeployableObjectPart(depObjectName,"TestApp",WDDeployableObjectPartType.APPLICATION);
    String url = WDURLGenerator.getApplicationURL(depObjectpart) ;
    window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(url,"Test View");
    window.show();
    Is this the correct API to get getDeployableObjectName which is in the different DC.
    Please let me know the correct API which i can use to get the getDeployableObjectName and the subsequently the Application which is availbale in the different DC.
    Thanks and Regards,
    Sekar

    Hi Chintan Virani,
    Thanks for your reply.
    Is it possible to get to know through the APis that the Webdynpro Application Deployed in the server is started.
    I hope some API's will be available.I need to open this application only when it is started.
    I tried this,
    IWDDeployableObject deplObj = WDDeployableObject.getDeployableObject("TestApp");
    if (  deplObj.getState() == WDDeployableObjectState.STARTED ) {
        // do something
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create deployable object TestApp' since it is not a Web Dynpro object.    null
    Thanks and Regards,
    Sekar

  • Issues while running a WebDynpro Application through portal.

    Hi,
    I am trying to execute a webdynpro application through portal and facing some issues. I hope to get a significant help from the experts:
    > Initially, a report is called from the portal which in turns calls the WebDynpro Application.
    > After this, I am again trigerring "FIRE" event in order to go back to report.
    At this step, portal shows a message "The Page Can Not be Displayed". Browser link field contains the event name which I am passing to the Fire Event.
    Can anybody let me know the root cause for this issue? Below is the piece of code that I am using for navigating from Webdynpro to Report.
            l_sapgui_manager->fire(
              EXPORTING
                name = 'INDI'
            parameters = lt_parameters ).
    lt_parameters contains some field values which are required in the report.
    Thanks,
    Ashish

    No Solution

  • How can i run Webdynpro application

    How can i run Webdynpro application without using Developer Studio? Where should i put a whole project and how shoud i start it.
    Thanks!
    Maciek

    Hi Maciej
    You wouldnt require a Developer Studio to run you
    application.But you would require it to deploy (if are
    using the JDI ,atleast to perform an Activation).
    However you can launch the application once deployed
    through the Web Dynpro Content Administrator
    http://<servername>:50000/webdynpro/welcome/
    The deployed applications are present on the
    lefthandside. They can be expanded to drill down to the
    Application and the press Run
    Regards
    Pran

  • How to call my webdynpro on a link of KM?

    Hi everybody.
    I need to know, How to call my webdynpro on a link of KM?
    1.I did my webdynpro and I deployed on SAP EP, then my webdynpro are in the repository of Webdynpro on SAP EP
    2.I create a navigation squeme on KM for my proyect. (I create my groups and roles, the navigation is correct)
    3.I create a carpet on pcd for my proyect, this carpet contain only the iviews of Webdynpro Java Applications.
    4.I create a link to my webdynpro and i add the correct roles to my webdynpro.
    But when i access, with the corresponse user to see my webdynpro SAP EP display this:
    "it couldn't display because you don't hace permision or the access are no link with KM"
    I know that I have to set up PCD as a repository for KM, but i don't know how can I do this configuration?
    Could anybody help me?

    Only check or assign the permisions  of the carpets of the webynpro.

  • How to call a VB application from Java

    Hi,
    does anybody know how to call a VB application from java.
    Would appreciate if you can provide me with an example.
    thanks

    try exec()ing the cad program with the name of the file as a command line parameter...
    Runtime.getRuntime().exec("CADProg.exe Test.prt");
    i have no clue if this will work but it seems like it's worth a try.

  • Calling A Webdynpro Application From Another Webdynpro Application

    Hi,
    i want to call a webdynpro application from another webdynpro application with sending parameters.
    i used this method,
    CALL METHOD cl_wd_utilities=>construct_wd_url
        EXPORTING
          application_name = lv_webapp
        IMPORTING
          out_absolute_url = lv_url.
    CONCATENATE lv_url '?param1=' lv_param INTO lv_url.
    data lo_window_manager type ref to if_wd_window_manager.
    data lo_api_component  type ref to if_wd_component.
    data lo_window         type ref to if_wd_window.
    lo_api_component  = wd_comp_controller->wd_get_api( ).
    lo_window_manager = lo_api_component->get_window_manager( ).
    lo_window         = lo_window_manager->CREATE_EXTERNAL_WINDOW(
        URL = LV_URL
    lo_window->open( ).
    but this method shows the parameters on the address bar.
    is there a method to send the parameters to another webdynpro application without show the parameters on the address bar?
    Can somebody help me pls?
    Thanks.

    I've used a server cookie before. This was built for BSP, but it is really usable anywhere.  It just writes the data temporary into the database.  This way you can just pass one meaningless URL parameter - like a GUID and use this key to read the data (the server cookie) upon initialization of the new application.  I generally serialize all the data that I want into one server cookie by serializing a class. I can then restore whatever attributes of the class that I want on the receiving side.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/bd/4cd23a09313b37e10000000a11405a/frameset.htm

  • How to call a struts application in a portlet

    How to call a struts application in a portlet. I have two different ear's. In one ear I have my struts application and in one war i have a struts portlet. In the struts portlet provider.xml defaultAction tag can i call the action class .do which in other ear (ie my struts application ear).Can anyone suggest me whether this is the right way or else can u suggest me with some other thing.
    Waiting for ur responses.
    Thanks and Regards,
    Dhanu.

    Hi Dhanu,
    Your Struts Portlet will not be avialble via a URL as it is completely dependent on Oracle Portal Environment. The Provider for the Portlet is alone available via a URL - you would have registered your Portlet using the URL of the Provider.
    Your Struts application, which does not rely on the Oracle Portal Environment, is defeitely accessible from a URL. It's just another web application that uses the popular Struts Framework.
    Hence, you can use the URL ( the starting point - a JSP, Servlet, etc. ) of your Struts Application to "call" the application in your Struts Portlet. I don't think you need to fiddle with the parameters in Provider.xml.
    Moreover, <defaultAction> in Provider.xml should have the URL of a Struts Action Class - the mapping in the
    struts-config.xml should map the .do action to the right JSP file.
    You can have a look at Metalink Note : 331069.1 for a good insight into the <defaultAction> Tag.
    Regards,
    Sandeep

  • Calling JAVA webdynpro applications from SAP Business workflow

    Experts,
    Is it possible to call JAVA webdynpro application as a task from SAP Business workflow? If yes, please pass on any links to relevant documents.
    Thanks,
    Deepak

    Hello,
    You would probably want to use UWL in the portal. From UWL you can launch tasks from portal, and with proper configuration (for example with the help of transaction SWFVISU) you can easily start web dynpro applications from UWL.
    I suggest you go trough the SAP documentation about UWL. Start for example here:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/39/a1bb5c4c0d4ab4a417e87ef35f1efa/frameset.htm
    Regards,
    Karri

  • Error while invoking BPEL Process through HTML Page

    Hi ,
    I have created a HTML Page to invoke BPEL synchronous process .
    HTML Page contains :
    <html>
    <head>
    <title>Untitled Document</title>
    <h1>Add Macro Task Input Form </h1>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="cyan" text="#000000">
    <form name="form1" method="get" action="/httpbinding/default/AddMacroSync/process">
    EmployeeId :
    <input type="text" name="EmployeeId" ><br>
    <br>
    TaskName :
    <input type="text" name="MacroTaskName" >
    <button
    id="identifier"
    class="dialog"
    label="OK"
    accesskey="t"/>
    <br>
    </form>
    </body>
    </html>
    I am able to invoke my BPEL Process named as " AddMacroSync" .
    It also creating instance for this BPEL Process .
    But when I go BPEL Console and check my instance , it is always faulted .
    I am providing two inputs : Employee Id and Taskname through HTML Page .
    These inputs got assigned to their respective output variables .
    But when I click on audit link ..it shows error while invoking the Process .
    It Show error :
    when invoking endpointAddress 'http://152.69.248.232:8990/AddMacroTask-AddMacroTask-context-root/AddMacroTaskWebService', [java.lang.NumberFormatException]
    But this end point address is working when I put this address in URL .
    Please someone help me how to solve this problem .
    Thanks
    Prashant Dwivedi
    Message was edited by:
    Prashant Dwivedi

    Hi Clemens ,
    I changed My HTML ...Now it looks like as :
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="application/x-www-form-urlencoded; charset=iso-8859-1">
    </head>
    <body bgcolor="#FFFFFF" text="#000000">
    <form name="form1" method="post" action="/httpbinding/default/AddMacroSync">
    <input type="hidden" name="msg_part" value="payload">
    <input type="hidden" name="namespace" value="http://xmlns.oracle.com/AddMacroSync">
    EmployeeId:
    <input type="text" name="EmployeeId">
    TaskName :
    <input type="text" name="TaskName">
    <input type="submit" name="Submit" value="Submit">
    </form>
    </body>
    </html>
    After this when I try to incoke my BPEL Process through this HTML :
    I am gettign following error :
    500 Internal Server Error
    java.lang.IllegalStateException: IOException: Premature end of POST data
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindHttpServletRequest.getParameter(EvermindHttpServletRequest.java:2452)
         at com.collaxa.cube.ws.http.HttpBindingServlet.checkSecurity(HttpBindingServlet.java:281)
         at com.collaxa.cube.ws.http.HttpBindingServlet.doPost(HttpBindingServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)

  • Calling a servlet in a HTML page

    hi evryone,
    I'm new to servlets so i'm trying to create some simple applications to understand how it all works. The thing i'm trying to do is calling a servlet in a HTML page. I've already installed a Tomcat web server and I've created a servlet called Hello.
    public class Hello extends HttpServlet{
         public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException{
              res.setContentType("text/html");
              PrintWriter out = res.getWriter();
              String name = req.getParameter("name");
              out.println("<HTML>");
              out.println("<HEAD><TITLE>Hello, " + name + "</TITLE></HEAD>" );
              out.println("<BODY>");
              out.println("Hello, " + name);
              out.println("</BODY></HTML>");
         public String getServletInfo(){
              return "testing servlet OK";
    }In my HTML page I've written the follwing code:
    <HTML>
    <HEAD>
    <TITLE>Just say hello</TITLE>
    </HEAD>
    <BODY>
    <FORM METHOD=POST ACTION="../servlet/Hello">
    What's your name?
    <INPUT TYPE=TEXT NAME="name"><P>
    <INPUT TYPE=SUBMIT>
    </FORM>
    </BODY>
    </HTML>After running this HTML I get a text box and I thing I'm trying to do is, when I click on the button, the servlet will be loaded. However, the servlet can't be found and instead I get an error:
    type Status report
    message /servlet/Hello
    description The requested resource (/servlet/Hello) is not available.
    I suppose both file are in their approriate directories, but my class file still has the class extension. Do I need to change this? I hope that someone can help me.
    Thanks in advance!

    hi,
    the servlet wasn't in a package, so I changed that. It seems that I get an other error now:
    HTTP Status 503 - Servlet servlet/Hello is currently unavailable
    type Status report
    message Servlet servlet/Hello is currently unavailable
    description The requested service (Servlet servlet/Hello is currently unavailable) is not currently available.
    I still don't know what I may have forgotten, so i'm gonna resume what i have done till now.
    the servlet: (Hello.class)
    package servlet;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Hello extends HttpServlet{
         public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException{
              res.setContentType("text/html");
              PrintWriter out = res.getWriter();
              String name = req.getParameter("name");
              out.println("<HTML>");
              out.println("<HEAD><TITLE>Hello, " + name + "</TITLE></HEAD>" );
              out.println("<BODY>");
              out.println("Hello, " + name);
              out.println("</BODY></HTML>");
         public String getServletInfo(){
              return "test servlet OK.";
    }the HTML page (testServlet.html)
    <HTML>
    <HEAD>
    <TITLE>Just say hello</TITLE>
    </HEAD>
    <BODY>
    <FORM METHOD=GET ACTION="../servlet/Hello">
    What's yoir name?
    <INPUT TYPE=TEXT NAME="name"><P>
    <INPUT TYPE=SUBMIT>
    </FORM>
    </BODY>
    </HTML>the web.xml file
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
      <display-name>Welcome to Tomcat</display-name>
      <description>
         Welcome to Tomcat
      </description>
    <servlet>
    <servlet-name>servlet/Hello</servlet-name>
    <servlet-class>servlet/Hello</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>servlet/Hello</servlet-name>
    <url-pattern>/servlet/Hello</url-pattern>
    </servlet-mapping>
    </web-app>paths of these files:
    - Hello.class => D:\Tomcat 4.1\webapps\ROOT\servlet
    - testServlet.html => D:\Tomcat 4.1\webapps\ROOT\more
    ( - web.xml => D:\Tomcat 4.1\webapps\ROOT\WEB-INF)
    Thanks for your help!!!

Maybe you are looking for

  • C8180 not working in windows 7

    Printer will not fully power up. Button is green, but nothing works.  Can't get computer to get out of paper jam message if I work from PC.   Cannot fix message as one has to use touchpad,(showing black and no power to keypad) which is not working no

  • IPod shuffle 2nd gen. Dock not being picked up!

    Hi guys, Bit of info to start. I have a 2nd gen iPod shuffle. Im using Windows XP. About a month ago I was charging my shuffle, when I pulled the shuffle of the dock the pin pulled up as well. After a few calls I was told by some apple repair place t

  • Error in Derivation and Profitability Segment

    Hello Gurus, I am two issues, which isnt allowing me to create a sales order in IDES. I am referencing a quotation when i want to create the sales order. But i got a warning message 'error in derivation rule' and the log text has                     

  • Mountain Lion and Time Machine

    Hi everyone. I own a Late 2008 Aluminum Macbook. I has Lion installed and up to date on it, and it runs like crap (slow boot ups, frequently long loads, random hangs). I feel it does because I upgraded Leopard to Snow Leopard, and then upgraded to Li

  • Render html form & send forms's input values as params via HTTP POST

    Hello, I'm using appache commons http client to send HTTP post queries to a given url and receive HTTP response then process it. one of the requirements of my Application is the following: one of these HTTP Post requests is supposed to return an HTML