Problem in WDPortalNavigation.navigateRelative

Hi All,
I have got some problem in navigating from a webDynpro iView to a BWReport iView. I m able to navigate using WDPortalNvaigation.navigateAbsolute but while using WDPortalNavigation.navigateRelative i don't get anything and the same page is displayed.
WDPortalNavigation.navigateRelative(null, 0, str, WDPortalNavigationMode.SHOW_INPLACE, null, null, WDPortalNavigationHistoryMode.NO_DUPLICATIONS, null, null, null,null,false,false);
These are the parameters that i m passing while navigating from one iView to another. Also I would like to mention that both the WebDynpro iView and BWReport iView are under the same folder so the level up is specified as 0. Please tell me where am i going wrong.
Thanks in advance,
Murtuza

Hi,
I recreated the scenario you described. I had a role called WDPortal, and its children were two iViews, one whose object ID was JSPTest (a portal component) and one called MyApp (a WD component).
In the WD component, I created a link that triggered an action. In the action, I put the following code:
String[] path = {"JSPTest"};
WDPortalNavigation.navigateRelative(null,1,path,WDPortalNavigationMode.SHOW_INPLACE, null, null, WDPortalNavigationHistoryMode.NO_DUPLICATIONS, null, null, null,null,false,false);
When I ran the WD component iView, I saw a link, and when I clicked on it, it navigated to the JSPTest iView.
Is this what you did?
What version are you running? I am on 2004s SP8
Daniel

Similar Messages

  • WDPortalNavigation.navigateRelative

    In my application I have a Web Dynpro iView and a Transaction iView in the same PCD folder. I want to navigate to the transaction iView from the Web Dynpro iView relatively, so the link will remain intact across system deployments.
    I am trying to use WDPortalNavigation.navigateRelative to open the transaction iView in a separate window, but appear to be missing something. The code I am using looks like this:
    WDPortalNavigation.navigateRelative(null, 0,
        new String[] {"com.test.ZTEST_PROP_TREE"},
        WDPortalNavigationMode.SHOW_HEADERLESS_PORTAL,
        WDPortalNavigationHistoryMode.NO_DUPLICATIONS, null);
    The iView I am navigating to is in the same folder and the PCD location for this view ends in com.test.ZTEST_PROP_TREE after the last slash.
    I pass null to use the current PCD folder location (which is the same) and pass 0 levels up. I then pass SHOWS_HEADERLESS_PORTAL to open in a headerless window. I am currently not passing any parameters but will be once I can establish a connection.
    The window that opens says: "Page not found or not available.".
    BTW the content is all stored in a folder named Test Folder under Portal Content/Content Provided By Other Vendors/End User Content. If any more information is required, please advise.
    I am able to navigate absolutely using the following code sample, but I am trying to avoid the need to keep the views in the same folder structure. I should be able to move them wherever we need to, so long as they are together in the same PCD folder location.
    WDPortalNavigation.navigateAbsolute(
    "ROLES://portal_content/other_vendors/every_user/com.test.folder.TEST/com.test.ZTEST_PROP_TREE", WDPortalNavigationMode.SHOW_HEADERLESS_PORTAL,
    null, null,
    WDPortalNavigationHistoryMode.NO_HISTORY,
    null, null, "GS_0100-SUBID=000000000008", true);
    Edited by: Tom Cole on Jan 21, 2010 5:46 PM to add absolute navigation details.

    Hi Tom,
    in WDPortalNavigation.navigateRelative first parameter is the base path, the second one is how many levels do you want to go up, and the third one is relative path.
    This means that if you pass these 3 parameters: ("ROLES://portal_content/other_vendors/every_user/com.test.folder.TEST/com.test.ZTEST_PROP_TREE", 1, "com.test.ZTEST_PROP_TREE2);
    then you will be navigate:
    firs to one level up -> ROLES://portal_content/other_vendors/every_user/com.test.folder.TEST/;
    and second to -> ROLES://portal_content/other_vendors/every_user/com.test.folder.TEST/com.test.ZTEST_PROP_TREE2;
    And I don't understand what is the problem with PCD when you are creating roles and then just delta links.
    Regards,
    Anton
    Edited by: Anton Dimitrov on Jan 22, 2010 5:38 PM

  • Problems with WDPortalNavigation.navigateAbsolute

    I have a problem with the instruction WDPortalNavigation.navigateAbsolute
    My projjects are follow:
    I have a component A and a component B in a component Master 1, and the same component A and a component C in another component Master 2.
    In the component  Master 1 I have a context that is  binding by component A.  In the component Master 2 i have te component A too, The componente A  binding the contex  tooo. the problem is that i want to navigate from Component B that is in the Component Master 1 to Component C that is in the Component master 2.
    I am trying navigate with WDPortalNavigation.navigateAbsolute  sentence, it is works, because i can see the component C's iview but when i want to use data of  component's context, i can't  because i get an error that says, the context doesn't initialize.
    i am use componentization concept in the master 1 andy master 2.
    in the master 1 i have as "used web dynpro components" the component A and component B
    in the master 2 i have as "used web dynpro components" the component A and component C
    in a few works a want to navigate from component B to component C using WDPortalNavigation.navigateAbsolute sentence
    Anybody can help me please.

    HI arhei Pisarenka.
    I 'am doing the copy of a project and i found this navigation in the code with the WDPortalNavigation.navigateAbsolute sentence, then i did the copy to anothers project and it no function, in the original project it works but in my project didn't.
    What i can do?
    thanks

  • Problem with page title language

    Hi all,
    I have several iViews of level 2 and I need to navigate from one iView to another. When I do it just by mouse clicking in navigation area - everything is allright. But when I navigate by means of WDPortalNavigation.navigateRelative method - I have page title something like this: %12%A4%43%B3%34...
    Does anybody knows the reason of this?
    String [] path = {"iViewName"};
    WDPortalNavigation.navigateRelative( null, 1, path, WDPortalNavigationMode.SHOW_INPLACE, null, null, WDPortalNavigationHistoryMode.NO_DUPLICATIONS, "iView title", null, "param="+param, null,true,true);
    I use local language for iView title, not english.

    I'm sending the files zipped yes. I thinks it's better like that. Isn't it?
    Yes.
    They are not necessarly using the same version. I will ask them to get the last one so we will have all the same.
    Perhaps that will help. You should also make sure they have the same Arabic fonts on their machines that you used for your file.

  • Navigate through Portal

    Hi,
    I can navigate from web dynpro view to a portal iView but when I click on the history entry I created in the portal I get a PortalComponentException. I am on Portal 6.0 SP 16.
    Here is the Exception I get:
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    User : QasemA
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:545)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         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.sapportals.portal.prt.core.PortalRequestManagerException: PortalRuntimeException
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:143)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         ... 24 more
    Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
         at java.lang.String.substring(String.java:1444)
         at com.sapportals.portal.navigation.NavigationService.composeName(NavigationService.java:638)
         at com.sapportals.portal.navigation.NavigationEventsHelperService.getNavigationTargetFromRelative(NavigationEventsHelperService.java:1367)
         at com.sapportals.portal.navigation.NavigationEventsHelperService.getCurrentNavNode(NavigationEventsHelperService.java:350)
         at com.sapportals.portal.navigation.NavigationEventsHelperService.getCurrentLaunchNavNode(NavigationEventsHelperService.java:426)
         at com.sapportals.portal.navigation.fpm.NavigationFpmListener.addToHistory(NavigationFpmListener.java:254)
         at com.sapportals.portal.navigation.fpm.NavigationFpmListener.doNavigatePhase(NavigationFpmListener.java:96)
         at com.sapportals.portal.navigation.fpm.NavigationFpmListener.doPhase(NavigationFpmListener.java:67)
         at com.sapportals.portal.pb.fpm.FPMContainer.distributeEvent(FPMContainer.java:63)
         at com.sapportals.portal.pb.fpm.FPM.doDocumentHook(FPM.java:137)
         at com.sapportals.portal.prt.service.document.DocumentHookMulticaster.doDocumentHook(DocumentHookMulticaster.java:100)
         at com.sapportals.portal.prt.service.document.DocumentHookService.doDocumentHook(DocumentHookService.java:119)
         at com.sapportals.portal.prt.service.document.DocumentHookServiceNew.doDocumentHook(DocumentHookServiceNew.java:183)
         at com.sapportals.portal.prt.connection.PortalHook.doDocumentHook(PortalHook.java:824)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:261)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         ... 28 more
    And here is the code I am using to navigate:
    String baseURL = "ROLES://portal_content/somepath.fld_somefolder";
    int levelsup = 0;
    String[] path = {"iv_someIview"};
    String windowFeatures = null;
    String windowName = "ProcessSeismicTasks";
    String targetTitle = "ProcessSeismicTasks";
    String contextURL =null;
    String businessParameters = null;
    boolean useSAPLauncher = true; 
    WDPortalNavigation.navigateRelative(baseURL, levelsup, path, WDPortalNavigationMode.SHOW_INPLACE, windowFeatures, windowName, WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS, targetTitle, contextURL, businessParameters, useSAPLauncher);

    Thanks for your reply, but this does not solve my problem. Or maybe i do something wrong.
    I tried the Light Framework Page and it has exactly the same behavior as the Standard Framework Page (in this case). I use the following link inside my ASP.Net-Application inside the URL-IView: http://<host>:<port>/irj/portal?NavigationTarget=ROLES://portal_content/OwnContent/Role1/Workset1/Workset2/URLIView1. When i click the link the whole portal is opened inside the URL-IView (with the portal head, the main navigation, the worksets, ...). But i only want the URLIView to be changed.
    The reason is, i have a detailed navigation on the left with four links to four IViews. These four IViews link to four pages of my ASP.NET-Application. I can change the ASP.NET-Application-Pages by clicking the four links in the detailed navigation. So far so good. On one of the ASP.NET-Pages (page2.aspx) i have a link to a different ASP.NET-Page (page3.aspx). I could manage the navigation by using a simple response.redirect("page3.aspx"). But when i do so the detailed navigation on the left is not updated. It still tells me that i am on page2 of my application.
    One interesing aspect is when i click the detailed navigation inside the URL-IView then the content outside the URL-IView is changed. I analysed the source code of the web page and i found out that EPCM is used in this case. Do i have to use EPCM? Can i use EPCM with ASP.NET?

  • Error in code of relative navigation

    Hi Experts,
    I am using relative navigation for the first time. Dont know why i am facing the following error while I am typing the method for relative navigation in the component controller of my project:
    "The method navigateRelative(String, int, String[],WDPortalNavigationMode, String,String WDPortalNavigationHistroyMode, String, String, Boolean, Boolean) in the type WDPortalNvigationModenot applicable for the arguments (String)".
    The method defined has return type "string".
    Were m I going wrong here, can anyone help me with this??
    The code I have keyed in the component controller is
    WDPortalNavigation.navigateRelative("ROLES://portal_content/Kmaithani/java_local_testztestrfc_test_kmaithani_ztestrfc_ZtestrfcApp");
    Moreover i read that we have two additional parameters "levelsUp" and "path" which we have to feed in the same code. can you please tell me how n what values we have to put in for these two parameters? Do we have to simply append these values in the above code?
    Please help me out with the issue.
    Regards,
    Kaustubh

    HI
    May be bez of you are not passing correct parameters
    follow this code which is running on my side
    WDPortalNavigation.navigateAbsolute("ROLES://portal_content/com.yash.re.pocre/com.yash.re.portfoliomanagement/com.yash.re.overview", WDPortalNavigationMode.SHOW_INPLACE, WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,"");
    Thanks

  • Dynamic IView displaying using Table

    Hi
    I hava a web dynpro application .  In which i have
    a table with 2 columns.
    when i am selecting a row in the table it should
    display different Iviews depending on the column values.
    replay ASAP

    Hi,
    Use WDPortalNavigation.navigateAbsolute() or WDPortalNavigation.navigateRelative() method
    to navigate to your respective iView.
    Check out these link
    http://help.sap.com/saphelp_nw04/helpdata/en/43/2eafd8d2f30d24e10000000a1553f7/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/43/2eafd8d2f30d24e10000000a1553f7/frameset.htm
    Check out the API help in your NW Developer Studio
    Help->SAP NWDS Doc->SAP WAS for java Applns->API WAS->
    com.sap.tc.webdynpro.clientserver.navigation.api
    Retrieve the column value as described by Rohit and use
    it in the methods in WDPortalNavigation.
    Thanks
    Senthil
    P.S: Reward Points for useful answers

  • Can't retrieve the value of the business parameters for external navigation

    Hi All,
    I am using portal navigation in webdynpro and came across a strange issue.
    Following is the code that I am using to navigate.
    String[] path = {"accounts/bol_detail"};
         WDPortalNavigation.navigateRelative(null,2,path,WDPortalNavigationMode.SHOW_INPLACE,null,null,WDPortalNavigationHistoryMode.NO_DUPLICATIONS,null,null,"bolnumber="bolnumber"&pdf=true",null,true,false);
    I am able to navigate successfully to the required iView, but when I replace WDPortalNavigationMode.SHOW_INPLACE with (WDPortalNavigationMode.SHOW_EXTERNAL_PORTAL or WDPortalNavigationMode.SHOW_EXTERNAL), I am not able to get the business parameters that I am passing. I tried printing the value and the value for both the parameter is null when I am trying to open an external window. While in case of WDPortalNavigationMode.SHOW_INPLACE I am getting the proper value of the passed business parameters (bolnumber and pdf).
    Your quick help would be highly appreciated. Looking forward for some help from sdn ASAP.
    Thanks and Regards,
    Murtuza

    I was able to get the expected output with your program with just these changes:
    char        slist[150]="select  cardnum,create_date from cardmast where cardnum= 10 ";I created the cardmast table as follows:
    create table cardmast(cardnum integer, create_date date);
    insert into cardmast values(10, '23-DEC-09');
    commit;Can you please check in sqlplus if the query you are using is indeed returning something.
    Thanks,
    Sumit

  • Suspend doesn't work with WDPortalNavigation postParameters=true

    Hi,
    I am having problems resuming a Webdynpro application within the portal using postParameters=true for WDPortalNavigation.navigateAbsolute.
    From application A, I call resumable application B as follows:
    WDPortalNavigation.navigateAbsolute(
         "ROLES://...ResumableAppB", //location resumable app in pcd role
         WDPortalNavigationMode.SHOW_INPLACE,
         WDPortalNavigationHistoryMode.NO_HISTORY,
         wdContext.currentReturnElement().getCompleteString(), //remark: very long string of parameters
         true, //postParameters
         true);
    It goes wrong if:
    - the string contains 1 parameter or more it calls the webdynpro and creates a new session.
    It works if:
    - the string is empty
    - I change postParameters to false (I have too many parameters for a GET scenario)
    - I start with application A, call the resumable application B from A, return to calling application A and call resumable application B again (this looks like a nice workaround, but it should work without ... grrr)
    Anyone any ideas or suggestions?
    Greetings,
    Vincent

    Hi,
    bugs filed by Oracle internal are not public. Just for the records, the bug number is 14375155
    Frank

  • WDPortalNavigation.navigateAbsolute is not working correctly.

    Hi All,
    I have a  page in portal.When the user clicks on this page then a web dynpro java application iview will be called.
    In this an wd java application runs. It checks for some data base entry and if that entry exist then we navigate to a new page in the portal.I have used
    WDPortalNavigation.navigateAbsolute api in my wd java component.
    The issue is
    I am getting an error while using this api  WDPortalNavigation.navigateAbsolute.
    The code which I have written is
    WDPortalNavigation.navigateAbsolute("my pcd  address",WDPortalNavigationMode.SHOW_INPLACE,WDPortalNavigationHistoryMode.NO_HISTORY,"");
    The error is
    NavigationNode.addExtConnectorKeytoEnv: Exception
    [EXCEPTION]
    java.lang.NullPointerException: while trying to invoke the method java.util.Hashtable.remove(java.lang.Object) of a null object loaded from local variable 'env'
    at com.sapportals.portal.navigation.NavigationNode.addExtConnectorKeytoEnv(NavigationNode.java:491)
    at com.sapportals.portal.navigation.NavigationNode.getRelatedSeeAlsoNodes(NavigationNode.java:1194)
    at com.sapportals.portal.navigation.NavigationNode.getRelatedSeeAlsoNodes(NavigationNode.java:1256)
    at com.sapportals.portal.navigation.TargetsiView.doOnNodeReady(TargetsiView.java:116)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:390)
    at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher$1.service(RequestDispatcherFactory.java:168)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:270)
    at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher.handleEvent(RequestDispatcherFactory.java:158)
    at com.sap.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:242)
    at com.sap.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:342)
    at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:345)
    at com.sapportals.portal.pb.PageBuilder.createAndAddEmbeddediView(PageBuilder.java:197)
    at com.sapportals.portal.pb.PageBuilder.createiView(PageBuilder.java:469)
    at com.sapportals.portal.pb.PageBuilder.createAndAddiViews(PageBuilder.java:280)
    at com.sapportals.portal.pb.PageBuilder.doOnNodeReady(PageBuilder.java:711)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:390)
    at com.sapportals.portal.pb.PageBuilder.handleEvent(PageBuilder.java:878)
    at com.sap.portal.prt.component.CachablePortalComponent.handleEvent(CachablePortalComponent.java:429)
    at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher$1.service(RequestDispatcherFactory.java:168)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:270)
    at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher.handleEvent(RequestDispatcherFactory.java:158)
    at com.sap.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:242)
    at com.sap.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:342)
    at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:345)
    at com.sap.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:465)
    at com.sapportals.portal.prt.connection.ServletConnection._handleRequest(ServletConnection.java:224)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:101)
    at com.sap.portal.prt.dispatcher.DispatcherServlet.service(DispatcherServlet.java:132)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)
    at com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.portal.prt.dispatcher.CustomHeaderFilter.doFilter(CustomHeaderFilter.java:58)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:432)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
    at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
    at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
    Please help me to resolve this issue.
    REgards,
    Anand

    Hi Samuli,
    The above mentioned problem is resolved by referring to the KBA. I have awarded points to you.
    But I am facing one more error in my log.
    Once the user clicks on the web dynpro iview the application on portal runs fine but in the log I am getting an error message for that user. It just shows the system.err and I dont get any details in the log.
    PFA the error log
    WD java application name is – dc-wd-stc-bi-disclaimer.
    This error we get only when user clicks on the web dynpro iview referring to this application in portal.

  • Problem with DC to DC communication

    Hi All,
    I have totally 3 DC's. first and second DC's have a button. On click either of these buttons in 1st and 2nd DC's, 3rd DC application should open.
    So user can come from either first DC or second DC. Depending on where the request came from i have to display that particular tab in DC3 ( it contains few tabs, depending on the request that tab have to be highlighted)
    This is my requirement. Please suggest how i can proocede on this. With step by step procedure for this.
    Thanks.

    HI
    For this you can pass the parameter while navigating from one DC to the other and then check the value of parametr to know from where it is coming.
    In the eventhandler of the button action of first and second DC you can put the following codes respectively.
    First DC
      String frompara = "frompara=first";
        String str = "ROLES://<here write the PCD location of the iview of third >";
        WDPortalNavigation.navigateAbsolute(str,WDPortalNavigationMode.SHOW_HEADERLESS_PORTAL,
         WDPortalNavigationHistoryMode.NO_HISTORY,frompara);
    Second DC
    String frompara = "frompara=second";
         String str = "ROLES://<here write the PCD location of the iview of third >";
            WDPortalNavigation.navigateAbsolute(str,WDPortalNavigationMode.SHOW_HEADERLESS_PORTAL,
            WDPortalNavigationHistoryMode.NO_HISTORY,frompara);
    IN the third DC, you can put the following code in the wddoinit method
    Third DC
    String str = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("frompara");
         if(str.equalsIgnoreCase("first"))
              wdContext.currentContextElement().setSeltab("Tab");
         else if(str.equalsIgnoreCase("second"))
              wdContext.currentContextElement().setSeltab("Tab1");
    here in third DC we will bind the context attribute Seltab to the selected tab property of the TabStrip UI element.
    This will solve the problem.
    Regards,
    Sarbjeet Singh

  • Navigate to another page in the same window problem

    Hi,
    I have a problem with the following scenario:
    When a user clicks on a link in a portal, a web dynpro page opens in new window with the url similar to this
    http://server:port/irj/servlet/prt/portal/prtmode/runtime/prtroot/pcd!3aportal_content!2fCompany!2fIntranet_v2!2fApplications!2fZZ!2fPages!2fBrowseCopies
    So basically in this way we only want to display this single application, without portal top level navigation, inner page, masthead etc.
    The problem occurs when we try to implement navigation from this web dynpro application to another page
    When we use WDPortalNavigation a new window opens but we want the navigation to happen in the same window.
    We cannot use LinkToUrl control with _self parameter because its not supported.
    We also cannot use HttpServletResponse by getting it through com.sap.tc.webdynpro.services.sal.adapter.core.IWDWebContextAdapter class.
    We also cannot use ExitPlugs because the error occurs with the message that the ExitPlugs cannot be used in portal.
    Basically I need a redirect to another page. Any ideas how to solve this problem?
    Regards,
    Ladislav

    Hi,
    the link which initially opens this web dynpro application page is contained in a html page.
    Here is the code:
    WDPortalNavigation.navigateAbsolute(
      "ROLES://portal_content/Company/Intranet_v2/Applications/ZZ/Pages/PurchaseRequests",
      WDPortalNavigationMode.SHOW_INPLACE,
      WDPortalNavigationHistoryMode.NO_HISTORY,
      "requestNr="+wdContext.currentContextElement().getRequestNr());
    Regards,
    Ladislav
    Edited by: Ladislav Pomezny on Jul 2, 2009 1:23 PM

  • WDPortalNavigation with portal not running on WD server

    Hello,
    I am trying to get my application to close itself and replace itself with a non-WebDynpro iView.
    I have been attempting to use:
    WDPortalNavigation.navigateAbsolute("ROLES://portal_content/contentlib/corporate/mss/iviews/test_iview",
                   WDPortalNavigationMode.SHOW_INPLACE,
                   String) null,
                   (String) null,
              WDPortalNavigationHistoryMode.NO_HISTORY,
                   (String) null,
                   (String) null,
                   (String) null);
    It seems to happily end the application (clicking on anything results in a "The Web Dynpro Application 'PortalNavTest' has expired" )- but nothing is loaded in its place.
    from reading the various posts in the forum, and the portal nav tutorial, I think that this should work, however I do have a landscape difference that I believe may be causing me a problem. The server which my wd app is running on is different to the server which my portal is running on. I'm not sure how my app would "know" what URL to use to fetch the new iview. Running on a different server does not cause me any issues with running the app normally, however, it does seem to cause a problem with portal navigation.
    in the help <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/d2/0357425e060d53e10000000a155106/frameset.htm">SAP Help - Calling Portal Services</a>
    there is a mention of being  "service factory provides a conduit to portal services to ensure that the proper service is called, even in cases when the Web Dynpro application and the portal are running on different machines". but on the same page of the help it says:
    "A portal service can be called only when the portal platform and the Web Dynpro application are running on the same machine.
    It is recommended not to use your Web Dynpro-based portal content in a global or federated portal scenario"
    To summarise, I'm confused! Can I use portal navigation in my application when it is not running on the portal server? Do I have to use Dynamic iViews in the page service? Can I even use the IWDPageService in NW04 (I can't seem to find the jar with this interface/class anywhere) and it's not mentioned in the NW04 help.. ?
    Am I just better off just opening the new iview in a new window in the application by passing in the absolute URL - ie - the portal iview URL?
    Any suggestions most welcome.
    Thanks,
    Chris

    Hi Chris,
    I have an issue on the same lines and just happened to stumble upon this thread. Can you please share how you resolved the problem?
    My Scenario - Here I am doing an absolute navigation to a web dynpro page which works fine when I am accessing the application within the producer. Now on accessing the application from consumer portal it opens up the page in a new window the url of which is that of producer. I have opened a thread for this. If you could reply there that is really appreciated.
    Federated Portal - Absolute navigation from Consumer opens new window
    Thanks,
    KN.

  • WDPortalNavigation.navigateAbsolute() does not work in QA environment

    I have used WDPortalNavigation.navigateAbsolute()  to navigate to a different iview in the portal.  It works fine in Dev, but the same code is not displaying the iview in QA environment.  I confirmed that I views exists in QA and it executes from the navigation path.  The PCD Path matches as imported in QA.  It is erroring out only when executed through a button click in Web Dynpro using WDPortalNavigation.navigateAbsolute().
    I dont know if there are any settings that I need to change.  Any help is greatly appreciated.
    Here is the code I have that works perfectly in Dev.
    WDPortalNavigation.navigateAbsolute("ROLES://pcd:portal_content/com.abc.portal/com.abc.iviews/com.abc.iviews.folders.planning_queries/com.abc.iviews.planning.init_pln_na",WDPortalNavigationMode.SHOW_EXTERNAL_PORTAL,"","","");
    Thanks

    Hi,
    Have you got solution to your problem. If yes, then please share with me.
    Regards,
    Anubha

  • Removing Portal Frame in WDPortalNavigation

    Hi,
    In order to access an <b>SAP Transaction iview</b>, I used <b>WDPortalNavigation</b> and able to successfully call the IView and even set the parameters for the Transaction. However, I am facing a unique problem. I have used <b>WDPortalNavigationMode.SHOW_EXTERNAL</b>, but I still am able to view the Portal Frame. I just want to view a plain vanilla Internet Explorer and my SAP Transaction Iview, without the Portal Top Frame or Side Frame. Is that possible ?
    WDPortalNavigation.
    navigateAbsolute("ROLES://portal_content/com.aq.test.sv.WPM_SV/com.pg.test.aq923.Iview_ZCALL_TRANS",
                     WDPortalNavigationMode.SHOW_EXTERNAL,
                     WDPortalNavigationHistoryMode.NO_HISTORY,
                     "P_INPUT=XYZ");
    Best Regards,
    Subramanian V.

    I have tried this code in SP12 WAS Java Stack and it refuses to work. Any hint, why ?
    The worry is about the window features where we say "toolbar=no, menubar=no". It still works the same way as if we have put nothing in window features.
    Is there any other pre-requisite or anything that I have missed out before invoking this method.
         WDPortalNavigation.
         navigateAbsolute("ROLES://portal_content/com.pg.test.sv.WPM_SV/com.pg.test.aq7938.Iview_ZFXXME_CALL_TRANS",
                          WDPortalNavigationMode.SHOW_EXTERNAL,
                         "toolbar=no,menubar=no",
                         (String)null,
                          WDPortalNavigationHistoryMode.NO_HISTORY,
                         "My Target Title",
                         input);
    Best Regards,
    Subramanian V.

Maybe you are looking for

  • How do I get thumbnails of images embedded into our RSS/Atom feed

    We have an RSS feed enabled on our CQ5 blog at http://www.wsidesignermarketplace.com/content/designer/Design_Blog/_jcr_content.feed?type= rss2 which we want to pull into a content widget.  This feed does not have images/thumbnails enabled. Can someon

  • How to use conversion routine?

    hi, in my z-table i have a field called matnr for the material number say. its domain defines it as 18 char. say i have created an entry say 200. so it will be saved may be as 000000000000000200. i want it should be displayed with as 200. and if i se

  • Olap universe date format

    Hello, BW query connected to universe.  BW query holds the date values in some of the characteristics-attributes which is of type 'date'. When this imported to BO universe, the date type characteristics are appearing as 'character'.   This is causing

  • Dimension Table and Fact Tables

    Hi,   Is there any way to see the Dimension Table contents and Fact Table Contents. For eg:-  I should be able to see the DIM ID and the SID's of a Dimension.

  • Can't create user

    My computer shut down for no apparent reason. When I switched it on again, it didn't recognise my password. Luckily, I had another user and could log into that. The main user folder is in the home directory too with everything intact. The user has di