Determination Of Visible IViews

Hi,
below there is a piece of code to iterate over the IViews and to collect the names of all IViews. I'm not 100% sure whether this code retrieves the names of all IViews assignes to a user's role or of all IViews currently visible on the screen. I would like to implement the second requirement. Here the code:
If fetch the top level IView with the line
INode topLevelNode = currentNode.getPortalNode();
This topLevelNode is provided as parameter of the recursive method below:
protected void fetchIViewNames(INode node, List names)
  if(node != null)
    String name = node.getNodeName();
    names.add(name);
    INodeList childNodes = node.getChildNodes();
    int size = childNodes.getLength();
    for(int i=0; i<size; i++)
      INode child = childNodes.item(i);                 
      fetchIViewNames(child, names);
Kind regards,
Heiko

Hi,
follow the link
http://help.sap.com/erp2005_ehp_03/helpdata/EN/12/0841e3470311d1894a0000e8323352/frameset.htm
and IMG path is
IMG>Materials Management>Purchasing-->Maintain Purchasing Area.
Thanks

Similar Messages

  • Dynamic Nav iView refreshes all visible iViews???

    EP6 SP2 Patch 4...
    I have an JAVA/JSP iView in the dynamic nav area.
    This iView has a number of dropdown lists.
    When the user selects a value in a dropdown list, ALL of the iViews (everything below the masthead, breadcrumbs) refresh.
    Does this behavior make sense?
    I can't think of any of the code that we have written would do this. We are not doing anything any EPCF stuff. Just setting session variable values based on dropdown selections.

    As I understand it, this is because the DynamicNav area contains the content area as an iframe. If you want to have a not-reload behaviour, you'll need  to add an iframe to your iView that is invisible and send the requests to the server from within this iframe, steering the iframe with javascript.
    Regards,
    Armin

  • Determining the visible lines of a JEditorPane within a JScrollPane

    I need to track what lines are visible (the Document line numbers) within the Viewport of a JScrollPane that contains a JEditorPane. Is this achievable?

    That's a tricky one.
    Maybe something like this:
    First get the view coordinate of the top left corner of the view port
    Point p = scrollPane.getViewPort().getViewPosition();Then convert that view location into a model location. The model location will be an index into the document.
    int modelLocation = editorPane.viewToModel( p );Now you just need to count how many lines are before this index location. As I recall there is a main root element for the whole document. The root element is made up of child elements, one for each line. This may be different for HTML but might work for text or rich text.
    Element rootElement = editorPane.getDocument().getRootElements()[0];
    // getElementIndex() will give you the child element index (e.g. line element that is at the given document location).
    int lines = rootElement.getElementIndex( modelLocation );Do the same for the point location that is at the viewport's location plus the viewport's size (i.e. the lower right corner of the viewport).
    There is a LOT of speculation here since I haven't actually put this to a test case. But maybe its enough to point you in a direction that works.
    -Mike

  • Excel 2007 accessing PivotItem.Visible gives error if the field item value is a DATE

    I have VBA code to manipulate the content of a pivot table - essentially it hides all but the first N items in a pivotfield.  Under Excel 2003 the code works fine, as expected irrespective of the data content of the pivot field item.  Under Excel
    2007, if the data content is a date, the VBA code generates one of several error conditions.
    pivotItems(i).Visible = True
    Generates error 1004 - Unable to set the visible property of the pivot class
    If pivotItems(i).Visible = True then...
    Trying to test the visibility generates error 13 - type mismatch
    ?pivotItems(i).Visible
    Trying to determine the visibility of the pivot item in the VBA immediate window, this generates error 2042
    I have an illustrative spreadsheet which permits the code to process two different pivot tables, one using a field containg dates; the other a field containing text.  Under Excel 2003, the code works on both pivot tables.  Under Excel 2007 it works
    on the text field table, but fails on the date field table.
    I have looked for answers on numerous support forums including answers.microsoft but found not found any answers... only the same or similar unanswered question.

    Hi Herbert,
    Thank you for your continued interest; please find a revised illustration of the problem here -
    http://www.mediafire.com/download.php?zc6ty9ctl1n7yd9
    I have made the following changes / additions to the problem illustrator:-
    Adopted the use of lists for the data source of the pivot table
    Removed reference to '(blank)' as a reserved item not hidden by the VBA code to avoid the possibility of hiding all items
    In respect of my original code (MK1), utilised a 'real' item name to be the
    reserved item
    Added a new (MK2) macro to alter the number of visible items which
    hides all but one of the VisibleItems collection
    makes the first N items in the collection visible
    checks that there are only N items visible (the position of the reserved item
    might be greater than N)
    The code still executes as expected under 2003, but fails (the same as before) under 2007 when the data type of the PivotItem is date.
    The MK1 code fails when testing the current visibility of the Item before trying to set the visibility with:- RTE 1004 Unable to
    get the PivotItems property of the PivotField Class
    The MK2 code fails when trying to set the visibility with:- RTE 1004 Unable to
    set the Visible property of the PivotItem Class as reported above.  Note - given that MK2 avoids trying hide invisible items or unhide visible items, I no longer believe that this error is due to the attempt
    to set visibility to current state as seen under Excel 2003. I am deeply confused by this now!
    I observe with care the different CLASSES on which these failures are reported even though in each case the operations are on the PivotItem.Visible property - MK1 queries it / MK2 attempts to alter it. 
    Just in case you have been wondering where this is going, this spreadsheet has no prupose beyond illustrating the Excel 2003 / 2007 problem being encountered elsewhere when manipulating pivot table items whose value are dates.  The requirement
    is to provide a simple user interface to a complex managing reporting spreadsheet consisting of a significant number of pivot tables and charts - altering one cell causes the VBA code to modify the collection of pivot tables to deliver a revised view of the
    data.  All works fine for 2003 users of the model, but not 2007 users.  I need one spreadsheet which will work correctly on both 2003 & 2007.
    Regards.

  • Dynamically determining a binding

    Hi All,
    Much progress has been made with scripting since my last post as we have successfully used formcalc to determine the visibility of subforms, the colour of borders and so on!
    Although now we are once again stuck!
    We have a table on a purchase order and the description and item lines must be bound to one structure if the purchase order is of type 'NB' else it should be bound to a different structure.
    The PO type is determined by the CHAR2 value in 'HEADER-BSART'.
    when you create a floating field to bind a structure to, it appears in the hierachy as a 'textfield' symbol. when this item is selected you are able to add a script to it, but we are unsure as to what to put in the script, or even, which part of the processing sequence to attach it to, ie, intialize, calculate, form:ready etc.
    My guess would be something like:
    if ($record.HEADER.BSART == "NB")
    then ITEM.??????? = <data structure1>
    else ITEM.??????? = <data structure2>
    ENDIF
    //where ITEM is the name of the textfield thats bound structure is dependent on the value of BSART.
    Any ideas?
    Thanks!

    Hi,
    Try ITEM.rawValue = <Value to be assigned>
    Ashutosh

  • URL IView with parameters having no parameter identifier

    I have created a url iview but the first parameter has no Parameter Identifier after the ?. Is there a way to code for this in the URL Parameters section of the iview. Here is par to of the URL:
    .../Pages/ReportViewer.aspx?%2fExpress ...
    if it said something like
    /Pages/ReportViewer.aspx?codelink=%2fExpress
    then it would be no issue.
    Normally you would put something like codelink and the /Express in the value section. the portal will not let me leave it blank and I have tried using a space. I am trying to access a specific report on the Report Server of MIcrosoft Reporting Services.
    Thanks
    Paul

    Good day,
    Review the following document:
    https://cw.sdn.sap.com/cw/docs/DOC-41417
    If that did not help, you may need to create your own template since the standard URL iview generates URL values based on it's own template OR create your own modified version of the PAR.
    Review the following document:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0cbc309-ff89-2a10-8bad-bcde4c152ecb
    View the following supplementary articles for information on creating your own appintegrator template:
    https://cw.sdn.sap.com/cw/docs/DOC-109843
    https://cw.sdn.sap.com/cw/docs/DOC-101603
    http://help.sap.com/saphelp_nwesrce/helpdata/en/70/5a3842134bad04e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nwesrce/helpdata/en/36/5e3842134bad04e10000000a1550b0/frameset.htm
    The benefit of this is that you can now create a system object that references the MS reporting Services system from the portal, and transport iviews pointing to this along yoru landscape without issue, and additionally you can specify parameters that can be dynamically determined when an iview is created using the template you have defined.
    We use this for connecting to our BO systems dynamically as the landscape calls and apliaction in a different environment. Parameters are also defined differently in our templates. It take a little time getting your head around the documentation, but once you have it sorted it is very straight forward. If you find it too daunting you can also search for the download  to com.sap.portal.howtos.webapp.par which has portion of this preconfigured for use already.
    http://wiki.sdn.sap.com/wiki/display/EP/HowtodoSSOwithInternetsites
    I trust this helps,
    Doug.

  • Subform(s) visibility

    I'm trying to make visible a specific subform based on the value of a radio button. This involves two subforms - stdLayout and customLayout.
    Right now, stdLayout is visible when the form opens while customLayout is invisible.
    I have this code in place now:
    Form initialize:
    customLayout.presence = "invisible";
    Radio button change:
    if (this.rawValue == 1) {
    customLayout.presence = "visible";
    }else{
    customLayout.presence = "invisible";
    This works fine to make customLayout visible, but I'm at a loss for code to make stdLayout INVISIBLE at the same time. Obviously I only want one visible at any time.
    Any help is GREATLY appreciated!
    Thanks
    Mike

    Hello, I just joined the forum today. I am new to this app (v.8) and am learning to create a form. I have a question that looks like it belongs in this thread.
    Here's my situation: the company is finally setting up an intranet, and we are slowly moving to .pdf file distribution instead of MS Word. I'm going through an employee status change form done in Word, using document protection and text fields, checkboxes, drop-downs, etc., and I'm re-creating it in LiveCycle.
    That part was easy, and I learned the basics of the app, but now I want to make a leap to another level. This form tracks access to various systems and apps, which varies according to the division of the business that the employee is in. When I createds all the checkboxes and drop-downs, etc., I clustered them into subforms.
    This thread asks about a radio button value determining subform visibility. I'd like to know if a value in a drop-down can determine visibility. Our hope is that when HR chooses a value in the Division drop-down, then the form will only display the systems and apps that a person in that division would normally have access to.
    Can this be done? and where are you entering that code you sampled here?
    Thanks,
    - A

  • Row Visibility in SSRS

    I am using the Switch function in Reporting Services to determine the visibility of a row. It happens that I am using more that one column or field to test my expression like so:
    =Switch(Parameters!View.Value = "Green" AND Fields!Tax.Value = "N",TRUE,Parameters!View.Value = "Current" AND Fields!PastVal.Value = 0 AND Fields!DatePay.Value = 0 AND Fields!Comment.Value = 0,True)
    With the expression above, I want that if the first part is true, the row should be hidden likewise for the second part of the expression, I want to hid a row when all the conditions are met. But this not yielding the desired result. I equally tried with
    another expression like so:
    =IIF(Parameters!View.Value = "Green" AND Fields!Tax.Value = N",False, IIF(Parameters!View.Value = "Current" AND Fields!PastVal.Value = 0 AND Fields!DatePay.Value = 0 AND Fields!Comment.Value = 0,True,False))
    I anticipate you help.
    Zionlite

    Hi Zionlite,
    Per my understanding that the expression you are using not works fine for the second part "Parameters!View.Value = "Current" AND Fields!PastVal.Value = 0 AND Fields!DatePay.Value = 0 AND Fields!Comment.Value = 0,True".
    I have tested on my local environment and if the three fields :PastVal,DatePay,Comment are both string or numeric values, the first expression using the switch function will works fine.
    So, In your scenario, Please check the data type of this three field in the DB first and try to modify the query like below to have a test:
    =Switch(Parameters!View.Value
    = "Green" AND
    Fields!Tax.Value
    = "N",TRUE,Trim(Parameters!View.Value)
    = "Current" AND
    CBool(Fields!PastVal.Value)
    = 0 AND CBool(Fields!DatePay.Value)
    = 0 AND CBool(Fields!Comment.Value)
    = 0,True)
    If the above modification didn't work, please also test this one:
    =Switch(Parameters!View.Value
    = "Green" AND
    Fields!Tax.Value
    = "N",TRUE,Trim(Parameters!View.Value)
    = "Current" AND
    Trim(Fields!PastVal.Value)
    = 0 AND Trim(Fields!DatePay.Value)
    = 0 AND Trim(Fields!Comment.Value)
    = 0,True)
    If your problem still exists, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Event gets lost when iView is uncompressed for the first time

    Hi All,
    we are developing an application that manages attachments (meaning: files stored in KM) and per request by the client consists of several iViews. One of them contains a search interface, another one lists the hits that have been found. So the iViews have to communicate.
    We achieved the funcionality by using portal eventing and the HTTP session. The search iView compiles the search string and writes it to the session.
    request.getComponentSession().getHttpSession().setAttribute(searchString, .....);
    We then use javascript to fire an event on which the searchResult iView reacts and fetches the searchString from the session. The actual search is then performed within the searchResult-iView.
    The only problem is that the client requested that the searchResult iView should initially be collapsed. So we set its "initial display" property to "collapsed" and implemented some javascript functionality in the search iView that expands the searchResult iView when a search is performed:
    function openIview( iviewID ) {               
      var temp = parent.pageSupport._getIvuPageId(iviewID);
      var ivuBankObj = parent.pageSupport._getIViewBank(temp);
      if (ivuBankObj.getToogle() == 0) {
        var trayid = ivuBankObj.getTrayId();
        var event = document.createEventObject();
        event.type = "click";
        if(parent.htmlb_TrcToggle(trayid,'0',event)) parent.pageSupport.ivuToogle(iviewID);
    We then fire an event:
    EPCM.raiseEvent('...', 'SearchEvent', param, '');
    All works fine, except for the very first time the searchRersult iView is expanded after the application (meaning the page containing the iViews) has been opened. The searchResult iView is properly expanded, but the event seems to get lost so that no search is being performed (no error, but no reaction by the iView).
    We observed that it seems as if the contents of the iView are only fetched by the browser when it's expanded for the first time. (The progress bar of the browser shows loading activity when expanding the iView for the first time). Supposedly the event gets lost because the serachResult iView doesn't fetch it since it's just being loaded.
    After this initial erroneous behavior, the iView can be in compressed or expanded state before a search is being performed and everything works fine.
    Interestingly enough the problem can be resolved by setting a timeout of several seconds after expanding the iView and before firing the search event. But we find this to be a very questionable (and inconvenient) method of solving this problem and would rather like to solve it properly.
    Does anyone have any ideas how we could achieve this? Is there a way to determine whether an iView has been loaded by the browser (because obviously displaying and loading an iView seem to be two different things)?
    Thanks in advance,
    Jens

    We introduced a boolean "isInitial" flag to the bean which we use to determine whether the iView is expanded for the first time or not. If so, there is a timeout of 2 seconds before the event is fired.
    Not really satisfactory, but working.
    Jens

  • How to guarantee that an iView in the framework will run before the TLN?

    Hello,
    I have developed an iView that I would like to put in the framework. I would like to guarantee that :
    1. This iView will run before the top level navigation one runs.
    2. This iView will run only once per session.
    Any suggestions...?
    Roy

    Hi Roy,
    ad 1)
    The method is there. Maybe your wizard in NWDS is not creating it automatically. After all - it's just a wizard.
    The method is already implemented in your super class. Just type 'super.' and your IDE will show you the method.
    Now overwrite it. And implement your code.
    That's Java. Cool!
    ad 2)
    Whenever you send a request to the portal a component called 'Request Manager' is involved.
    This Request Manager builds up the whole structure of your page, the so called POM-tree.
    (POM stands for 'Portal Object Model').
    This tree contains all iViews the page is build of.
    The iViews may be structured (i.e. within pages). That's why the POM is a tree and not just a list.
    The Request manager determines all the iViews and their structure before they get rendered/called/processed.
    If all iViews are determined their doOnNodeReady Methods and their doOnPOMReady methods are called. See the link contained in my first answer
    They are called one by one as they are stored hirarchically in the tree.
    If all doOnNodeReady and all doOnPOMReady Methods have been processed, the rendering of the iViews starts
    This is done by calling the doContent method.
    HTH,
    Carsten

  • IWDPageService return empty iView

    Greetings,
    I have WebDynPro Java iView and a non-WebDynPro iView that is attached a portal page. In the the WebDyn Pro Java iView, I have tried execute code to call portal service (page service) in order to get information of how many visible iView in the particular portal page and try to hide the non-WebDynPro iView from the portal page.
    Problem:
    After the execute the code below, the iView name array contains nothing (length equals to zero). I expected the length be 2 (as it contains 2 iView).
    IWDPageService pageService = (IWDPageService)
              WDPortalUtils.getService(WDPortalServiceType.PAGE_SERVICE);
         if (pageService!=null){     
              // String array receives iView names
              String[] iViews = pageService.getVisibleIViews();
                    *// iViews length is 0*
              if (iViews!=null){
                            pageService.hideIView("Details");
    Note:
    Sharing reference for page service is not set in the WebDynPro component as written in the SAP article.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d2/0357425e060d53e10000000a155106/content.htm
    I would like to know why does this happen.

    Your help is really appreciated. However, the links given does not solve my problem because
    i)   The web dynpro application, non web dynpro application and portal are running in same machine.
    ii)  The version of SAP Netweaver Portal is version 7
    iii) As instructed by SAP, I can ignore the step to set the sharing reference in the web dynpro component.
    Since all the IViews are already preset into a page as delta link, I don't see any reason that I cannot obtain all the iviews name that are visible to that portal page via the code below:
           IWDPageService pageService = (IWDPageService)
              WDPortalUtils.getService(WDPortalServiceType.PAGE_SERVICE);
         String[] iViews = pageService.getVisibleIViews();
            // iViews length equals to 0 eventhough there are two iviews attached and showed on the page

  • ESS CATS IVIEW ACCESS

    Hello,
    We have an ESS role with the CATS Iview. We wants to deny the access to this iview for people that don't have a specific status. How we can restrict and disable the acess for the CATS iview wihout creating two roles ?
    Thanks a lot,
    Regards,

    Not sure about hiding but you can show specific error msg. in case the emp doesn't meet certain condition.
    Lets say you have link for timesheet. When employee clicks on it, if he meet certain condition he'll be shown timesheet entry page otherwise an appropriate error msg. This can be achieved using WDNavigation API. Create a new WD app. which has logic to determine whether timesheet iview has to be shown or not. Using WDNavigation API in the application, navigate the user to appropriate page. If he satisfies the condition, navigate to cats iview otherwise show error msg. The iview which you create from this custom WD app. should be inserted in place of existing timesheet iview in the ess role.
    cheers~
    avadh

  • Report to check authorization object used in customized programs

    Hi Guys,
    An auditor came and he raised a question to us, he asked whether all of our customized transactions and programs are maintained with authorization checks? The question is how can we check what authorization objects are used for our customized programs and transaction codes? The developer did not maintain the objects used for that program in SU24 table. Is there a program or a report to show us all the authorization object used for a customised program or transaction? Example : T-code MIGO we can check in SU24 table for all the authorization object used. How do we check for customized tcodes? Please advise. Thanks!
    Edited by: Jarod Tan on Nov 25, 2010 9:42 AM

    Note that some programs are built in such a way that no (visible) auth check is necessary, or even desired at all.
    To determine the necessity of an auth check, you should check that starting it has an entry point (tcode, rfc, service) which is appropriately restricted. The rest (whether and where and how a further check is evaluated) is entirely dependent to what the program actually does.
    Well designed applications generally have centralized functions and methods, and the checks are in there or a "base check" they use.
    Others again use the same in UI programming to determine the visibility of functions, to make the application more intuitive for the user. This on it's own is however not a sufficient auth check to rely on.
    Code review is an art form!
    Cheers,
    Julius

  • Material Ledger Unit Of Measurement different from Material Master

    Dear Team,
    In my client, there is a difference between unit visible in CKM3N and MM03. The base unit of measurement in MM03 is MT. Other than that, there are some other units maintained (not M3) in additional data tab in material master. In CKM3N, the visible unit is M3. M3 is not present anywhere in MM03.
    Why would such unit flow in material ledger table? (CKMLPP has unit M3). Please advise.
    One more observation is that when there is some price change document in Material Ledger, the proper UoM (MT) is being captured. Only in the basic price determination structure visible unit for each head is M3. Please check the attached screen shot.
    Any help would be appreciated.
    Thanks.
    Jay Shah.

    Hi..
    Refer to Data Inconsistency of BUOM in Material Ledger Tables

  • How to acces portal services in webdynpro

    Hi I want to access portal services from webdynpro,  i red that for that we have to  provide sharing reference in webdynpro application. which will be
    PORTAL :< Vendor name>/<Full qualified name of the portal service>
    my question is how to find out vendor name and Full qualified name of the portal service from par

    Hi,
    Web Dynpro applications can access portal services in one of the following ways:
    ●      Directly: The application can get an instance of the service on the machine on which the Web Dynpro application is running.
    ●      Via the Service Factory: The application can request an instance of the service from the service factory. The 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.
    Only services written in a remote-safe manner are available via the service factory. These services include the following portal services:
    Page Service
    Tray Service
    Page Service
    The page service provides information about the page in which the application is running, and enables you to perform the following tasks:
    ●      Getting a list of the atomic names of the visible iViews in the page.
    You may want to use this method to avoid updating the user interface of an iView when it is not visible.
    IWDPageService pageService = (IWDPageService)
        WDPortalUtils.getService(WDPortalServiceType.PAGE_SERVICE);
    // String array receives iView names
    String[] iViews = pageService.getVisibleIViews();
    ●      Hiding/showing iViews in the page
    IWDPageService pageService = (IWDPageService)
        WDPortalUtils.getService(WDPortalServiceType.PAGE_SERVICE);
    // display iView Search
    pageService.showIView("Search");
    // hide iView Details
    pageService.hideIView("Details");
    Changes to the visibility of iViews are not saved. When a user refreshes the page, the original settings are restored.
    Tray Service
    The tray service enables you to add a menu item to an iView or page tray, and to specify a Web Dynpro action to execute when the menu item is selected.
    The following is an example of adding an iView and page menu item:
    IWDTrayService trayService = (IWDTrayService)
        WDPortalUtils.getService(WDPortalServiceType.TRAY_SERVICE);
    if (trayService != null) {
        // Add iView tray menu item
        trayService.addIViewItem("addItemComment", "Add Comment",
        wdThis.wdGetAddItemCommentAction(), null);
        // Add page tray menu item
        trayService.addPageItem("addItemComment", "Add Comment",
        wdThis.wdGetAddItemCommentAction(), null);
    Generally, tray menu items are added in the wdDoModifyView() method. Make sure to add the menu item once; otherwise, duplicate menu items are displayed.
    Procedure
    This section describes how to call a portal service.
    For services whose interfaces are provided by Web Dynpro (such as IWDPageService and IWDTrayService), you do not need to perform Steps 1 and 2.
           1.      Make a sharing reference to the service, by doing the following:
                                a.      Right-click the Web Dynpro development component or Web Dynpro project, and select Properties.
    The Properties dialog box opens.
                                b.      From the left pane, select Web Dynpro References.
                                c.      In the Sharing references tab, add a reference to the portal service with the following format:
    PORTAL:<Vendor name>/<Fully qualified name of the portal service application>
    For example, the following shows a reference to the navigation service:
    This graphic is explained in the accompanying text
           2.      To build the project, add the JAR file containing the service to the classpath of the project in the IDE.
    Do not store the JAR file of the service in the libfolder of your development component or Eclipse project. This causes classloader problems at runtime.
           3.      Get an instance of the service.
    To call a portal service directly, without the service factory, call WDPortalUtils.getServiceReference() with the key for the service, as in the following example:
    IUserObjectBasedNavigation obnService = (IUserObjectBasedNavigation)
        WDPortalUtils.getServiceReference(IUserObjectBasedNavigation.KEY);
    To call a portal service via the service factory, call WDPortalUtils.getService() with the WDPortalServiceType constant for the service, as in the following example:
    INavigationService navService = (INavigationService)
        WDPortalUtils.getService(WDPortalServiceType.NAVIGATION)
    If more than one Web Dynpro controller needs to use the same portal service, you can store the portal service reference in a controller context node. All other controllers that need to use the service must define a context node and map it to the context node with the service reference.
    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.
    Refer This Link for More Information:
    [http://help.sap.com/saphelp_nw04s/helpdata/en/d2/0357425e060d53e10000000a155106/frameset.htm]
    I Hope This Information Might Be Helpful For you.
    Regards,
    Sharma.

Maybe you are looking for