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...

Similar Messages

  • Regarding TreeItemType and Non Modal window in WDA

    Hello Guys,
    I am showing data in tree format in WDA and handling onAction event of TreeItemType. whenever user is clicking the last node in hierarchy (UI element TreeItemType), I am navigating to detailed view.
    the problem I am facing is that user is expanding the tree and selecting the child node to navigate to detailed view and now when he comes back to initial view, entire tree gets collapsed. and this leads user to again expand the tree.
    Is anyone have idea on this problem. I wanted my first view to be same after user navigates to 2nd view and comes back to 1st one.
    apart from this I have below question,
    1) In WDA, we cannot have non-modal window. Correct?
    2) If we call external window within WDA then the same application will not work in portal environment (WDA iView). Please let me know if this is correct?
    Thanks,
    Chandra

    Hallo Chandra,
    What you do when the control returns from view-2 to view-1 ? . Tree is not collapsing itself i suppose. Some how ,Contexts are being manipulated or node is invalidated forcing supply function to call.
    You could save the lead selected item before you navigate to view-2. When you come back again position the correct item.
    > 1) In WDA, we cannot have non-modal window. Correct?
    In what context you mean ? you can have external_window or link_to_url.
    If you mean popup then it is not possible to have non-modal.
    > 2) If we call external window within WDA then the same application will not work in portal environment (WDA iView). Please let me know if this is correct?
    This is correct.

  • How lock or hide URL LOCATION in a external windows WDA

    Hello guys...
    I am traying to hide or block the URL which i am using in a external window. I have coded this:
       call method lo_window_manager->create_external_window
    exporting
       url            = lv_url
       modal          = abap_true
       has_menubar    = abap_false
       is_resizable   = abap_true
       has_scrollbars = abap_true
       has_statusbar  = abap_false
       has_toolbar    = abap_false
       has_location   = abap_false
    receiving
       window         = lo_window2.
    *lo_window2->open( ).
    But, firstly the MODAL parameter doesn't work with external windows (It's Obsolete) So I can't use it, because I have to forbid the navigation between windows. I tried to close the main windows before open URL but it doesn't work either.(Appear a waring that you window wants to be closed) so then I used that:
      lo_windows->fire_exit_url_plg(
        url = lv_url                              " string
      lo_windows =   wd_this->get_windows_ctr( ).
        lo_windows->fire_exit_close_plg(
          close_window = 'X'                     " wdy_boolean
    That is Ok BUT I can't BLOCK the URL or even HIDE it. SOMEBODY give the light.!!!!! pleaseee..

    You are complexing with 2 problem with 2 options.
    1. Blocking url on the external window
    2. Closing the previous window.
    1. parameter model is indeed obsolete, so only has location parameter  would help you to block the URL and it will not work for the requirement 2.
    2. When you use exit plug and navigate to new URL, your window would close but new window would not open with address bar blocked.
    No solution is fitting for your both requirements.
    Probably you have seen this example application WDR_TEST_EXIT_WITH_CLOSE
    See if it fits in your case.

  • Advice on which Mac laptop to buy / Advice about using WIndows on it.

    I'd appreciate some advice on which replacement laptop to get for someone in my family who just needs e-mail, the Internet, and iPhoto--something simple, small, and portable, like the iBook or the MacBook Combo. However, he has just complicated matters by saying that he'd like to be able to use Windows on his new computer (yech).
    I don't know anything about using Windows on a Mac, not even whether this feature is now built into all Macs or not. A recent post I found on virtualization (February, 2006) quotes Microsoft as saying that Virtual PC won't run on an Intel-based Mac (MacBook), though it will on the iBook and the Powerbook.
    Here are the questions I'm trying to answer: (a) Is running Windows on the MacBook Combo an issue? If Microsoft doesn't make virtualization for the MacBook, are there other companies who do? (b) Are there features/lack of features on a MacBook that mean it makes more sense to get the least-expensive iBook instead or vice-versa? Again, simplicity and ease of use are the goal here, not state-of-the-art technology. (c) Can you even buy a new iBook or Powerbook any more, since the Apple website seems to feature only the MacBook?
    Thanks in advance for suggestions about any of this!
    Powerbook G4   Mac OS X (10.3.9)   15"

    For what your
    family member want to do the 1.83GHz MacBook will be
    just fine. Just be aware that if they want to write
    DVDs at any time they will have to purchase an
    external DVD writer.
    As for Windows, there are two options for running
    Windows on a …
    1) Use Apple's software, Boot Camp…
    http://www.apple.com/macosx/bootcamp/
    … which provides the ability to use you MacBook as a
    Windows computer. Please note that a restart will be
    required and only one OS will be available at any one
    time. Additionally it is suggested that at least a
    20GB larger drive be purchased to accomodate the
    Windows partition.
    2) Use Parallels…
    http://www.parallels.com/
    … which uses Virtualisation Technology. This allows
    Windows to be used under Mac OS X just like Virtual
    PC did with the PowerPC Macs. While this is far more
    convenient it's performance does not match that of
    Boot Camp although it is still rather snappy for more
    requirements. It does vost money where Boot Camp is
    free. Again, a larger drive is recommended.
    For both Parallels and Boot Camp Windows will operate
    at native PC speeds so do not consider an iBook or
    PowerBook.
    Thanks, that's helpful. One more question, now that I've looked at the MacBook more carefully: We use dial-up for e-mail and the Internet; this works very well for us and we have no immediate plans to change. Since the MacBook has no internal modem, would you or anyone else reading this say the Apple USB external modem works as advertised?
    I see that the Apple USB modem gets very mixed reviews--some people say it's fine, others seem to find it slower than the internal version, and several think it's a piece of junk.
    Would you (or anyone else reading this) have any experience using the Apple USB modem for dial-up connection? [That's not meant to be an insult. :-)] Would we now have to expect our dial-up connections to be slower than before? Or do we just have to be sure we have the right settings, compatible server, etc.? Or is the problem Apple's product, and would a 3rd-party product work better?
    Powerbook G4   Mac OS X (10.3.9)   15"

  • Create External Window in Webdynpro for Abap

    I am creating an external window using method CREATE_EXTERNAL_WINDOW.  The componentcontroller context and the assistance class attributes are not available in the Handledefault method of the external window.    Is there a way to pass data to the external window without using URL parameters?
    Thanks
    Cindy

    >@Thomas: with all your wonderful eLearnings on WDA is there one which covers this in any depth? As it would be nice to point people to it.
    No I can't say that I have ever created something specifically on this.  The ACFUpDownload example is closest simply because I use the cache table is a similiar way, althought I hesitate to recommend that eLearning in this situation becuase that aspect isn't central to the eLearning and it might just confuse things further.
    >don't forget about the possibility of database persistence of the data either -
    That was actually what I was talking about in server cookies as well. Server cookies are something that was originally created for BSP, but work fine in WDA as well.  They are just a cluster table where you can store any data you want and access in another session via a key. The nice thing about server cookies is that there is already a help class for read/write and batch job that can be scheduled to clear out expired entries.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/2a/31b97b35a111d5992100508b6b8b11/frameset.htm

  • Doubt about webDynpro windows

    HI Experts,
    I have small doubt about webdynpro windows.
    1) If i have only one application in webdynpro DC , what is use of using multiple windows.
    2) If i have multiple windows in a DC which has single application, how i can i navigate between windows?
    3)if i have multiple applications with multiple windows, then how will i know which window belongs to which application.
    4)If i have multiple windows and multiple applications, then how can we navigate between windows? It means navigation betn windows and navigation betn applications...?
    Please explain me, i browsed in SDN, i found the threads but they are explaining my doubts exactly
    Thanks in advance.
    Regards,
    Bala

    Hi.
    Simply the Window is part of Web Dynpros public interfaces, and are needed whenever you want to access a graphic component from outside of your web dynpro component.
    Web Dynpro uses the MVC design pattern. Model View Control.
    In order to reuse components, Web Dynpro exposes the View and Controller to the outside world.
    Internally the View and Control in MVC is just that:
    Views
    Component Controller and Custom Controller.
    Externally the View and Control are exposed as
    Interface Controller and Interface Views. The Interface View is the external part of a Window. (When a Window is created, an associated Interface View is created).
    So, to be able to actually see anything from a Web Dynpro application. The browser would access a Interface View that opens the Window with some view in it.
    An other example is that you have two Web Dynpro projects, where the first one have a View with an integrated view from the second Web Dynpro. The integration would be through the Interface View again.
    Internally in your Web Dynpro component, you can use the views directly (i.e. navigate between views).
    Opening an external popup would generate a new browser window. In order for the new browser window to display anything it would need to access an interface view. That's why you need to create a separate Window when you want to use a popup.
    Regards.
    Edited by: Mikael Löwgren on Feb 15, 2008 12:58 PM

  • 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.

  • Display a document pdf in an external window (WD ABAP)

    Hi all,
    I have an application <u><b>Web dynpro Abap</b></u> and it adds articles in a alv component that it is a purchase basket.
    This alv has a user function what opens a document pdf (interactiveForm)
    that shows the lines of the order. I would like that this pdf be displayed in an <b>external window</b>, and it was  independent of the window of alv of the purchase basket.
    This is possible. If it is possible, how can I do it?
    Regards,
    Ana

    hi
    good
    go through these links, which ll help you to give a clear idea about creating of the external window.
    http://help.sap.com/saphelp_nw04s/helpdata/en/0f/134540631d6f13e10000000a1550b0/content.htm
    thanks
    mrutyun^

  • Application lock on open external window

    Hi everybody,
    I have problems with opening a new browser window pointing to a folder on the network.
    If the user has access to the folder everything is working fine.
    If the user has no rights to access the folder, the user gets an error message and the window stays empty. After clicking okay on the error message and closing the window the  user can continue working in the application.
    If the folder which should be display does not exist the user gets an error message.
    After clicking oay on the message he can return to the application. But there the 'progress circle' is still running and it cannot abort or do anything! The user has to close the application and login again.
    Is there a way to handle the external window in any way after having it opened and the calling method was left?
    Any hint or advice is highly appreciated!
    Best regards,
    Roland

    Hi,
    Do this way... So that there will not be a minimise option, close option. and control will be there inside the Window and till the time user closes the window he cannot perform any actions on any other screens.
         //Added below code to open a new window
              IWDWindowInfo info =
                   wdComponentAPI.getComponentInfo().findInWindows("WD_vendorTable");
    //Where WD_vendorTable is a window with the desired view embedded inside it.
              IWDWindow win =
                   wdComponentAPI.getWindowManager().createModalWindow(info);
              wdContext.currentContextElement().setVa_VendorWinName(win);
    //Save this window information in a context variable(declared at component level and mapped to the parent view and to the window(child) view)
              win.setWindowSize(300, 300); //Desired window size
              win.setWindowPosition(600, 100); //Desired window position (from top left cornor)
              win.setTitle("Vendor Details"); //Desired window title
              win.show();
    To close this window
    create a button inside it and inside the button's action
    IWDWindow win=wdContext.currentContextElement().getVa_AssetNoWinName();
    win.destroyInstance();
    Regards,
    Srinivas.

  • Opening External Window in Web Dynpro ABAP with URL disabled or Hidden

    Hi Experts, I have a requirement where-in we want to open the Web Dynpro ABAP application using tcode WDYID (by passing the application name  and startmode), but the URL of the newly opened explorer should be disabled or hidden. To achieve the same, I have created a component (lets name it PARENT) and inside that in DOMODIFY/DOINIT method have written code to invoke the required WDA (lets name it CHILD) in external window (by using lo_window_manager->CREATE_EXTERNAL_WINDOW) and is successfully able to open the application with URL disable using different parameter of method CREATE_EXTERNAL_WINDOW. But in this case there are 2 window which opens, one is for PARENT view and other is for CHILD. Now I only want to keep the second view (CHILD) to be opened and want to close the PARENT view. When I used EXIT_PLUG to close the PARENT window, it closes both the window. Need your inputs on my approach or if you have any. Regards, Harish

    Hi,
    If you open the popup, it opens as Modal Window, originating from Parent window. Without external window( where you can pass has_location = abap_false ), you cannot hide the URL/Address bar.
    If you want to partially hide the URL( if you dont want to show the full URL with application path), you can create an Alias for the service in SICF.
    Go to SICF, and create an alias for your WDA application; say original URL: domain:port/sap/bc/webdynpro/sap/<ZAPPLICATION_NAME>
    This URL you can convert( partially hide) as, domain:port/sap/<ANY_NAME>
    Refer creating Alias in this help: http://help.sap.com/saphelp_sem320bw/helpdata/en/55/361a3c9c004866e10000000a11402f/content.htm
    Hope this helps u,
    Regards,
    Kiran

  • Close external window from source application

    I am trying to close the external browser window from the source application (wda). But it seems that I am unable to close from the source window, just by calling close method. This close method has a parameter '  control_to_focus_id' . I am not sure what exactly it needs to be filled with.
    But anyways these act like two separate sessions and can't communicate any longer.
    Is there a way for me to control the external window and close on some user action at source/
    Any inputs would be highly appreciated.
    Thanks

    Hi,
    External window is independent of source window, you cannot control it from source application. May I know what is your requirement!
    Regards,
    Kiran

  • Hiding URL in the title bar of external window

    Experts -
    Scenario:
    On click of 'LinkToAction' element, we are opening up a pdf document (stored on portal content server)
    in an external window, using:
    CALL METHOD LO_WINDOW_MANAGER->CREATE_EXTERNAL_WINDOW
        EXPORTING
          URL            = LV_HOSTNAME
          TITLE          = 'My Title'                             "Does not work
          MODAL          = ABAP_FALSE
          HAS_MENUBAR    = ABAP_FALSE
          IS_RESIZABLE   = ABAP_TRUE
          HAS_SCROLLBARS = ABAP_TRUE
          HAS_STATUSBAR  = ABAP_FALSE
          HAS_TOOLBAR    = ABAP_FALSE
          HAS_LOCATION   = ABAP_FALSE
        RECEIVING
          WINDOW         = LO_WINDOW.
    We have a requirement to hide the location bar and the title of the window (in which the PDF is displayed). We are able to hide the location bar but the URL still appears in the title bar.
    We have tried the following code to set the title, but it is not working.
    CALL METHOD LO_WINDOW->SET_WINDOW_TITLE
      EXPORTING
        TITLE  = 'My Title.                    "Does not work
      LO_WINDOW->OPEN( ).
    Any help on how to achieve this will be appreciated.

    This is not a web dynpro restriction - but one that has been brough about by the browser designers.
    Because of the number of people falling to phishing attacks the designers of browser have all decided to always show the URL of any popup HTML windows. This stops malicious pop-ups from pretending to be something they are not and stealing user's data.
    If the world were a nicer place you could have your pop-up without the URL - but it isn't and it's probably better that your users have a least a little help in identifying if they are being scammed.
    Cheers,
    Chris

  • Close External Window in Web Dynpro Application

    Hi Folks,
    I am working on a development in Web Dynpro and I am pretty new to this topic, so I seek your help.
    The scene is:
    I have created a Web Dynpro application in which I open an URL using CREATE_EXTERNAL_WINDOW method of the Window Controller. I am able to open the window but not able to close it.
    I tried using methods,
    CLOSE()
      and
      SET_CLOSE_IN_ANY_CASE()
      but no success.
    Please guide me if anything more needs to be done for closing the opened window.
    Thank you.
    Sud.

    Thank you Thomas,
    You correctly pointed out, I was trying to close the external window from my source window.
    More precisely, I have a WD application which has a button (Search) on one of its views. On click of 'Search' button, I open a new window using 'CREATE_EXTERNAL_WINDOW' passing the URL 'www.google.com'.
    Till this point its fine, but now I want to close this newly opened window. As you said now these are 2 different sessions and cannot communicate anymore, so any guidance how to close this new window?.
    OR
    Is this the only way to call an URL i.e using CREATE_EXTERNAL_WINDOW? Is there any other way to call an URL without closing my current running WD application?
    Request your  help......
    Thanks.
    Regards,
    Sud....

  • Closing an external window

    Hello,
    I would like to close an external window dynamically by calling the method
    lr_myextwin->close( ) when some event occurs.
    This does not seem to work since the opened external window is still open...
    Ofcourse it is possible to manally close the external window, but I would like it to happen dynamically.
    Can any brief me in, if it possible.
    Cheers,
    Gerald

    Hi Jagruti,
       Its possible to close the external window dynamically.What you have to do is , while creating the external window instance, save the instance in the component controller as an attribute .
    Which means create an attribute in the component controller of type IF_WD_WINDOW ( In this case i have created LO_POP_UP ).
      l_cmp_api = wd_comp_controller->wd_get_api( ).
      l_window_manager = l_cmp_api->get_window_manager( ).
       CALL METHOD L_WINDOW_MANAGER->CREATE_WINDOW
         EXPORTING
          MODAL                = ABAP_TRUE
           WINDOW_NAME          = <WINDOWNAME>
          TITLE                =
          CLOSE_BUTTON         = ABAP_TRUE
          BUTTON_KIND          =
          MESSAGE_TYPE         = IF_WD_WINDOW=>CO_MSG_TYPE_NONE
          CLOSE_IN_ANY_CASE    = ABAP_TRUE
          MESSAGE_DISPLAY_MODE =
          DEFAULT_BUTTON       =
         RECEIVING
           WINDOW               = l_final_window
    When you get the instance of the window.Save it in the component controller attribute.
    wd_comp_controller->LO_POP_UP = L_FINAL_WINDOW.
    CALL METHOD L_FINAL_WINDOW->OPEN
    At later point of time , you could get this instance from compenent controller and you can call that in your method whenever and whereever necessary , so that you could close the window in a smooth fashion.
    mywindow = wd_compcontroller->LO_POP_UP
    mywindow.close().
    Thanks
    Anzy.
    mark this thread as closed if this solves your problem.

  • Webdynpro application can't display a URL iView in a new External window

    Fellow developer:
    In my WD4A application, I called the method 'navigate_absolute' to display a URL iView in a new External window.
    The code is as follows:
    data lo_portal_manager type ref to if_wd_portal_integration.
    call method lo_portal_manager->navigate_absolute
    exporting
      navigation_target = 'ROLES://u2026'
      navigation_mode = '1'.            ('0' - Displayed in the Same Window, " '1' - Displayed in a new External Window)
    The application can display the iView in the same Window (navigation_mode = '0'), but cannot in a new External window (navigation_mode = '1').
    In the iView properties, the following attributes are set to:
    1. Launch in New Window - Dipslay in Separate Window
    2. Open iView Links in New Window - Yes
    If you know the answer, please advise.
    Thanks
    Bac Quan

    hi,
    i have the same problem. Did you solve it?. Please let me know...
    regards,
    MC

Maybe you are looking for

  • How to Delete the Previos Month Forcast/Demand

    HI Experts We have Put some forcast and Demand in the month of april and May in my MRP list still I can able to see the forcast. becz we have not consumed that forcast. Can any one tell me how to delete, or how to set to dele

  • TREX 7.10rev8: Error during language selection

    Hello, As part of the TREX Post-Installation steps, I want to tell the TREX which languages it should consider in Automatic Language Detection. Currently, all available languages are selected and I want to reduce this to English and Dutch. When I mak

  • LDAP sync is not updating any changes/deletion ?

    In our environment we have OIM 11.1.1.3 and we have enabled LDAP sync with OID. Any user created on OIM is getting synced to OID. The problem is when we are making any changes to the attributes of the users or deleting a user the change are not getti

  • Changing Label color of Checkbox

    Is there a way to change the text color of a Checkbox in Interface Builder? Mine is stuck on the color Black. I could remove the Checkbox label and add a normal label that can be colorized but that is a bit of a pain to deal with. thx!

  • Bass Clef C key not working on midi keyboard

    The keyboard is a Novation Remote 37SL, this key doesn't work for any instrument that I select. All other keys work fine. I haven't had any problems like this before, but wonder if setting up my autoload yesterday might have led to this. Any suggesti