Get iViews from Role

Hi
I want to find out on which page a specific iViews is used, that means, where in the (user specific) navigation the iView will be displayed.
When I traverse the navigation nodes, I get with getName() something like "ROLES://portal_content/folder/page". The problem is, I don't know which iViews lie on that page. How can I get them?
When I find a role (IPortalRole object) in the PCD, I don't know what to do with it - is has no method I can use to get access to its content. Is there any way to do so?
Thank you!
Tobias

Hi Tobias,
In your posts there seems 2 things you want to do:
(1) Find objects in a role.
The objects are just subcontexts within the role context, so you can do something like this:
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, Context.PCD_INITIAL_CONTEXT_FACTORY);
env.put(Context.SECURITY_PRINCIPAL, request.getUser());
env.put(Constants.REQUESTED_ASPECT, IPcdAttribute.PERSISTENCY_ASPECT);
InitialContext   iCtx = null;
try {
iCtx = new InitialContext(env);
IPcdContext myPcdContext = (IPcdContext) iCtx.lookup("");
javax.naming.NamingEnumeration myEnum = myPcdContext.search("portal_content/DanielContent/DanRole",null);
This returns an enumeration of javax.naming.SearchResult objects, which are the worksets, pages and iViews in the role. You would have to continue to traverse the PCD tree -- that is, do a search of each of these objects to get all the pages and iViews inside these.
(2) Find all objects based on a specific portal component. You could do a similar thing by searching but with attribute filters, something like this:
javax.naming.directory.Attributes myAttrs = new javax.naming.directory.BasicAttributes();
myAttrs.put("com.sap.portal.private.iview.PropertiesUrl","pcd:com.sap.portal.system/applications/HelloWorldProject/components/HelloWorld");
myEnum = myPcdContext.search("portal_content",myAttrs);
The first problem with this is that it only searches the current level. There are other standard JNDI search methods that allow you to specify that you want to search all subnodes, but I have not been able to get it to work for PCD.
The second problem is that I cannot search on CodeLink (which is a PCM attribute) -- I can only search on PCD attributes. So I searched on com.sap.portal.private.iview.PropertiesUrl, but I am not sure this is reliable.
Daniel

Similar Messages

  • Hide Page or IView from Role dynamically

    Hi guru,
    I've a role with added some page.
    For wich users, I would like to hide the Entry point of page/iview at run-time.
    Is it possible?
    Thanks,
    Antonello

    Hi,
    Are you using Homepage Framework to maintain the role.
    If so, you can dynamically maintain the services to be shown/not.
    Please follow the below link......
    Create Dynamic XSS Homepages with Static Services Using a Simple Proxy Class
    I tried it and worked out as expected.
    Hope this helps.
    Cheers-
    Pramod

  • Retrieving iViews ,Pages and Worksets from roles

    Hi All,
    I am using the code given here..
    Retreive a list of workets, iViews, pages from Roles
    but while getting pcdFactory its giving class cast exception.
    Could anyone tell me what might be the mistake?
    Regards,
    Karthick

    Hi Karthick,
    I think I answered on another post, but here it is again:
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
    env.put(Constants.REQUESTED_ASPECT, IPcdAttribute.PERSISTENCY_ASPECT);
    env.put(Context.SECURITY_PRINCIPAL, request.getUser());
    env.put(IPcdContext.PCD_PERSONALIZATION_PRINCIPAL, request.getUser());
    InitialContext iCtx = null;
    String roleID = "pcd:portal_content/DanielContent/DanRole";
    try{
        iCtx = new InitialContext(env);
        IPcdContext attrSet = (IPcdContext) iCtx.lookup(roleID);
        response.write(attrSet.getAttributes("").get("com.sap.portal.pcd.gl.CreatedAt").get() +"--PP<BR>");
    Hope it helps.
    Daniel

  • Retreive a list of workets,folders,iViews,pages from Roles

    Hi all,
    I have been working on retreiving the workset,folders,iview,pages from a role.
    i am refering to the code given in the forum thread
    Retreive a list of workets, iViews, pages from Roles
    but i am facing some issue.
    if the role has workset in it,its not able to read the iviews or pages from it.
    its retreiving null.
    please may i get some solution or some working code regarding this.
    Regards,
    Savitha

    Hi all,
    I have been working on retreiving the workset,folders,iview,pages from a role.
    i am refering to the code given in the forum thread
    Retreive a list of workets, iViews, pages from Roles
    but i am facing some issue.
    if the role has workset in it,its not able to read the iviews or pages from it.
    its retreiving null.
    please may i get some solution or some working code regarding this.
    Regards,
    Savitha

  • How to get PERNR from employee search(teamviewer) iView in to a WD-4-ABAP.

    Hello All,
    I had developed a new Web Dynpro for ABAP (WD4A) component for updating a custom Infotype. This application is meant for the manager to maintain some specific data through portal for his employees in the team.
    WD4A application is built based on the employee number it receives from the portal.
         How could I get PERNR from employee search(teamviewer) iView in to my WD4A component?
    In portal I had developed a test page by copying the standard page from MSS com.sap.pct.erp.mss.general_information, and added my WD4A application through an iView into this page.
    Then I hided all the other iVews in the page except (1) employee search and (2)my WD4A iVew. On the preview everything appears fine.
    During the preview of this page it triggers the WDDOINIT of WD4A component main view and then the WDDOMODIFYVIEW. When I select an employee from the employee search, then it triggers only WDDOMODIFYVIEW in the WD4A application and not the WDDOINIT anymore.
    In my  WDDOMODIFYVIEW I had inserted the following code:
      DATA lo_api_component TYPE REF TO if_wd_component.
      DATA lo_portal_manager TYPE REF TO if_wd_portal_integration.
      lo_api_component = wd_comp_controller->wd_get_api( ).
      lo_portal_manager = lo_api_component->get_portal_manager( ).
      DATA lo_api_controller TYPE REF TO if_wd_view_controller.
      lo_api_controller ?= wd_this->wd_get_api( ).
      CALL METHOD lo_portal_manager->subscribe_event
        EXPORTING
          portal_event_namespace = 'urn:com.sap.mss.employeesearch'
          portal_event_name      = 'selection_changed'
          view                   = lo_api_controller
          action                 = 'GET_SELECTED_PERNR'.
    And in the action: 'GET_SELECTED_PERNR'
    METHOD onactionget_selected_pernr .
      DATA lv_str_pernr TYPE string.
      DATA lv_strlen TYPE i.
      DATA lv_pernr TYPE pernr_d.
      DATA lv_offset TYPE i.
      wdevent->get_string(
      EXPORTING
      name = 'PORTAL_EVENT_PARAMETER'
      RECEIVING
      value = lv_str_pernr ).
      lv_strlen = STRLEN( lv_str_pernr ).
      lv_offset = lv_strlen - 8.
      lv_pernr = lv_str_pernr+lv_offset(8).
    ENDMETHOD.
    This is not functioning form me. The action is not getting trigged with the code in WDDOMODIFYVIEW.
    I had gone through several threads in u2018SDN say:
         Pass pernr to WebDynro
         MSS - General Information - Related Activities Links persnr.
         SAP Note: 1112733.
    Most of the threads are answered but incomplete. In some threads people shared document personally which had been helpful.
    I am stuck with this scenario of handling the employee number from employee search iView. Helpful suggestions will be rewarded for sure.
    Thanks in advance.

    Do i understand you correctly that you are not getting the portal event ?
    This can be several reasons ?
    Both portal system and WDA server has to be in same domain and same proptocol to communicate with Portal event.
    Please check in that direction and search posts on this topic.

  • Partner roles not getting copied from customer.

    Hi ,
    Partner Roles not getting copied from customer to delivery Document .
    we have created one delivery document from a purchase order and when trying to create billing document from that delivery document it is giving log "payer" and ' Bill to party " not maintained.
    when checked in partner tab in delivery document these partner roles are not present there . so what can be the probable reason . These partner functions are maintained in customer.
    thanks!!!!!!
    which customizing seeting to check for this

    Hello Payal,
    Please go to T.code VOPA i.e. Maintain Partner Determination and select Delivery from the list and then click Partner Procedurers and select the relevant delivery type and double click you will get mandatory Partner Functions like Sold To, ship To, Bill to are ticked or not.
    Reward if useful

  • Cannot create iView from PAR file

    I am trying to create an iView from PAR file. But when I select the option,
    "Portal component - create an iView from a portal component contained in a deployed portal archive (PAR) file"
    and click next, I get the following error.
    Error______________________________________
    Step 1:  Portal Archive Selection
    No templates to display. You are not assigned to any existing templates.
    I have portal_configurator and developer roles assignmed to myself. Which other role do I need? I cannot get admin role.
    Note: Other users with admin roles can create iViews.

    Hi
    What is your portal version details ?
    In EP 7.0 you do not have the option -- New From PAR.
    So to create IView from Par, you should select the option New --> IView and then there will be an option to select par file.
    Otherwise
    1.Check if your par file is deployed on server.
    2. Check the portalapp.xml, if you have configured your components properly.
    Cheers
    Chinmaya
    reward for helpful answers

  • How to get Iview Quick link displayed in a headless window

    Hi
    I set the quick link for a iview, the iview has the Launch in new windows property set to 'Launch in a separated headless portal window', However when I run this iview's  quick link URL, it always open in a portal content area with all the header and navigation bar beside. How can do to have the quick link open in a headerless windows. Thanks.
    Cecilia Huang

    Hello,
    seems this is still not solved, even in 7.4 portal.
    Maybe some other Portal Admins out there have an idea?
    Everyone can reproduce the issue like this:
    Make an URL iview pointing to http://www.google.com
    Set Quicklink to  google  ( so it will be /irj/portal/google  )
    Set Launch in new window: "Open in separate window".
    Add the iView to a role you have.
    Test:
    Call the iview from the navigation inside portal. Effekt: The browser opens a new window and shows http://www.google.com  . So this works as expected.
    Call the quicklink  <yourportal>/irj/portal/google . The portal tries to launch the http://www.google.com inside the content area. In this case I get the error message that "Content cannot be displayed in a frame"
    I think a lot of Portal admins would like to get this working as they could use Quicklinks more heavily.
    Question to SAP: Is this intended behaviour ?
    Regs
    Ulf
    By the way:
    Does anyone know how to list all  quicklinks available in the PCD ? I tried with the PCD Inspector, but did not succeed.
    C U  @ #teched_2014

  • Calling xRPM standard iView from custom WD ABAP iView

    Hi,
    We have an issue regarding - calling xRPM standard iView from WD ABAP Application.
    Here are the details.
    When xRPM 4.0 application is displayed by clicking the Portfolio Management role,
    the item dashboard gets displayed. On the leftside, tabs for Reviews, Reporting Cockpits, Colections etc.
    are displayed. Below these tabs, we have a custom tab that navigates to custom WD ABAP applicaiotn.
    On click of this custom tab, WD ABAP application gets launched in same window instead of Item dashboard iView.
    Everything works good till this point.
    The requirement is - an event on this custom WD ABAP applications should navigate to standard xRPM iView (like Item Create or Item overview iView)
    we tried Object based navigation & firing a Portal event. But no navigation takes place. It stays on the current page.
    Is there any Portal setting need to be done for navigation between custom WD ABAP application and standard xRPM iView?
    Your inputs on this will rellay be helpful.
    Thanks
    Bhushan

    Hi,
    We could resolve the issue to certain extent.
    We used the following.
    Interface  - if_wd_portal_integration
    Method - navigate_absolute
    and a PCD location of Item Creation page is passed as a parameter navigation_target.
    This opens standard xRPM Item Creation iView.
    Similarly we tried opening Item Overview iView by passing ITEM GUID in Business_Parameters parameter.
    This opens the Item Overview iView but does not refer to the Item GUID passed and throws following error.
    An exception with the type CX_SY_MOVE_CAST_ERROR occurred, but was neither handled locally, nor declared in a RAISING clause 
    CX_SY_NO_HANDLER CL_RPM_OBJ_MANAGER============CP CL_RPM_OBJ_MANAGER============CM01Z 1 
    CX_SY_NO_HANDLER CL_RPM_OBJ_MANAGER============CP CL_RPM_OBJ_MANAGER============CM01Z 46
    So I need to either pass the ITEM GUID parameter through  navigate_absolute method or somehow set ITEM GUID in xRPM context so that when Item Overview iView is displayed, the iView will refer the ITEM GUID.
    Thanks in advance.
    Bhushan.

  • Trying to opn SAP Transaction IView from Webdynpro

    Hi Friends,
    I need to open a SAP Trancation Iview from Webdynpro (on click of some button) and pass some values to the screen fields,
    I am using the code below(which I found in many threads):
    WDPortalNavigation.navigateAbsolute("ROLES://<Iview ID excluding pcd>",
    WDPortalNavigationMode.SHOW_INPLACE,
    (String)null,
    (String)null,
    WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,
    (String)null,
    (String)null,
    (String)null);
    The problem is nothin happened on account of execution of this code,
    I mean not even a blank screen gets opened.
    I am not even getting any error/exception.
    Please advice what could be the possible cause.
    Regards
    Deepak
    Edited by: Deepak Gupta on Mar 17, 2008 12:15 PM

    I wrote the code like below:
    WDPortalNavigation.navigateAbsolute("ROLES://<IViewPath>", WDPortalNavigationMode.SHOW_EXTERNAL,
    (String)null,
    (String)null,
    WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,
    (String)null,
    (String)null,
    "number=123456");
    In IView application property, I wrote:
    CRMT_SEARCH_LOC-CARD_NO=<Request.number>
    (L.H.S is the screen field name)
    then I got following exception at portal:
    An exception occurred while processing a request for :
    iView : pcd:portal_content/<Iview path>
    Component Name : com.sap.portal.appintegrator.sap.Transaction
    Exception in SAP Application Integrator occured: Unable to process template 'CRMT_SEARCH_LOC-CARD_NO=<Request.number>', because 'number' is an invalid terminal property of context 'Request.'..
    what went wrong????

  • How to call IAC Iview from WebDynpro java code

    Hi Team,
    I am tring to call IAC Iview from WebDynpro Java code. we are passing value but blank page  displayed and there is no error show on error log.
    Below is Java Code which i am calling.
      public void wdDoInit()
          try {
                String strURL = "portal_content/TestSRM/iView/TestSRM";                           //WDProtocolAdapter.getProtocolAdapter().getRequestParameter("application");
                 String random = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("random_code");     
                 //wdContext.currentContextElement().setRandomNumber(random);
    //below we are call URL           
    WDPortalNavigation.navigateAbsolute("ROLES://portal_content/TestSRM/iView/TestSRM?VAL="+random,WDPortalNavigationMode.SHOW_INPLACE,(String)null, (String)null,
                       WDPortalNavigationHistoryMode.NO_DUPLICATIONS,(String)null,(String)null, " ");
            } catch (Exception e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
    I am passing value from URL.
    http://<host Name>:<port>/webdynpro/resources/local/staruser/StarUser?random_code=111111111
    when we call above URL we getting blank screen.
    Regards
    Pankaj Kamble

    Hi Vinod,
    read this document (from pages 7 ).
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62</a>
    In addition lok at these links: (Navigation Between Web Dynpro Applications in the Portal)
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/ae/36d93f130f9115e10000000a155106/frameset.htm">http://help.sap.com/saphelp_erp2005/helpdata/en/ae/36d93f130f9115e10000000a155106/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm">http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm</a>
    It may be helpful for you.
    Best regards,
    Gianluca Barile

  • Federated Portal Network - Unexpected Error - Unable to get IView

    Hallo.
    I have this problem: I have two portal federated.
    When I create an iView BI7.0 from the consumer portal , that points to the producer portal , when I execute it I obtain the error :
    500 Internal Server Error
      BEx Web Application
    Failed to process request; contact your system administrator
    Error Summary
    Exception occured while processing the current request; this exception cannot be handled by the application or framework
    If the information on this page does not help you locate and correct the cause of the problem, contact your system administrator
    To facilitate analysis of the problem, keep a copy of this error page Hint: Most Web browsers allow you to select all content, and copy and paste it into an empty document (such as in an email or simple text file)
    Root Cause
    The initial exception that caused the request to fail was:
    Unexpected error - Unable to get IView: fpn:consumer_ABC/pcd:portal_content/com.abc.AbcFolder/zcitbi70/worksetBI70/Prova/sottoprova/BI7ReportProgetti:lQ9fUQ0dfID4PPyUU4cpZg%3D%3D:1:
    Note that I am able to see the iview, role etc from consumer to producer, so the Federated Portal Network seems to work.
    What could I do ?
    Thanks for your help
    Mario

    Hi Experts,
    I am getting below error in logs. Some of the reports working and some of the are not working. I can see below error in BW system logs. Any inputs to solve this issue is much appreciated.
    java.io.IOException: Cannot establish connection with any of the profiles.
    ID 011006:Rmi_P4 Dispatcher: Can't open socket
    Error while processing the request in a BI application; see SAP Notes 937697 and 948490
    Exception caught: com.sapportals.portal.prt.runtime.PortalRuntimeException: Unexpected error - Unable to get IView: fpn:PP2_IS_CONSUMER_FOR_PB1/pcd:portal_content/com.sw1.intranet.staff/com.sw1.intranet.staff.bi/com.sw1.intranet.staff.bi.roles/com.sw1.intranet.staff.bi.hr.roles.headcount_reports/com.sw1.intranet.staff.srm.worksets.reports/com.sw1.intranet.staff.bi.hr.parentws.headcount_reports/com.sw1.intranet.staff.bi.hr.ws.headcount_reports/com.sw1.intranet.staff.bi.hr.iviews.headcount:hNsfu%2FSQ7LTdTmfpBwd7qQ%3D%3D:1:
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Unexpected error - Unable to get IView: fpn:PP2_IS_CONSUMER_FOR_PB1/pcd:portal_content/com.sw1.intranet.staff/com.sw1.intranet.staff.bi/com.sw1.intranet.staff.bi.roles/com.sw1.intranet.staff.bi.hr.roles.headcount_reports/com.sw1.intranet.staff.srm.worksets.reports/com.sw1.intranet.staff.bi.hr.parentws.headcount_reports/com.sw1.intranet.staff.bi.hr.ws.headcount_reports/com.sw1.intranet.staff.bi.hr.iviews.headcount:hNsfu%2FSQ7LTdTmfpBwd7qQ%3D%3D:1:
         at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyContentProvider(DeploymentManager.java:1960)
         at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:234)
         at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:316)
         at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:387)
         at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService._createRequestParameters(BIRuntimeService.java:397)
         at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.createRequestParameters(BIRuntimeService.java:379)
         at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService._handleRequest(BIRuntimeService.java:303)
         at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:250)
         at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:24)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         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.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         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:524)
         at java.security.AccessController.doPrivileged(AccessController.java:246)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
         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:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         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(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: com.sap.portal.fpn.exception.base.unchecked.FpnCommunicationException: Could not retrieve the bean / access service to connect with consumer 'PP2_IS_CONSUMER_FOR_PB1'
         at com.sap.portal.fpn.entrypoint.FederatedPersistanceUtils.getAccessServiceByConsumerName(FederatedPersistanceUtils.java:169)
         at com.sap.portal.fpn.entrypoint.RuntimeFederatedPersistance.retrieveDLRemoteState(RuntimeFederatedPersistance.java:92)
         at com.sap.portal.fpn.FpnRuntimeService.bringRemoteState(FpnRuntimeService.java:134)
         at com.sap.portal.fpn.FpnRuntimeService.doFpnLookup(FpnRuntimeService.java:97)
         at com.sap.portal.fpnprovider.fpn.GenericContext.lookup(GenericContext.java:49)
         at javax.naming.InitialContext.lookup(InitialContext.java:361)
         at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyContentProvider(DeploymentManager.java:1919)
         ... 40 more
    Caused by: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances
         Nested exceptions are:
         com.sap.engine.services.rmi_p4.exception.P4BaseIOException: Cannot open connection on host: and port:
         at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:455)
         at com.sap.engine.system.naming.provider.DefaultInitialContext._getDefaultInitCtxt(DefaultInitialContext.java:65)
         at com.sap.engine.system.naming.provider.DefaultInitialContext.<init>(DefaultInitialContext.java:46)
         at com.sap.engine.system.naming.provider.DefaultInitialContextFactory.getInitialContext(DefaultInitialContextFactory.java:41)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:675)
         at com.sapportals.portal.prt.jndisupport.NamingManager.getInitialContext(NamingManager.java:50)
         at com.sapportals.portal.prt.jndisupport.InitialContext.getDefaultInitCtx(InitialContext.java:39)
         at javax.naming.InitialContext.init(InitialContext.java:233)
         at javax.naming.InitialContext.<init>(InitialContext.java:209)
         at com.sapportals.portal.prt.jndisupport.InitialContext.<init>(InitialContext.java:24)
         at com.sap.portal.fpn.entrypoint.FederatedPersistanceUtils.getAccessServiceByConsumerName(FederatedPersistanceUtils.java:159)
         ... 46 more
    Caused by: com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances
         Nested exceptions are:
         com.sap.engine.services.rmi_p4.exception.P4BaseIOException: Cannot open connection on host: and port:
         at com.sap.engine.interfaces.cross.Destination.getNextAvailableBroker(Destination.java:55)
         at com.sap.engine.interfaces.cross.Destination.getRemoteBroker(Destination.java:35)
         at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:340)
         ... 56 more

  • Launch Adobe Flex iView from Specific URL

    I was wondering if there was a way to launch a BSP iView from a direct URL, rather than having to log in to the portal and navigate to the iView. For example, if I create an Adobe Flex application called SamplePortal, I want users to be able to click on and bookmark a link that takes them directly to the application, while still taking advantage of the NetWeaver user authentication.
    I see 2 options available:
                 1.  Create a Quick Link (http://<servername>:50000/irj/portal/SamplePortal) - I can;t seem to get this one to work            
                 2. Directly Access the iView (http://<servername>:50000/irj/servlet/prt/portal/prtroot/pcd!3?&NavigationTarget=SamplePortal) - I also can't seem to get this method to work
    Which is best?

    1. QuickLink option
    You can assign a value to the quick link property of an iView or a Page and then you can navigate to that quick link using a direct URL like:
    http://myServer:50000/irj/portal/myQuickLink
    However, the iview/page should be assigned to the user via a Role assignment for it to work.
    http://help.sap.com/saphelp_nw04s/helpdata/en/97/b0ef8b24a64ae884f0ab246e54cae5/content.htm
    2. Navigation Target
    The navigation target specifies the location of an iView or a page in the current user role. The target can be obtained from the portal catalog as a value that is concatenated by folder id s, roles or other objects.
    http://myportal.wdf.sap.com:8100/irj/index.htm ?
    NavigationTarget=ROLES%3A//portal_content/MyRole/MyRole/MyTest/MyIView
    You should be mentioning the PCD path in your Navigation Target.
    http://help.sap.com/saphelp_nw70/helpdata/en/18/3fb84033a8b533e10000000a155106/content.htm
    Thanks,
    Shanti

  • Unable to create iView from template

    Hi,
    I'm unable to create new iView from a template
    If I try to create a new iView I get no selection of iView templates.
    The step 1 of Template selection shows the message:
    "No templates to display. You are not assigned to any existing templates."
    I have the super_admin role but I cant see any tempates.
    I checked the template folder in PCD and found my role has access to it and to the templates objects.
    I have searched for an OSS but no luck.
    Does anybody know a solution for this problem.
    Were on NW2004s SP14
    Best Regards,
    Rasmus

    Hi,
    The reason for this is in-sufficient permissions to the user on the applications folder.You can resolve this by navigating to :
    System Administration -> Permissions -> Applications , right click on the folder and open permissions. Then assign the <b>content_admin_role</b> to this folder.
    The issue will be resolved.
    Regards,
    Senthil K.

  • Remove iview from page

    Hi,
    One of our users has managed to remove the iview from the Portal Theme page in the Personalize popup window. How could he get the iview back?
    I believe I know how I could prevent this from happening in the future, but the solution is too late in this particular case.
    We are on NW04 SP11.
    Thanks in advance,
    Gabor

    Hi Gabor,
    here is how you can achieve ...
    1. ...that the users who have removed the "Portal Theme"-iView from the Personalize Page get it back
    AND
    2. ...they can not remove it again during personalization:
    Go to: Content Administration > Portal Content > Portal Content > Portal Users > Standard Portal Users > Standard User Role > Portal Personalization > Portal Theme and click on "Edit".
    For the "Portal Theme"-iView Select the Box for "Fixed"!
    Hope this solves your problem,
    Robert

Maybe you are looking for

  • SAP Java Crypto Toolkit was not found

    Hi, I m trying to install Netweaver 7.0 BI and portal with SR3 package. Installation is Cluster installation on windows 2008 and sql 2008 platform. When I came to Centarl instance installtion. On Start Java Phase I had the error. I put the error belo

  • Camera Raw vs. Photo Ninja

    I've been hearing about a new product called Photo Ninja by the same people who make Noise Ninja, and some of the reviews by respected online personalities have actually touted it as producing superior images to Photoshop's Camera Raw. Not being one

  • DB Size and TAble size Estimation

    Hi all Please tell mehelp link or spredsheet to estimation DB Size and TAble size Estimate Regards

  • WaveBurner 1.1.2 Crashes

    WaveBurner will not complete burning a CD at all and appears crashed with the progress bar not moving at all from the beginning. I have crossfades between two songs in my program as well. Any help appreciated!

  • I'm having trouble creating an external startup disk

    I have just obtained a new 500 Gigabyte hard drive to replace my iMac's G5 160 Gigabyte internal drive. Alas, when I started to take apart the computer, I realized that mine (late 2005 iSight model) is the only one of the G5 iMacs that is so complica