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

Similar Messages

  • 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

  • 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

  • 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?

  • 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.

  • Calling Webdynpro Application using WDPortalNavigation.navigateAbsolute

    Hi All
    I have created a custom application for address in Personal Information. The application contains Overview, Edit, Review and Save , Completed view (Same as in standard ESS components)
    There is a link <b>Back to Overview</b>. On click of the link, i need to go back to <b>Overview</b> view.
    How can i perform this ?
    I am using
                   WDPortalNavigation.navigateAbsolute(
                        urlToTargetApp,
                        WDPortalNavigationMode.SHOW_INPLACE,
                        WDPortalNavigationHistoryMode.NO_HISTORY,
                        null
    What should be the value of  urlToTargetApp ?
    Pls help.
    Regards
    Sonal Mangla

    Hi Satyajit.
    Thanks for the inputs
    Actually i need to refresh the application so that it takes me to the first view.
    Previously i was using Exit plug to URL to go back to first view.
    But after upgrade from EP6 to EP7 and ESS 100 to ESS600, i am getting
    <b>com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exit-Plug must no be triggered with an URL when running in portal. Use portal navigation instead to navigate to another application</b>.
    Can u tell me what is the replacement of exit to URL plug ?
    Please guide me further.
    Message was edited by:
            Sonal Mangla

  • WDPortalNavigation : Hiding Dynamic Nav Panel in popup window

    Hello,
    I am using Absolute Navigation - Portal - SAP Library to open a specific page on Portal from my Web Dynpro Java application.
    Platform:
    Portal : EP CE7.3 Ehp1 SPS9
    NWDS: CE7.3
    In target Portal page that I am trying to open in new window, there is some content added as "Dynamic Navigation". And this Dynamic Navigation panel is by-default expanded in this popped up window.
    Is there any way I can set it to 'collapsed' by-default in this popup window?
    I tried using all navigation modes available. But couldn't find any option to do this.
    Code extract:
    WDPortalNavigation.navigateAbsolute(
      actionURL,
      WDPortalNavigationMode.SHOW_HEADERLESS_PORTAL,
      "height=700,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,titlebar=no,toolbar=no",
      taskWindowName,
      WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
      targetTitleText,
      null,
      null,
      null,
      true,
      true
    Please help.
    Thanks & Regards,
    Amey Mogare

    Yes. I'm using a classical frameworkpage. I opened it >Desktop Inner page > Dynamic Navigation iView > set "Initial State of navigation panel = closed".
    Saved everything and retried opening the page via WDPortalNavigation.
    Navigation panel was still expanded when this window opened.

  • 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, opening new page in FULL_PAGE mode

    Hi There,
    I am using the WDPortalNavigation.navigateAbsolute method to open a new external page in my portal. Technically everything seems to works fine except that the new window is NOT opened in FULL_PAGE mode. It always pops up in a small window and I always have to maximize it.
    I call the method in my Web Dynpro:
    WDPortalNavigation.navigateAbsolute(
         "ROLES://<my portal page>",
         WDPortalNavigationMode.SHOW_EXTERNAL_PORTAL,
         WDPortalNavigationHistoryMode.NO_HISTORY,
         wdContext.currentContextElement().getUrl());
    <my portal page> has as attributes Height_type = "FULL_PAGE" , Launch in New Window = "Display in Seperate window"
    Has anyone a hint about what i am doing wrong?
    Thanks
    Bertil

    Hi
      When you are trying to access a external URL like google or something then you can directly use createExternalWindow() of WebDynpro to open. Here you can mention the height and width of your window.
    But if you are navigating within the portal then i think you can set the height and width of your window. Check out this link where you can mention the height and width using "windowFeatures". Check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/235a428a1e9041e10000000a1550b0/content.htm
    Hope that helps.
    regards
    Ravi

  • Show bspiView without TLN. (WDPortalNavigation navigateAbsolute )

    Hi
    Im trying to open a bspiView (in a new browser window) from my Web Dynpro application using WDPortalNavigation.navigateAbsolute. I want the iView to be rendered without TLN, detailed navigation and so forth. Just the iView!
    WDPortalNavigation.navigateAbsolute has an argument for WDPortalNavigationMode.SHOW_EXTERNAL which, according to the documentation, should show my iView "in a new browser window that has no portal frame". The thing is; it doesn't! Ive tried using ".SHOW_EXTERNAL_PORTAL" and ".SHOW_EXTERNAL" and there is no difference. We're using SP15. Can anyone help me? Is there a better solution?
    Thanks in advance
    Carl Schultze

    Hi Carl Schultze,
    Try the following method:
    IWDWindow windowName = wdComponentAPI.getWindowManager().createExternalWindow(<path to the iView>,<title>,false);          
              windowName.removeWindowFeature(WDWindowFeature.MENU_BAR);
    // There are many features you can remove like Address bar, Status bar, tool bar . . .
    // And also you can set the size, position, etc for the window.          
              windowName.open();
    Hoping that this helps.
    Thanks and regards
    RK

  • WDPortalNavigation.navigateAbsolute not working in nws04s sp14

    HI ALL,
    I am trying to navigate to a page which has webdynpro iview form a webdynpro application, on clicking a button it has to navigate to hat page in portal ,but nothing is happening onclicking the button, below is the code.
    public void onActionGo2(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionGo2(ServerEvent)
         WDPortalNavigation.navigateAbsolute(
              "ROLES://portal_content/org.test.dev.folder.test_development/Kumar/Roles/TestManagerRole/Overview/MXssMenuPg",
              WDPortalNavigationMode.SHOW_INPLACE,
              (String) null,
              (String) null,
              WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
              (String) null,
              (String) null,
              "Name=" );                              
        //@@end
    In the API its given as "The assumption is that this navigation target uses the SAP application launcher" what does this mean. please provide your valuable answers.
    Thanks,
    pkv.

    Hi pkv,
      For launching a new external window use the following API
    WDPortalNavigation.
    navigateAbsolute("ROLES://portal_content/org.test.dev.folder.test_development/Kumar/Roles/TestManagerRole/Overview/MXssMenuPg",
                     WDPortalNavigationMode.SHOW_EXTERNAL,
                     WDPortalNavigationHistoryMode.NO_HISTORY,
                     null);
    Open the required ivew and double check if the path is portal_content/org.test.dev.folder.test_development/Kumar/Roles/TestManagerRole/Overview/MXssMenuPg
    If the path is correct then the action will launch the iview.
    Regards,
    Sanyev

Maybe you are looking for