How to redirect to portal iview from a stand alone webdynpro application

Hello,
I need to able to navigate from a standalone webdynpro application, for which I do not want to create Portal iview, to a Portal iview with some data.
Please let me know how can I pass the string value and how to navigate.
Thanks,
Vinit

Vinit,
You're walking in circles. There is no magic answer to this problem. Web Dynpro is not an application of communication / interface with other applications, but a presentation layer for the user.
To perform this procedure interaction (simulating an ajax) you will need to use a middleware interface (CAF, EJBs, or any other technology that communicates directly with the Web Dynpro), or use the version 7.2 of Web Dynpro (maybe that solves their problems).
If only the external page you need to open did not have the user interaction (just loading and returning information) you could consume it like a WebService.
without more,
Angelo

Similar Messages

  • Need a call a portal iView from a WebDynPro ABAP Application

    Hi,
    I have to call a portal iView from the WD ABAP application.
    The iView root is e.g.
    folder1/folder2/check_workset1/iView
    How can we call it using Absolute navigation or Relative Navigation.
    I just want to call this path.
    Can anyone provide me with a code snippet.
    Best Regards
    Sid

    Hi ,
    I am calling the following method in my action call of a Webdynpro ABAP View
      CALL METHOD lo_portal_manager->NAVIGATE_ABSOLUTE
      EXPORTING
        NAVIGATION_TARGET   = 'Roles://portal_content/xxxx._and_remuneration'
        NAVIGATION_MODE     = IF_WD_PORTAL_INTEGRATION=>CO_SHOW_EXTERNAL
       WINDOW_FEATURES    =
       WINDOW_NAME        =
       HISTORY_MODE       =
       TARGET_TITLE       =
          CONTEXT_URL       = 'http://xxx.xxx.adsint.biz:50000/irj/portal'
       POST_PARAMETERS    = ABAP_FALSE
       USE_SAP_LAUNCHER   = ABAP_TRUE
       BUSINESS_PARAMETERS =
       LAUNCHER_PARAMETERS =
    But it is still noot opening the page for me from the WD ABAP application.
    Can anyone let me know , what can be the reason.
    Best Regards
    Sid

  • Execute a portal iview from VC

    Hi,
    I am trying to find a way to call a portal iview from VC.  Here is what I have,  I have an iview created in the portal that I want to call from a VC model through a button on a form.  Is this posible?
    Thank you,
    Aaron

    You can call an portal iView from anywhere with in portal (not only with VC) using relative navigation target, but for VC you have to:
    assign system action to the button as Hyperlink and provide the relative navigation target url of the iView that you want to open like:
    '/irj/portal?NavigationTarget=ROLES://portal_content/every_user/general/eu_role/com.sap.portal.eu_ws/com.sap.portal.portal_information&NavMode=3'
    NavMode can be as follows:
    mode 0 for internal window,
    mode 1 for external window with content,
    mode 2 for external window with full navigation,
    mode 3 for external headerless window
    Note: "ROLES://portal_content/every_user/general/eu_role/com.sap.portal.eu_ws/com.sap.portal.portal_information" should be replaced with your iView path.
    Check System Administration -> Support -> Navigation -> Navigation Types for more options on you portal.
    Regards,
    Trikanth Basetty

  • How to call a  portal service from a servlet

    Hello all.
    I have a functioning portal service that I would like to call from a servlet.
    When I try to do so, I get a ClassCastException when I do this (on line two):
    IPortalRuntimeResources runtimeResources = PortalRuntime.getRuntimeResources();
    IDocumentPersistence docPer = (IDocumentPersistence) runtimeResources.getService(IDocumentPersistence.KEY);
    However if I do the following I can get a generic IService and use reflection to invoke the method (in the IDocumentPersistence interface) that I want to invoke:
    IPortalRuntimeResources runtimeResources = PortalRuntime.getRuntimeResources();
    com.sapportals.portal.prt.service.IService aService = (com.sapportals.portal.prt.service.IService) runtimeResources.getService(IDocumentPersistence.KEY);
    There must be a better way to use portal services (hopefully like scenario one above) in servlets. In web dynpro you can use portal services and cast them to the correct type. What am I missing?

    Hi Kim,
    how did you integrate the references to your Portal Service Interface into your web application?
    You should do this using the references in your application-j2ee-engine.xml, did you do this? It might be a problem with the classloader otherwise.
    The way you are calling portal services does work normally, however it is not the recommended way as it is documented in the SAP documentation.
    Please check the SAP documentation on how to access a portal service from a j2ee app:
    http://help.sap.com/saphelp_nw70/helpdata/EN/42/9ddd0cbb211d72e10000000a1553f6/frameset.htm
    Best regards,
    Stefan Brauneis

  • How to Create A portal iview to link B portal WDJ app

    Hi firends
       I am novice.
    I have a persecution that how to Create A portal iview to link B portal WDJ app.
    Please help me to solve the question.
    Best regards,
    Ben Chen

    copy the URL of the WDJ app iview in portal B, create a URL iview in portal A with that URL.
    or Create a KM navigation IVew with that WDJ application Ivew in HTML. check this article for c[reating bookmark able Web dynpro URL's |http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/808fb397-1fcf-2910-7884-8f075c939666]
    regards
    Mahesh

  • Portal iView from Backend

    Hi,
    Can I lauch portal iView from backend screen? My query is related to PCR forms.
    Richard

    Thanks koushik RESOLVED.

  • How to delete string or line from unix file(dataset) of application server

    Hi  All,
    After transfer workarea information or all records into dataset(unix file). When I see the file in application server automatically the last line is shown a blank line. I am not passing any blank line.
    I have tried for single record than also the file generates the last line(2nd line) also a blank line.
    When I m reading the dataset, it is not reading the last blank line but why it is showing the last blank line?
    How to delete string or line from unix file(dataset) of application server?
    Please give your comments to resolve this.
    Thanks
    Tirumula Rao Chinni

    Hi Rio,
    I faced similar kind of issue working with files on UNIX platform.
    The line is a line feed to remove it use
    DATA : lv_carr_linefd TYPE abap_cr_lf VALUE cl_abap_char_utilities=>cr_lf. 
      DATA : lv_carr_return TYPE char1,                                   
             lv_line_feed   TYPE char1.                                          
      lv_line_feed   = lv_carr_linefd(1).
      lv_carr_return = lv_carr_linefd+1(1).
    Note: IMP: The character in ' ' is not space but is a special
    character set by pressing ALT and +255 simultaneosly
      REPLACE ALL OCCURRENCES OF lv_line_feed IN l_string WITH ' '.
      REPLACE ALL OCCURRENCES OF lv_carr_return IN l_string WITH ' '.

  • How can I send a message from database to a J2EE application?

    How can I send a message from database to a J2EE application?
    If I have a codetable in database that has new or modified values I have to refresh the codetable in my J2EE application.
    Most effective way would be send a message to initiate a table reload from J2EE app, but I don't know how to do this.
    Now I have a background thread that regular reads the table and looks for changes.

    http://www.oracle.com/technology/products/integration/bam/10.1.3/TechNotes/TechNote_BAM_AQ_Configuration.pdf
    This document details how to create triggers on a table that send out JMS messages.
    In this example, the messages are going to Oracle BAM.. your message could go to your J2EE application listening to its own topic/queue.
    an alternative idea.
    you could also just cache your lookup table with something like Oracle Coherence and than try to ensure that all changes to the lookup go through Coherence, so that you won't need to do notification from the db up to the application. the application and the lookup data management tool would be using the data grid for management of the lookup table data, and the data grid (coherence) would persist the lookup data changes back to the db.

  • How to call a stand alone java application from ADF BC JSP, struts or JSF

    Hi,
    My requirement is that there are utilities or stand alone java applications that I want to call from our existing applications.
    We have two seperate applications one ADF BC Struts application we developed using JDeveloper 10.1.2 and another ADF BC JSF application we developed using JDeveloper 10.1.3.2.
    We want to integrate applications like JTwain and others to help us in scanning. The application will be placed on the same server as our application. How can I do this without loosing all the current session information.
    Please help.
    Thanks and regards,

    There are two possible solutions.
    First, if the tool or application you want to integrate, has an Java-API you can use this api and integrate the tool in your application (using one or more jars you add to the classpath).
    Second, if the tool has no java api, you can call the tool via runtime.exec(...) as a shell process. This way you open a command shell in you application and execute the tool like you do on a normal command shell.
    For tide integration and control I recommend the first approach. The second one is only for those tools which don't offer a java api.
    Timo

  • How to access my application on a SunOne 8.0.0_01 from a stand-alone client

    Hello,
    perhaps someone of you knows how can solve my problem accessing my J2EE-Application with EJBs, etc. from a stand-alone client.
    In the classpath of my client the appserv-rt.jar and j2ee.jar are accessible. In the sourcecode I tried to access the server with:
    Properties env = new Properties();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");       
    env.put(Context.PROVIDER_URL, "iiop://myserver:3700");
    Context initialContext = new InitialContext(env);
    Object objRef = initialContext.lookup("MySessionBean");With these setting I get this exception:
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
         java.rmi.RemoteException
         at com.sun.corba.se.internal.iiop.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelegate.java:64)
         at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
         at de.fhhn.ectsmodulclient.interfaces._ECTSModulSession_Stub.getStudiengaenge(Unknown Source)
         at de.hshn.ectsmodulclient.web.StandAloneClient.showStudiengaenge(StandAloneClient.java:68)
         at de.hshn.ectsmodulclient.web.StandAloneClient.main(StandAloneClient.java:90)
    Caused by: java.rmi.RemoteException
         at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:213)
         at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:797)
         at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:137)
         at $Proxy36.getStudiengaenge(Unknown Source)Can anybody tell me what the problem is and probably how I can make it work?
    Are there some "hidden" configuration-parameters on the serverside that I have to set/change?
    Thank you for your help!
    Greetings
    Gregor Ewald

    Did your stand-alone client on the remote machine encounter the same error as your tomcat attempt? Try looking in the tomcat log for a more detailed stack trace.
    I'm able to do this from tomcat 5.0 on a remote machine with JDK 1.5 and the latest version of the J2EE 1.4 SDK release (AS 8.2) for an appserver running on linux or solaris. You might want to try with those versions as well.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Passing Parameters from Par component to WebDynpro Application

    Hi all,
    We have a created a WebDynPro and par application. Also we want to pass the parameters from Par component to WebDynPro Application. ( not in query string as application parameters property of webdynpro iView).
    Is it possible to do so? if yes then how?
    Please help us......
    Thanks and regards,
    Prath.

    Hi ,
    If the iviews are on the same page you can use portal eventing for that
    see the documents on portal eventing
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/_d-f/enterprise%20portal%20client.pdf">EPCF pdf</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/d3/3857422d095542e10000000a1550b0/frameset.htm">EPCF</a>
    Hope this helps you
    Regards
    Rohit

  • Issue in redirecting to portal page from SSO login page

    HI facing issue while redirecting to portal application from SSO login page.please find below basic details
    the application comprises of TAM / Apache / Weblogic, and all the request goes in the same order.
    When the application is deployed as portlet, the jsp page some how hard codes the apache host name, that in turn blocks any form submit or Ajax action.
    so on successful login the redirection is not happening to required portal page as it includes apache host name in the url consrtucted.
    Please suggest me what are the configurations that I need to verify .
    Thanks in Advance
    Jetti.

    If you upgrade to v7.1 you will have all those features and more - PLUS a lot of defective pieces have been fixed in 7.1

  • How to open NEW PORTAL PAGE from current portal page ?

    I'm very confuse with my problem.
    I have 2 portal page.
    portal page I has 2 portlet : portlet A & portlet C.
    portal page II has 2 portlet : portlet B & portlet C.
    Now my customer want : start with portal page I, when i submit portlet A, program will open portal page II.
    I don't know the way to call new portal page from current portal page. Help me, please.
    Thanks.
    Edited by: young_hero on Oct 30, 2008 1:12 AM

    Could you please help me how to call a .html page
    from a Pl/Sql procedure or trigger ?
    Thanks & Regards
    Kalyani KothaKalyani,
    Could you explain a little more exactly what you're trying to acheive? I'm not quite sure what it is you're asking for. Are you asking: "how would you/can you open a browser and direct it to a URL with PL/SQL?"
    Earl

  • Calling Portal iView from a WebdynPro ABAP application

    Hi ,
    I have a requirement where I need to call an iView in my portal from the Webdynpro application also existing in the portal.
    Can anyone provide me the method with source code( if possible ) to call an iView existing in the portal from the WebDynPro ABAP application.
    Best Regards
    Sid

    Hi Siddharth,
    Well, I think you can go for Portal Navigation concept.
    Please check the required source code in WDR_TEST_PORTAL_NAV Web Dynpro component. That will illustrate both Page based Navigation and Object based Navigation.
    Hope that should solve your problem.
    Regards
    <i><b>Raja Sekhar</b></i>

  • How to Redirect to a page From a link in Header.

    Hi , I have a link in the Header.jsp to Contactus page. How to navigate to that page From header.jsp.
    Can any one please help me on this

    User render:pageUrl tag
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/javadocjsp/framework/render/pageUrl.html
    I assume you mean that you wish to goto the page and not a 'redirect'

Maybe you are looking for

  • SAP failed to start after database restore

    SAP Version: SAP R/3 Enterprise Database: MSSQL Server 2000 OS: Windows We had performed a database restore from the backup which was taken before the system rebuilt. The SAP failed to bring up as the dispatcher stopped due to the work processes died

  • How do I sync the "view size" when I copy clips from one sequence to another in FCE4?

    My idea was to edit an advanced clip in a separate sequence (bad idea) and then copy it into the main sequence, but I ran into an obstacle. For a clip to fit the window in Sequence 1 it is shown at 44%, while in sequence 2 it is enough with 22%. Prob

  • MXM graphics card issue on (white) 24" iMac #2

    Because the original thread is closed, I will start here a sequel... As mentioned there are A LOT of people who experience massive MXM card related problems with their white 24" iMacs. It seem that it's near normal that these Geforce 7300 / 7600 modu

  • Why does the waveform disappear after editing in Sound Booth?

    It happens consistently with CS4 on 2 different computers. I right-click the audio track and select Edit in Adobe Sound Booth, and SB opens the audio for editing. I edit the audio, and it updates the audio. I know it does, because when I play back th

  • Share button in iMovie does not work, why?

    I created a movie but am unable to store this nor can I share this, any idea or updates please