Get iview ID in runtime

Hi,
I have one iview in content area and footer is same for all the iviews displaying in content area. I got one link in footer which opens a document.
This  document is specific to the iview displayed in contentarea, so i need to get ID of an iview which is currently displayed in content area to determine the path of the document for each iview.
any help or hint is appreciated.
Thanks,
Damodhar.

You could do it by using the doOnNodeReady method of your AbstractPortalComponent and adding some parameter to the IPortalComponentRequest or IPortalComponentSession to store the path to the document.
Then, in the footer iview, you can also use the doOnNodeReady method to retrieve the same parameter and create the link accordingly. This should work because the content iview should be in the POM (Portal Object Model) first, therefore its doOnNodeReady method should be called before the footers doOnNodeReady.
This might work for you
D

Similar Messages

  • 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

  • Unexpected error - Unable to get IView

    Hi,
    I have configured FPN with EP and BI, both are on same SP level.The connection and the producer registration is successful.The producer contents can be navigated in Consumer and am able to copy and paste the producer content in the consumer.But when i preview the content it shows error "Unexpected error - Unable to get IView".
    Regards,
    Adity.

    The error i get in default trace is :
    #1.#000D60F4797A0074000008D70007A25E0004765974FE319B#1256026493825#com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService#sap.com/irj#com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService#TCSADITY#35321##n/a##06dc0750bd5011de9049000d60f4797a#SAPEngine_Application_Thread[impl:3]_26##0#0#Error#1#/Applications/BI#Plain###Exception caught: com.sapportals.portal.prt.runtime.PortalRuntimeException:
    Unexpected error - Unable to get IView:
    fpn:ddsa/pcd:portal_content/com.pnb.test/gh/iu/com.pnb.test3:pgyy6PHtBJ0B4Z62g5CvLg%3D%3D:1:
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Unexpected error - Unable to get IView: fpn:ddsa/pcd:portal_content/com.pnb.test/gh/iu/com.pnb.test3:pgyy6PHtBJ0B4Z62g5CvLg%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:428)
            at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.createRequestParameters(BIRuntimeService.java:405)
            at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService._handleRequest(BIRuntimeService.java:329)
            at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:276)
            at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:24)
            at com.sapportals.portal.prt.component.AbstractPortalComponent.doPreview(AbstractPortalComponent.java:240)
            at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:168)
            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:241)
            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:214)
            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 'ddsa'
            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)
            ... 41 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 make connection.
            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)
            ... 47 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 make connection.
            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)
            ... 57 more
    #1.#000D60F4797A0074000008D90007A25E0004765974FE36CD#1256026493826#com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService#sap.com/irj#com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService#TCSADITY#35321##n/a##06dc0750bd5011de9049000d60f4797a#SAPEngine_Application_Thread[impl:3]_26##0#0#Error#1#/Applications/BI#Plain###Error while processing the request in a BI application; see SAP Notes 937697 and 948490#
    0

  • Every time I try to open itunes I get a message saying "runtime error. An application has made an attempt to load the C runtime library incorrectly. I have already un- and re-installed it, but i get the same message as before. How do i fix this?

    every time I try to open itunes I get a message saying "runtime error. An application has made an attempt to load the C runtime library incorrectly. I have already un- and re-installed it, but i get the same message as before. How do i fix this? I don't want to lose my music and would at least want to save that.

    Follow the instructions of tt2 given in https://discussions.apple.com/thread/5822086 and note to run as admin

  • I keep getting the following message:  Runtime Error...Microsoft Visual C + Runtime Library  Program C:\Program Files\iTunes\iTunes.exe  R6034 An application has made an attempt to load the C runtime library incorrectly and can't open iTunes now.  Help!!

    I keep getting the following message:
    Runtime Error...Microsoft Visual C++   Runtime Library  Program C:\Program Files\iTunes\iTunes.exe
    R6034 An application has made an attempt to load the C runtime library incorrectly and can't open iTunes now.
    Please could someone help with this query as I am at a loss as to why this problem is now occurring?  Thank you.

    Check the user tip below.
    https://discussions.apple.com/docs/DOC-6562

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

    Hi,
    I have configured FPN with EP and BI, both are on same SP level.The connection and the producer registration is successful.
    The producer contents can be navigated in Consumer and I can able to copy and paste the producer content in the consumer.
    But when I see the preview the content it shows error "
    500 Internal Server Error
      BEx Web Application
    Faile 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>/pcd:portal_content/Iviews_ID/BTMP_20110425_065001:NFd1NOBZQUPn2gQkVO65Lw%3D%3D:1:
    I have checked the following thread, but I'm not able to find out solution,
    Federated Portal Network - Unexpected Error - Unable to get IView
    what could be the reason,
    Really appriciated for your reply.
    Regards,
    Mahee.

    Hi Shanti,
    Thank for reply.
    I have checked with same user in both consumer & producer portals, In that case its working fine.
    If you checked with other consumer users its asking password.
    For this I have tried usermapping with producer id under goto personolize -->remote iviews --> select default alias -->enter id/pwd and save  for other consumer id.
    How we manage  for all consumer users, is there any option to mapping to all users at time.
    really appriciate your inputs.
    Regards,
    Mahee.

  • Sometime wrong endpoint URL getting picked up at runtime at adapter engine

    Hi experts,
    In our production XI box, sometime wrong endpoint URL getting picked up at runtime at adapter engine.
    But this scenario does not happen always. It happens sometime. I have checked url for integration engine in
    SLD and also RWB->Component monitoring->integration engine, but in both the places it is correctly specified.
    It is very difficult to find the root cause...please help
    Thanks,
    Nayan

    Hi Christian,
    May be it is a cluster problem...actual URL must be the URL of the cluster not any specific SAP server box....but in our case sometimes URL points to any SAP server  that may or may not be within that cluster.
    Please give some solution to rectify it.
    Thanks,
    Nayan

  • API for getting iView name, type, tCode

    Hi
    I am trying to figure out if there is a way in my program to get iView properties: the iView type (e.g. transaction, Web Dynpro, etc), then if it's a transaction iView to get the tCode for that iView.
    I have seen document that tells me I can get the list of iViews in a given PCD location, and I think you can get the properties I mentioned above as such:
    // id is the full path of the iView
    public void getProperties(IPortalComponentRequest request , String id) throws Exception{
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
    env.put(Context.SECURITY_PRINCIPAL, request.getUser());
    env.put(Constants.REQUESTED_ASPECT, PcmConstants.ASPECT_SEMANTICS);
    InitialContext iCtx = null;
    try {
    iCtx = new InitialContext(env);
    IiView result = (IiView) iCtx.lookup(id);
    result.getAttribute("????");
    result.getAttribute("????");
    } catch (Exception e) {
    throw new Exception (e);
    Am I in the right direction?
    I don't know what are the names of those attributes I need? - I cannot find them in any Java docs or forum?
    I also looked at com.sap.portal.pcm.attributes.IAttriView but that does not appear to have the suitable attributes that I am looking for?
    Please help.
    Kind regards,
    Sharath

    Hi
    Check theses links
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/44/bfb2a470033f45e10000000a114a6b/frameset.htm
    https://help.sap.com/javadocs/NW04S/current/index.html
    Hope this helps.
    Cheers-
    Pramod
    reward points if helpful.

  • On opening A.8, I get this error message "Runtime error (VisualC  ) This application has requested to terminate in an unusual way. Pls. contact the app's supoort team."

    On opening A.8, I get this error message "Runtime error (VisualC  ) This application has requested to terminate in an unusual way. Pls. contact the app's supoort team." This happens on opening .pdf file or opening the application.

    XP. Yes, it was working fine. When I open Control Panel/Add or Remove
    programs, Acrobat isn't listed (Creative Suite 3 and 2 Flash Players,
    and an Acrobat Reader that I installed yesterday show up, but no
    Acrobat). Acrobat 6 and 8 appear in Explorer under Program
    Files/Adobe.??? Thanks.

  • I have been running elements 12 for a few months now....today when I tried to open the editor I get " Visual C  C  runtime error. I can open the organizer but not the editor

    I have been running elements 12 for a few months now....today when I tried to open the editor I get " Visual C  C  runtime error. I can open the organizer but not the editor

    I'm keen to know if you get a response to this.  I've been running Elements 12 for a year now, and suddenly my Editor is not working.  I'm running Windows 8.1 and just get a message that says "The Editor is not working".    Not very helpful.

  • Why do I get Microsoft Visual C++ Runtime error when I open Premiere Elements 11  on my windows 8 ?

    Why, when I open Premiere Elements 11 on my windows 8,  do I get"Microsoft Visual C++ Runtime error. This application has requested runtime to terminate it in an unusual way.Please contact the application support team for more information."
    Any solutions, thanks, Jim B.'

    jimmymega
    We will follow up when you have time.
    I am not sure if there is a misunderstanding in the communications. Please see
    but how do I identify the "http://forums.adobe.com/message/5129399 ? Is there somewhere where there is the number 51229399?
    When you click on that link, it should open to a thread with a discussion on troubleshooting the Microsoft Visual C++ Runtime Error situation. Did the link not open. It seems to be working. Please try clicking the link again and let us know the outcome.
    Thanks.
    ATR

  • HT1926 When I try to open ITUNES I get the following messages: Runtime Error R6034 - "An application has made an attempt to load the C runtime library incorrectly" . I have 15,000 songs in my library. Will I lose them if I uninstall as suggested by Apple?

    When I try to open ITUNES I get the following messages: Runtime Error R6034 - "An application has made an attempt to load the C runtime library incorrectly" . I have 15,000 songs in my library. Will I lose them if I uninstall as suggested by Apple??

    Exactly the same problem.  But it gets worse.  iTunes has now disappeared from my list of installed programs so I can't uninstall anyway.  Appalling problem.  This update clearly didn't get proper testing before release.
    In answer to your question about your song library, I seem to remember uninstalling and reinstalling iTunes a few years ago and the uninstall didn't remove the library then - I can't see why it would.  Of course there have been a lot of updates since then, so it is definitely worth asking the question.  Personally, I would be inclined to make a copy (if you have the space) of the iTunes folder just to be sure.
    I certainly hope they get this fixed soon.  I use iTunes mainly for podcasts on my iPod and I can't download anything right now.

  • Getting value type at runtime

    Hello everyone,
    I am using Scanner to get tokens from a buffer. I need to know the type (class) of the value returned. Instead of using "if" statement and hasNext?() for each possible type, is there a method that just return the type. Something like:
    Class c = get(String s);So, if s is "Address", c would be set to String.class. If s is "true", c would be set to Boolean.class... etc
    Thank you

    Yeh, I just saw your other post:
    http://forum.java.sun.com/thread.jspa?threadID=783200
    The two topics are different but related. The topic, you refer to, are taking about getting a value. In that topic I need a method like:
    Object o = String.toObject (String s, Class c);However, the topic "Getting value type at runtime" are taking about getting a type. In this topic I need a method like:
    Class c = string.getClass();to return the type this string represents.

  • I am trying to upload new version iTunes into Windows 7 and getting error message that runtime is loading incorrectly. Cannot connect to online support. Any ideas please?

    I am trying to upload new version iTunes into Windows 7 and getting error message that runtime is loading incorrectly. Cannot connect to online support. Any ideas please?

    See Troubleshooting issues with iTunes for Windows updates.
    tt2

  • HT5654 I am unable to update latest version of Itune, I get error R6034 C runtime library incorrect. My windows are up to date and I have been able to access itune until today and now I don't have it.

    I am unable to update latest version of Itune, I get error R6034 C runtime library incorrect. My windows are up to date and I have been able to access itune until today and now I don't have it.

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

Maybe you are looking for

  • Solution for ipod video. Worked for me

    I have had similar problems as others on this forum. Plugged in my new ipod and it froze. Reset it, followed the 5 R's. Nothing seemed to work. Except that I only removed the itunes software not the ipod software. I uninstalled everything and reloade

  • Explain plan only in spool file

    Hi there, I am trying to spool only my explain plan to a file, at the moment i can only return all the results and then explain plan to the file. This is a bit of a problem as i am running some rather long queries and some of them return over 80MB of

  • What is a Budget Control Code?

    On saving an ADI report I've created I'm getting the error message "You have entered a budget amount type without an associated control value assignment. Use control values to tie budgets to columns." Any idea what a Control Value is? Can't find it i

  • Missing .xml files

    As part of something identified by the FBI as a scam (called "Reveton"), I had my Safari page temporarily frozen (apparenly simply by substituting their selected page as my home page), and with a good deal of "hoop-jumping" to "unfreeze" my computer

  • MSO-X 4000 Read Waveform Timeout

    I'm having trouble using the NI instrument drivers for the Agilent MSO-X 4000 oscope. I'm trying to use the trigger on channel 2 to acquire the waveform on channel 1. Currently, I always get this error code : "VISA Read in Agilent 2000 3000 X-Series.