External Window with context sharing

Please, does anybody know if it is possible to have more than 1 browser window running the same application (sharing the context)?
Thank you.

Hi,
Please try to use the method.
IF_WD_WINDOW_MANAGER=>CREATE_EXTERNAL_WINDOW as follows:
DATA: l_window_manager TYPE REF TO if_wd_window_manager,
          l_cmp_api        TYPE REF TO if_wd_component,
          l_window         TYPE REF TO if_wd_window.
    l_window_manager = lr_comp_api->get_window_manager( ).
" lr_comp_api is Type Ref To     IF_WD_COMPONENT.
    CALL METHOD l_window_manager->create_external_window
      EXPORTING
        url            = lv_url
        has_statusbar  = abap_false
        has_toolbar    = abap_false
        has_location   = abap_false
      RECEIVING
        window         = l_window
    l_window->open( ).
Still sharing the same context might not be possible as a new instance would be created.

Similar Messages

  • Create external window with webdynpro application

    Hi,
    is it possible to create an external window with another application?
    The method if_wd_window_manager~create_window_for_cmp_usage would be great. But this method create only a modal popup.
    Greetings
    Marcus

    Hi,
    We can create external window  using below method.
    lo_api_component   = wd_comp_controller->wd_get_api( ).
      lo_window_manager  = lo_api_component->get_window_manager( ).
      lo_window          = lo_window_manager->create_external_window(
            url          = l_url( "URL of the webdynpro application")
            title        = 'Submitted candidate'
            has_menubar  = abap_false
            has_toolbar  = abap_false
            has_location = abap_false  ).
      lo_window->open( ).
    Regards,
    Lakshmi.

  • Drop Down Menu - 3rd Level iView open in new external Window with parameter

    Hello Community,
    we have the following problem: We have created some drop down menu for the portal navigation. Some iViews we are going to open in new Window. Therefore the iViews are getting some parameters like: menubar=no, toolbar=no, resizable=yes, status yes....and so one....And also the iView has fixed height and width.
    Now when we are going to open the iview in the second level position, everything is working fine and the window functions are also used.
    When we change the position of the iview from an second level position to an third level position, and we want to open the iview from the drop down menu, the window functions and the size is not used.
    Can some one help? I have attached the JSP Code:

    [JSP File|http://www.megaupload.com/?d=R7YLTTKX]

  • Open modal window with extern URL?

    Hello,
    how can I open a modal window with a external url?
    e.g. I want to open Google, but WD Code should stop and the google window is in front of my portal until it is closed. Then WD code continues.
    WDPortalNavigation.navigateAbsolute(..) can't open a modal window, right? WD Source Code keeps running...
    Can I open a WD-Window with context from a external URL?
    I would be grateful for any help!
    Best regards
    Iris Deuring

    Hi,
    Create an action for a button and write this code in that.
    IWDWindow window =
          wdControllerAPI.getComponent().getWindowManager().createExternalWindow(
            "http://www.google.de",
            "Google - Search for an email address",
            false);
        window.open();
    Hope this help.
    Regards,
    Nagaraju Donikena.

  • Error with context mapping

    Dear All,
    I am a novice to webdynpro. I have tried to create a program using MVC concept. Here is the below components that I have created while
    I was referring to an example mentioned in WEBDYNPRO ABAP by U Hoffmann.
    I have encountered a run time error which I am not able to resolve. Can anyone please help me out in this regard.
    Below is the error description I have received.
    Node UNITS Is Already Mapped.
    Below is the description of the components that I have created.
    Component 1- Model Component Contains the ROADMAP context node and 'UNITS' context node. This Units context node further has a tree structure with lower level node containing from and to unit nodes. I have provided a supply function for these 2 lower level nodes. Also I have declared the units context node as Interface node.
    Component 2- View Component_Sub
    This component contains the Units context context node and a view which is embedded in the window.
    Component 3- View Component_main
    This component contains the same Units context node and a roadmap node declared in component 1.
    I have created a view which uses roadmap node. Also it contains a view container UI element. In window section I have embedded the view of Component 2.
    Context node Units of component 3 is externally mapped with context node of component 2.
    Component - 4- Main Component.
    Again this contains same context nodes as mentioned in component 1 which is mapped to the context node of Model Component.
    Data from Component 1 is externally mapped with context node of Main component. Context node of Main component is again mapped with context node of Component 3.
    When I execute the program. I am the error as 'NODE IS ALREADY MAPPED'.
    Sorry If I have repeated the same problem mentioned in another thread.I have searched for this particular problem on internet and could not find any solution for this.
    It would be of great help if someone can provide me the solution for this problem.
    Thanks in advance.
    Regards,
    Girish

    Hello,
    There should be something that could correlate the Invoice_Header/Key and Invoice_Line/Key. In your example, both are the same for the first and data set. If the sample looks like the one below, it is possible to sort things by correlating the Invoice_Header key and Invoice_Line key
    <Invoice_Header>
      <Key>000<Key>
    </Invoice_Header>
    <Invoice_Line>
      <Key>000<Key>
    </Invoice_Line>
    <Invoice_Line>
      <Key>000<Key>
    </Invoice_Line>
    <Invoice_Header>
      <Key>001<Key>
    </Invoice_Header>
    <Invoice_Line>
      <Key>001<Key>
    </Invoice_Line>
    An example mapping could look like this
    For Header
    Invoice_Header --> Header_Invoice
    For Line
    /InvoiceLine/Key --> removeContext --> splitByValue:valueChanged --> Invoice_Line
    The subfields of the invoice line would also follow a similar logic, you just need to use formatByExample --> splitByValue:eachValue so that the context levels are the same.
    Hope this helps,
    Mark

  • Create external window in Web Dynpro Java

    Hello experts,
    I am new in web dypro java as well as enterprise portal. I have a problem concerning external window.
    I have created a button in my ivew in web dynpro java. By a click on this button, I would like to open an external window with a specified URL(ex: www.google.com).
    Could you help me how to do it please?
    Thanks in advance,
    Sengly

    Hi experts,
    I have found the solution. Thanks to this link and thanks to all:
    [Problem with linkToURL in a table column|Problem with LinkToURL in a table column;
    best,
    Sengly

  • Printing Non Modal External Window - print out additional blank page

    Hi All,
    I am printing out a content of a web dynpro view as a non modal external window with the browser print functionality.
    Even if the content of the web dynpro view is not more than the half of a page the browser print functionality prints 2 pages. The second page is a blank page.
    I tried to change the external window size in web dynpro, but it is still printing 2 pages.
    How can I set / configure the browser print functionality, so it prints only the page that contains the web dynpro view content?
    Thanks,
    Yasar

    Hi,
    I'm guessing the concurrent program is outputting text (character mode) as opposed to PDF?
    This could be a number of reasons:
    1. Printer driver issue, e.g. the number of lines printed on the page is more than is defined for the printer driver: Try reducing the "Rows" on the current program definition
    2. Printer PRT issue, extra page break could be being inserted.
    3. The "box" in the report definition containing the address could be being expanding due to the extra address line, but not enough space so it forces a new page to be printed.
    Gareth
    Blog: http://garethroberts.blogspot.com
    Web: http://www.virtuate.com

  • Again about External Window in WDA

    I have some troubles with running new processes in E-Recruiting.
    It is necessary to run my process when I'm pushing the button in the requisition form. I'm creating external window with method CREATE_EXTERNAL_WINDOW and after that my process is running. This chain is workable. But when I'm closing this window with my process there is no new small window which displays that the session is completed.
    Call method:
      call method lo_window_manager->create_external_window
        exporting
          url            = lv_url
          modal          = abap_false
          has_menubar    = abap_true
          is_resizable   = abap_true
          has_scrollbars = abap_true
          has_statusbar  = abap_true
          has_toolbar    = abap_true
          has_location   = abap_true
        receiving
          window         = lo_window.
    I don't find any usefull parametrs in this method.

    Sorry I might be about to be rude,
    But are you/your users crazy? They actually will complain if a session termination popup doesn't appear? You must have the most observant and tech aware end users in the world. Most of the users I deal with install pop-up blockers that stop the portal session termination popup - the ability to deal without it in WDA was a blessing. If your users are really that "aware" of session management then explain to them that WDA handles this within the same window.
    I really cannot understand this improvement in functionality offered by WDA is a problem...

  • Create Popup or external window

    Hi,
    I have some code in wdDoInit() of View. Before view completely loads, I require to popup a dialog box or external window with a message.
    Is this possible to create Popup or external window from the first view of the application, such that the popup appears first and then the rest of the view loads?
    Presenty I do not get any popup even though I have done coding for the same and straight away the view appears.
    Thanks
    Anagha
    Message was edited by:
            Anagha Jawalekar

    Hi Anagha,
    First go to the Method tab of view and create two Event handlers (“Ok” and “Cancel”).
    Then try this code inside wdDoInit() of view.
         String dialog = "Do You Want to Continue? ";
         IWDConfirmationDialog confDialog = wdComponentAPI.getWindowManager().createConfirmationWindow(dialog,wdThis.wdGetAPI().getViewInfo().getViewController().findInEventHandlers("Ok"),"OK");
         IWDEventHandlerInfo CancelEventInfo = wdThis.wdGetAPI().getViewInfo().getViewController().findInEventHandlers("Cancel");
         confDialog.addChoice(CancelEventInfo,"Cancel");
         confDialog.show();     
    Check this links.
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/0f/134540631d6f13e10000000a1550b0/frameset.htm">Creating an External Window</a>
    Generic Search
    Re: opening a new window on lead select in a table!!!
    Re: close a pop-up window
    Regards,
    Mithu

  • Modify URL of an existing opened external window

    I need to reset the URL of an external window opened by the application without destroying the and re-creating it.
    Thanks.

    Thanks for the responses.
    Valery, the destroy() is deprecated.
    Betram, the LinkToURL works with regard to maintaining single external window with url being modified as needed.
    However, this solution requires user to click on the UI element of LinkToURL. Mixing the LinkToURL UI with btns, in my case, is not desirable. Is it possible to make the LinkToURL UI hidden and trigger it via a Btn? The properties of LinkToURL doesn't seem to include OnAction...

  • Open external window / window size

    Hello,
    is there a possibility, to open an external window and change the browser to fullscreen mode?
    Regards

    Hi,
    Check this code for Calling the External window with in the application.
    DATA: l_cmp_api           TYPE REF TO if_wd_component,
             l_window_manager    TYPE REF TO if_wd_window_manager,
            window_result type ref to IF_WD_WINDOW.
      l_cmp_api           = wd_comp_controller->wd_get_api( ).
      l_window_manager    = l_cmp_api->get_window_manager( ).
    *  IF wd_this->m_popup1_1 IS INITIAL.
        wd_this->m_popup1_1 = l_window_manager->create_external_window(
                 url  = 'ur URL
    *              title          = 'My Report 1'
    *  ENDIF.
      wd_this->m_popup1_1->open( ).
    Here m_popup1_1 is the type of IF_WD_WINDOW.
    Thanks.

  • I have an external hard drive with a shared music folder, which I can access (from Home Sharing) and play music on my Windows computer. On my new Mac, I can see the drive in Home Sharing but not play any music. What's the solution?

    I have an external network hard drive with a shared music folder (WD MyBookLive), which I can access from Home Sharing and play music on my Windows computers. On my new Mac, I can see the drive and the music in Home Sharing but the tracks will not play. All the other authorized computers in my home network show up in Home Sharing and I can play the content. What's the solution?

    Troubleshooting Home Sharing - http://support.apple.com/kb/TS2972

  • Opening an External Window which shares the same context.

    Hi,
    I have a requirement where <b>I need to open an external window which shares the same context</b>. (i.e, A window which belongs to the same application in a seperate browser)
    If I use the following coding <b>it only opens a model window in the same browser</b>.
    IWDWindowInfo winInfo = wdComponentAPI.getComponentInfo().findInWindows("NewWindow");
    IWDWindow window = wdComponentAPI.getWindowManager().createWindow(winInfo,false);
    But if I use wdComponentAPI.getWindowManager().CreateExternalWindow() <b>it could only accept the URL that opens a seperate application with different context</b>.
    Please help me in this regard.

    Hi Anbu,
    Dont feel bad that i am asking you more questions than giving you answers.
    if you just want to show content or let the user enter data or something you can use always popup modal/non modal window.
    External window is used to refer to other website or other applications in otherwords referring other url.
    So your workaround would be relaxing your requirement and redesign your application.
    This is my view point.Probably some other expert sdn'ers might have better one you know.
    Success !!
    BTW- if you decided to follow nagarajan suggession then you have to use URL generator to generate the URL.Using static URL is depreciated and also wont work in your Customer places.
    Message was edited by: Baskaran Senthivel

  • SHaring external drive with WinXP

    Hello,
    I have a 1.25Ghz Mac Mini, with a 120GB external drive connecting via firewire.
    That stores all my music videos and home movies.
    How can I setup that external drive to be shared and accessible to my winXP laptop that is wirelessly connecting to the same home network?
    I can only go as far as allowing sharing for my own username folder.... and I dont want to copy all those movies onto that location.
    Any advice please?

    As a long-time Windows user, I struggled with this on my MacBook, too.
    It's so easy in XP to arbitrarily share a folder, but on OSX, it's for some reason, not possible to share anything but your home folder.
    Get SharePoints from http://www.hornware.com/sharepoints/ . It'll let you share any folder on your Mac.
    It worked for me.

  • Problem with Absolute Navigation (External Window) and Light Framework Page

    Hi All,
    We are using Light Framework page for the portal devolopment. We have an application including two webdynpro iviews where absolute navigation is used to traverse from first iview to second iview (When user clicks a button on first iview). We are showing the second iview in external window (SHOW_EXTERNAL). When ever i clicks the button to traverse to second iview, i am getting an exception.
    When we are showing it in same window (SHOW_INPLACE), it is working fine. But the iview is appeared in half of the page with scrollbars. It is working fine with default framework page (with both options SHOW_INPLACE and SHOW_EXTERNAL) and dispalyed in original size as mentioned in iview properties.
    Could you please suggest us whether there is any work around for this.
    Thanks,
    Sudheer

    Hi Kathiresan
    I couldn't see the address bar of the window (In which second iview is getting displayed). But i can observe no parameters that i passed from first iview is visible in the view source of the second iview (When SHOW_EXTERNAL is used in absolute navigation). I could see all the parameters in the view source (when SHOW_INPLACE is used for absolute navigation). But i am using the same url for both the options (for SHOW_INPLACE and SHOW_EXTERNAL).
    I doubt about the url being passed when SHOW_EXTERNAL option is used. But when we checked in debug, The correct url is being triggered (Atleast from first iview). Is there any way that could display the second window with address bar. What is making difference  between SHOW_INPLACE and SHOW_EXTERNAL with absolute navigation and light framework page.
    Could someone please suggest.
    Thanks,
    Sudheer.

Maybe you are looking for