How to call a "iView" in Portal Service

Hi,
I want to call a "iView" from portal service.
Can somebody suggest me how to call? I am not aware of the method for doing so.
Any sample code will be helpful.
Thanks in advance.
Manish

Hello Manish,
as far as I know, it's not possible to call an iView from a portal service. The intention of a portal service is to provide general functionality that may be used by several iViews. So, you can call a service from an iView, but not the other way round.
Have a look at the documentation, I hope this clarifies things a little bit: http://help.sap.com/saphelp_erp2005vp/helpdata/en/df/e6b74253ffda11e10000000a155106/frameset.htm
Kind regards, Lars

Similar Messages

  • How to call Standard Iviews in Webdynpro application?

    How to call STD iviews  in the wwbdynpro application.
    can any of friends give the code

    Use this snippet to call standard iviews from your webdynpro code :
    //use LinktoAction UI element
    onActionClick (com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent)
    WDPortalNavigation.navigateAbsolute("ROLES://portal_content/folders/X.Iview", WDPortalNavigationMode.SHOW_INPLACE, (String)null, (String)null, WDPortalNavigationHistoryMode.NO_DUPLICATIONS, "Called iView Name", (String)null, (String)null);
    Hope this helps.
    Rgds
    Prabhakar

  • Calling Webdynpro from a Portal service

    Hi,
    I am new to EP. I have a task where i have to write a Portal service which has to call a prewritten Webdynpro. Can someone guide me as to how I can call WebDynpros from Portal services.
    Thanks,
    Sudhir

    Hi Sudhir,
    That makes no sense. Portal Services are "faceless components", i.e. they have no user interface. WD is just all about UI. How should that kind of integration work / make sense?!?!
    Hope it helps nevertheless
    Detlev

  • How to see the iview in portal favorite

    Hi,
         It is possible to see the iview in portal favorite without giving content admin role. How to add the iview created in portal to display in portal favorite.
    Thanks,
    Kundan

    Hi,
    Your question is not very clear for me....According to my understanding i am replying u.
    Portal favourites is itself an iview.
    If u want to show some other iview in place of Portal favourites then you need to do some changes in your framework page.
    Go to content admin and go to your framework page ---> select Desktop Innner Page
    then u can see Portal favourites iview there.
    If u want to show some ivew in  place of portal favourites, then delete Portal favourites and add the iview which u want to display.
    ~Raju
    Edited by: V R K Raju P on Sep 9, 2009 3:31 PM

  • How to call session EJB from EP service in EP 7.0?

    Hi,
    I am trying to invoke stateless session EJB from my portal service. Both the service and EJB are deployed on the same server which is EP 7.0.
    I found [this|http://help.sap.com/saphelp_nw70/helpdata/EN/42/9ddcc9bb211d72e10000000a1553f6/frameset.htm] in SAP help and tried to implement it (added PrivateSharingReference to portalapp.xml and implemented the code), but everytime I try to lookup the session bean and cast it using P4ObjectBroker.narrow() method, I get java.lang.ClassCastException. The object found in JNDI and my portal service have different classloaders, so I suppose this is the problem, but I don't know how to handle it...
    Can anyone please help me?
    Regards,
    Tomas

    Hi Satya ,
              please go though following blog for used DC concept.
    Componentization of Webdynpro Application in CE7.1
    In netweaver 7.1 interface controler is abstract and component controller is implementing interface controller so the context data and methods have to be implemented by component controller

  • How to make use of the portal service "xsltransform"

    Hi all,
    I am using EP5 SP4 and is trying to create a component to do xml transformation by using the portal service "xsltransform". However when I run the code (which is reference to an example on web), the following error occured:
    javax.naming.NotContextException: broker should be a Context
         at com.sapportals.portal.prt.repository.AbstractHierarchicalContext.lookup(AbstractHierarchicalContext.java:139)
         at com.sapportals.portal.prt.repository.AbstractHierarchicalContext.lookup(AbstractHierarchicalContext.java:140)
         at com.sapportals.portal.prt.repository.AbstractHierarchicalContext.lookup(AbstractHierarchicalContext.java:74)
         at javax.naming.InitialContext.lookup(InitialContext.java:345)
         at com.mk.kmbrowserid.MkKmBrowseRID$MkKmBrowseRIDDynPage.doProcessBeforeOutput(MkKmBrowseRID.java:167)
    Here is my code:
    Hashtable env = new Hashtable();
         env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sapportals.portal.prt.registry.PortalRegistryFactory");
         InitialContext context = new InitialContext(env);
         IXSLTransformService xslTransService = (IXSLTransformService) context.lookup("/broker/services/"+IXSLTransformService.KEY);
         //retrieve the xsl file and put into string
         String line;
         StringBuffer styleSheet = new StringBuffer();
         IResourceContext resourceContext = new ResourceContext(myUser);
         IResourceFactory resFactory = ResourceFactory.getInstance();
    Where the problem is occured in line 167 "IXSLTransformService xslTransService = (IXSLTransformService) context.lookup("/broker/services/"+IXSLTransformService.KEY);"
    Do any one know how to solve this problem? And setting / config should be done before the service "xsltransform" can be used?
    Thanks
    Sam

    hi
    I need an example please....
    did any one use that FM
    Regards

  • Can you call a SAP java Portal Service from the Dot Net code?

    Is there a link to a document or snippet of code to call a customized Portal Service in a Dot Net code?

    Hi Steve,
      yes.,u can call a java portal service in .net.,the only thing what u need to do is to establish that portal service as web service and use that web service in ur code..
    Regards,
    Vinoth

  • How to stop and start (restart) portal services programmatically?

    Hi experts,
    I develop a portal service IMaintenanceService extending IService.
    The new service has some profile properties (start date, end end, etc.).
    I wrote another portal application MaintenanceManager which can change these profile properties.
    However, to activate the changes I have to restart the portal service.
    Does anyone know how I can restart the portal service IMaintenanceService from my portal application MaintenanceManager?
    Thanks for help.
    Edited by: Daniel Fötsch on Nov 21, 2011 8:24 AM

    please see the metalink note
    How to Start/Stop MWA Services Using Control Scripts adstrtal.sh/adstpall.sh? [ID 731320.1]
    This is how i startup and shutdown WMA
    for stopping :
    1) login to Applications tier
    2) To see if the MWA (telnet) server is running use:
    ps -ef|grep DPID
    3) cd $MWA_TOP/bin
    3) ./mwactl.sh -login sysadmin/xxxxx stop_force 10200;
    4) check the wma process from OS level
    ps -ef|grep mwa
    for starting
    1) login to Applications tier
    2) cd $MWA_TOP/bin
    3) ./mwactl.sh -login sysadmin/xxxxx start _force 10200;
    4) check the wma process from OS level
    ps -ef|grep mwa

  • 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

  • How to write a time triggered portal service/ schedule a portal service

    Hi,
    Can some one please provide me with some info/url about how to a create a time triggered portal service i.e., scheduling portal service.
    Any help will be greatly appreciated.
    Thanks & Regards,
    Sudhir

    Hi,
    see my reply to your post in PortalDevelopment area:
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=249185&tstart=0">https://www.sdn.sap.com/irj/sdn/thread?threadID=249185&tstart=0</a>
    Romano

  • * How to Depoly  NDWS  Iview in Portal*

    Hi
    i got a very basic question
    I am able to create  a Iview in WebDynPro (NWDS)
    and deploy it very comfortably.
    Similarly,
    I am able to create a Iview in PORTAL and check for the PreView.
    Now Query Over this point is,
    if i create a View in Dynpro , how to incorporate in Portal Page
    or
    how to incorporate it in Portal Workset.
    and
    How to assing a Role to the view that has been created in NWDS
    Thanking in Advance.

    Hi Kumar,
    Solution for your query is at the end but first let me focus on some terminologies -
    1> Whenever you deply any application from NWDS it doesn't create any IView. IT just gived u a application URL nothing more than that.
    Soltuion:
    Just Deploy your application from NWDS
    Go to portal>Content Administration> Create a Web dynpro IView--> whenever it will ask you for application name just specify the application name spo that this IView will get link to that application.
    Finish it.
    Create a page from Content Administrato. Assign this Iview to this Page.
    No create a Workset from Content Administration--> assign this page to this Workset.
    Create a role from Content Administration and assign this workset to this Role.
    Now from UserAdminisstration assign this role to specific userid for whcihc you have to perform opertaions
    Definintely this will work for you..
    Regards,
    Roshan

  • How to call BAPI in Enterprise Portal java

    Hi,
    In SAP R3 i created a BAPI .Now i want to call that BAPI from Enterprise Portal.
    How to do that?
    With regards,
    Suman Sahu

    Hi, Suman
      There are multiple ways to do this.
      1. via Web Dynpro Java
      2. via other tools like visual composer
      3. via Web Services
      Well, option 1 would be direct and flexible.
      And please refer to here - Web Dynpro samples.
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/f0b0e990-0201-0010-cc96-d7ecd2e51715
      Best Regards.
      Sejoon

  • How to Call Transaction iView that calls RRMXP from Web Dynpro for ABAP

    Dear Experts,,
    I'm developing an application in Web Dynpro for ABAP wherein I'm supposed to give a link that should open an SAP Transaction iView that calls  tcode = 'RRMXP' and I pass the application parameter as QUERY/WBID = <BI query/Workbook ID>.
    I tried calling com.sap.portal.appintegrator.sap.bwc.Transaction iView, but it asks for system/application and GUI type parameters. How to pass through the URL?
    Any help would be highly appreciated
    Regds,
    Srini

    Hi Wolfgang,,
    My problem was that I was supposed to call the BeX Web Analyser ( a BI excel based tool - client installation) on click of a button in my WD-ABAP application. I solved it as follows :
    In the portal pcd, I cam across a folder content provided by SAP. Here, you'll find standard template iViews that can be used to call applications ( for which you make iViews). I had to call an SAP TCode : RRMXP so as to call a BI Workbook/Query.
    So, I called the standard iView template for sap_transaction_iView as follows :
    irj/servlet/prt/portal/prtmode/preview/prtroot/'
               'pcd!3aportal_content!2fcom.sap.pct!2ftemplates'
               '!2fiviews!2fcom.sap.portal.sap_transaction_iview?'
               'sap-config-mode=true&System=BWR3System&TCode=RRMXP'
               '&GuiType=WinGui&OkCode=y&ApplicationParameter='  <appnm>  into url.
          l_popup =
             l_window_manager->create_external_window( url = url
                                          has_menubar = ' '
                                         has_statusbar = ' '
                                          has_toolbar = ' '
                                          has_location = ' ').
          l_popup->open( ).
    And , it worked.
    Any more help pls feel free to revert.
    Regds,
    Srini

  • How to Call standard iView from WebDynpro custom iView

    Hello all Experts
    I want to know whether there is any way to call (navigate to) standard iView from my cutom WebDynpro iview or not?
    If yes please tell me how to code it.
    (Points will be awarded for helpful answers)

    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

  • How to call a text FTP proxy service from a Java client ?

    Greetings,
    I've configured a text FTP proxy service which downloads files from a FTP server. It pols a directory on the FTP server and, as soon as a file respecting a given pattern apears it is downloaded. I tested the service in the test console and by putting some test files onto the FTP server. Now, I need to be able to test it from a Java client. How may I do that ? I need to write a Java client to connect to the OSB and to tell to it to use the FTP proxy in order to download a given file, from a given location and to put it in a given location on the client machine. Many thanks in advance for any help. A sample would be great !
    Kind regards,
    Nicolas

    Ok, I understand. The crucial question here is "what is a caller that you refer to?"
    Don't get me wrong, but the problem here is that you probably don't understand, what OSB is good for. OSB is an event-driven system. The event in your case is a new message in remote FTP server. You have to define what should happen when that event is fired. And that's all. You don't have to involve other client (or caller) for this case.
    You should define your FTP proxy to retrieve all relevant files from FTP server and then you should route them based on their name/content/encoding/whatever to different consumers. You can also have many proxies if you want - one for each name. It's up to you. But you don't have any "callers" in either case.

Maybe you are looking for

  • How do I control my iPad/iPod touch library from my mac?

    I am trying to use Home Sharing in reverse so that I can plug my iPad or iPod into speakers and control them using my computer. So far I have only been able to use Remote between the two devices and from device to mac but I want to configure it so th

  • MacBook won't go to sleep when connected to external monitor

    Dear all, I have a MacBook connected to an external monitor via DVI to HDMI adapter. The MacBook is also connected to the power adapter and to an external aluminium Apple keyboard and a wired Mighty Mouse via USB. I use the computer with the lid clos

  • Disappearing Files When Updating Location

    It’s best to copy the photos first using your computer OS and after successfully updating the database (catlog) links you can then safely delete all the photos from your internal hard drive. This avoids the possibility of failure when using drag & dr

  • Display SP2010 list items on a non-SP site

    I want to display items from a SharePoint list on an internal non-SP site. This would be read-only access, and the other site doesn't use Windows authentication. For security reasons, I would prefer not to allow anonymous access for anything on the S

  • LMS 3.2 Compliance Template syntax help

    I want to add the command "no logging event link-status" to all switchport mode access ports EXCEPT for the ones with the following switchport access vlans: 4022,4032,4042,4052,4072 & 4082. How do I create a compliance template to do this? LMS 3.2, R