How to call jsp from web dynpro app.

Hi Frndz,
How can I call a JSP from my web dynpro(and here i don't want to redirect to JSP ),I want to call a JSP which can show a message window as alert on top  of WDP view.
Here am using CE 7.2 SP1, and my requirement is to call the model(back end) for every minute interval and need to give alert that how many new records r added.With WDP java i haven't find any option to give alert r notifications about new records added, so am thinking to call JSP where I will pass the parameter which can show a alert r notification(like FACEBOOK n outlook notifications).
Please share any ideas ti achieve this,
Thanks in advance.
Regrads
Rajesh

Hi,
If your application should open in a new url, then you can use link to url action to open jsp.
You can also use EPCF navigation api to call any pcd page as well external links
i.e
  WDPortalNavigation
      .navigateAbsolute("link",[parameters]);
Since your passing parameters, you build url in both the cases.
Ram

Similar Messages

  • How do I undeploy/delete Web Dynpro App

    Hi,
    I created a Web Dynpro App in NWDS for some testing. Now I want to delete this App from Server but I cannot find any button saying undeploy or delete.
    Can anyone tell me how I can delete a deployed Web Dynpro App?
    Cheers
    Christian

    Hi Christian,
    You definitely should! Keep in mind that the entries are NOT sorted alphabetically, so you have to go through the complete list!
    You also can try to remove it via VA, there via "Services" -- "Deploy" -- choose your app -- "Remove". I'm not sure if this really removes everything from the server. You may give it a try, but as said, removing it via SDM is the most original way.
    Hope it helps
    Detlev

  • How to call jsp from bpel

    Hi,
    My application is to call jsp from bpel and connect to database is it possible?
    Thanks,
    A

    Your requirement really has very little to do with BPEL.
    Every BPEL process is also a web service. So what you want to do is call a web service from a jsp.
    The steps would be:
    1. Use Jdeveloper to build a web service proxy class around the BPEL process wsdl. (the WSDL tab for the BPEL process exposes the WSDL to you)
    2. Call the methods in the web service proxy class from your jsp.
    HTH,
    Neil.

  • How to access HttpServletRequest from Web Dynpro

    Hi,
    How could I get HttpServletRequest from Web Dynpro. I used the following code
    IWDRequest req = WDProtocolAdapter.getProtocolAdapter().getRequestObject();
    HttpServletRequest hreq = (HttpServletRequest) reg;
    but it's throwing ClassCastException.
    Is there any other way?
    Thank you

    I am building an application based on IPC API. I need to pass HttpSession as a parameter to initialize some IPC objects. Mainly trying to create IPCClient object.

  • Navigate from Web Dynpro app to portal page

    Dear All,
    I've created a number of Web Dynpro applications which I run from various portal pages. From one of the Web Dynpro's I navigate to a different portal page using the WDPortalNavigation.navigateAbsolute method. This works fine, but I'm left with one problem:
    I'd like to pass parameters from the Web Dynpro which navigates to the portal page to the Web Dynpro applications which run on that specific page. I've appended the parameters to the URL I'm navigating to (eg ROLES://<pcd location>?<param=xxx>) and in the Web Dynpro's I've added a parameter to the Default interface plug. This doesn't seem to work. As an alternative I've added the statement WDWebContextAdapter.getWebContextAdapter().getRequestParameter("param") to the doInit() method of the view, but this also doesn't work.
    Either I'm doing something wrong, or what I want to accomplish is not possible. Does anybody know of a way to access parameters passed to a portal page from Web Dynpro applications contained on that page?
    Thanks,
    Arnoud

    I hope you are passing parameters between two WebDynpro applications.
    Please go through the example available for passing interaction between two webdynpro components.
    Please check the following link
    Alternative method for navigating to another page ?
    or the following link
    Re: Can we pass parameters in querystring of the webdynpro application?

  • How to Call Transaction iView that calls RRMXP from Web Dynpro for ABAP

    Dear Experts,,
    I'm developing an application in Web Dynpro for ABAP wherein I'm supposed to give a link that should open an SAP Transaction iView that calls  tcode = 'RRMXP' and I pass the application parameter as QUERY/WBID = <BI query/Workbook ID>.
    I tried calling com.sap.portal.appintegrator.sap.bwc.Transaction iView, but it asks for system/application and GUI type parameters. How to pass through the URL?
    Any help would be highly appreciated
    Regds,
    Srini

    Hi Wolfgang,,
    My problem was that I was supposed to call the BeX Web Analyser ( a BI excel based tool - client installation) on click of a button in my WD-ABAP application. I solved it as follows :
    In the portal pcd, I cam across a folder content provided by SAP. Here, you'll find standard template iViews that can be used to call applications ( for which you make iViews). I had to call an SAP TCode : RRMXP so as to call a BI Workbook/Query.
    So, I called the standard iView template for sap_transaction_iView as follows :
    irj/servlet/prt/portal/prtmode/preview/prtroot/'
               'pcd!3aportal_content!2fcom.sap.pct!2ftemplates'
               '!2fiviews!2fcom.sap.portal.sap_transaction_iview?'
               'sap-config-mode=true&System=BWR3System&TCode=RRMXP'
               '&GuiType=WinGui&OkCode=y&ApplicationParameter='  <appnm>  into url.
          l_popup =
             l_window_manager->create_external_window( url = url
                                          has_menubar = ' '
                                         has_statusbar = ' '
                                          has_toolbar = ' '
                                          has_location = ' ').
          l_popup->open( ).
    And , it worked.
    Any more help pls feel free to revert.
    Regds,
    Srini

  • How to call method in web dynpro for ABAP

    Hi All,
    I created a z class and two methods to get the data.
    I created a WE4A application. Now i want to call these methods from my Z calss in the web dynpro ,but i am getting  amessage saying 'type zclass is unknown".
    when i am trying to declare
    data: cl_class type ref to zclass . i am getting above message.
    can anyone explain how to call zcalss methods in my application.

    Hi,
    You can call any global class method in WDA via. Wizard.
    Even more you can make your class as assistance class and call their methods by wd_assist.
    Thanks
    Pradeep

  • How to use JSP in Web Dynpro

    Hi
         I want to use JSP and servlet pages in my web dynpro application
    how can we add the JSP pages in web dynpro aaplication or how can I achive this functionality?
    Thanks
    Ninad

    Hi,
    Have a look at this thread,
    Re: web dynpro jsp
    Regards,
    Saravanan K

  • How to call jsp from another jsp

    Hi, All,
    I have several jsp files in my pagelet. I need to put a link in one jsp file. When client click the link, it will show another jsp file. Could anybody tell me how to do that?  i have tried to use following code in page1.jsp,
    IPortalComponentURI componentURI= componentRequest.createPortalComponentURI();
    componentURI.setContextName("pagelet/page2.jsp");
    String docuri = componentURI.toString();
    <body>
    click  '<a href="<%=docuri %> ">here</a>' to link to pages.
    But it does not work. Any help will be great appreciated.
    Marea
    Message was edited by:
            Marea Yang
    Message was edited by:
            Marea Yang

    HI Yang,
    You can achieve it through eventhandliling in jspdynpage.
    Go through this link ,
    i.<a href="http://help.sap.com/saphelp_nw70/helpdata/en/2e/d2a441cd47a209e10000000a155106/content.htm">eventhandling</a>.
    ii.<a href="https://forums.sdn.sap.com/thread.jspa?threadID=103335">method to call jsp</a>.
    iii.<a href="https://forums.sdn.sap.com/thread.jspa?threadID=393522">calling  resource JSP in Portal Compoent</a>
    Hope It'll help you.
    Regards ,
    Malini.V

  • How to call JSp from Servlet??

    Hello,
    I want to call JSP page from servlet.I am using Visual Age For java 3.4. What is wrong in my code??
    if (userExists) {
    f.setErrors("userName","Duplicate User: Try a different username");
    getServletConfig().getServletContext().
    getRequestDispatcher("/jsp/forms/retry.jsp").
    forward(request, response);
    I am not able to get the o/p. Pls help.

    I can't see anything obvious, but did you take any steps towards doing output before this code (like openning an output stream)?
    Not clear what f.setErrors does - presumably stuffs the error message in an attribute of the request.

  • How to Call report from Adobe Flex App.

    Hello. We are trying to create a reporting solution for our Adobe Flex Applications. We use java and postgre. We also have Crystal Reports 2008 and run a lot of reports locally on end users machines. We have some reports we would like to call from flex and have execute in java and send a PDF back to the end user. So:
    1. Is it possible to do this with Crystal for Eclipse?
    2. If yes can we send values from flex to the filter fields in the report?
    3. Do we then connect the report diereclty to postrgre to get the data?
    RIght now I have a report running in eclipse connecting to postgre. Just trying to see if we are going down the right path. THanks.

    You can integrate your reports with operational workflows by embedding Adobe Flex
    (SWF) applications into your reports. Using Adobe Flex Builder, you can
    create any business-user UI that accesses report data and also integrates
    with external web services. Data in your report can be passed to the Flex
    application via Flashvars, making it easy to create flexible UI even when you
    don't have web-services access to your data. The Flex applications can do
    tasks like database write-back and can invoke operational workflows directly
    within Crystal Reports.
    Thanks,
    Tej

  • Calling iView from Web Dynpro

    Hi All,
       I am trying to call a iview from webDynpro using
    WDPortalNavigation.navigateAbsolute(
    "ROLES://portal_content/TestFolder/Iviews/TestECCiview",
    WDPortalNavigationMode.SHOW_EXTERNAL,
    (String) null,
    (String) null,
    WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
    (String) null,
    (String) null,
    "RFKN1-RPNUM="+"71000056");
    But i am getting a blank screen, instead of target iview.
    Does any one have resolved this type of problem.
    Thanks in advance.
    Regards,
    Sridhar

    Hi Sridhar,
    Try this code.
                        IWDWindowManager mgr = wdComponentAPI.getWindowManager();
                        IWDWindow window  = mgr.createExternalWindow(
                             "../PROJECTNAME/APPLICATIONNAME?APPLIATION PARAMETER=" + XX,
                             "Edit View",
                             false);
                             window.open();
    Regards,
    Nakul

  • Error when calling BAPI from web dynpro

    Hi,
    I have a program that calls a BAPI to retrieve data. The problem is that i have the following error message:
    com.sap.dictionary.runtime.DdException: 'WD_RFC_LOADBL_META' not properly defined! Unable to create Metadata connection for Dictionary Provider. Either the logical System Name 'WD_RFC_LOADBL_META' has not been properly defined in the System Landscape Directory, or you are not using a MsgServerDestination (AppServerDestinations are not permitted for Metadata connections)
    I have created a JCOP connector and tested it, everything works fine, but the application is not working.
    Any helpfull ideas ??
    Thanks a lot.
    Thibault Schalck

    I have checked again the parameters, have updated the logon group to PUBLIC and now I have this error message:
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=sapdevnova GROUP=PUBLIC R3NAME=NO1 MSSERV=sapmsNO1 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR service 'sapmsNO1' unknown TIME Fri Feb 06 16:23:15 2009 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -3 MODULE ninti.c LINE 530 DETAIL NiPGetServByName2: service 'sapmsNO1' not found SYSTEM CALL getservbyname_r COUNTER 1
    I have no idea what this means...

  • CE 7.1 - How to call CAF services from Web Dynpro

    Hi,
    whats the suggested way to call caf services from web dynpro?
    Of course I can use the Web Service model. But can I call caf directly?
    I read something about caf web dynpro model, but I cannot find it in nwds 7.1. On some older tutorial it was in context menu of caf project, but it seems to be removed.
    best regards
    tom

    Hi ,
    The standard way is to use the web service model.
    You have to expose the the services as web service and then you can use the wsdl url in the Adaptive web service model option.
    The above option will be available when you click the Model in the webdynpro application and the click create new model.
    Hope it helps you.
    Regards,
    Srinivasan Subbiah

  • HCM Processes & Forms : Migrating from JSPs to Web Dynpro for ABAP

    We are pretty well invested in HCM Processes and Forms.  We currently use JSP based forms as the UI for our notifications.   We do not, use Adobe Forms.
    For a number of reasons, we want to transition to forms based in Web Dynpro for ABAP.
    We want to bring a new scenario online using WD4A.  Down the road, weu2019ll very likely transition our old JSPs over to the new methodology as well.  
    I would expect that this is pretty well doable.  As part of a proof of concept, we did launch notifications from the web dynpro environment, had them initiate workflow, etc .  Weu2019ve also pulled up our web dynpro app from the UWL and portal.
    Has anyone gone through this specific exercise u2013 moving from JSPs to WD4A?  We are particularly interested in where the integration points will be, working with ISR_PROCESS_EVENT, etc.
    Your comments, suggestions, references, etc. are welcomed, as well as any discussion you may offer.
    Thanksu2026
    ...Mike

    And along the same lines, any thoughts around which of the following QISRDPROCESS_TYPEs might be a better choice?
    Entry Using ITS Service
    Entry Using Adobe PDF
    We currently use the ITS Service type.  I think this may be our first direction, replacing url links with links to our webdynpro application which woulds need to integrate calls through ISR_PROCESS_EVENT
    The Adobe Type seems interesting - Again, we do not, nor will, have Adobe Forms in place for this development.  But, I've read some discussion that folks have enhanced out of actual Adobe Form rendering.
    Again, the thoughts of the community are welcomed here.
    Thanks...
    ...Mike

Maybe you are looking for

  • My dreamweaver  2 websote is not compatible with my windows 7 computer.

    I am ulnable to make changes to mhy website becauseit was designed usilng dreamweaver  2. and my new computer has windows 7 .My old computer had windows xp but that computer no longer works.. I had no problem accessing dreamweaver 2 with windows xp E

  • Interested in Apple TV, but...

    Hi! 01_ I still have an old school TV. I stream most of my movies and series from my MacBook Pro, and watch them into an old Apple Cinema Display monitor via DVI. This means I have two screens with wires all over the floor all the time in my living r

  • Branch transfer SAP site to legacy site

    Hi All,           I want to test the process of transfer of stocks between two distribution centers(sites).I am presenting doing the integration test. My company has the process of transferring stocks from one DC to another. Book  adjustment will hap

  • ASAP:Doubt in Idoc segment

    Hi in the INVOIC idoc in the segment E1EDP19 there is a field called Ktext which specifies idoc short text.From which part of invoice the text is getting populated.Please help

  • How provide total to particular colomn in alv reports.

    Hi, I have displayed totals for some of the columns in the ALV. How to fix the Row (Which displays the Total) either at the top or Bottom.