Close Pop up not working

Dear experts,
we are facing the following issue:
we create an external window using window manager.
wd_this->go_window  = lo_window_manager->create_window(
                      window_name            = 'WI_XXX
                      title                  = XXX
*                      close_in_any_case      = abap_true
                      message_display_mode   = if_wd_window=>co_msg_display_mode_selected
                      close_button           = abap_true
                      button_kind            = if_wd_window=>co_buttons_ok
                      message_type           = if_wd_window=>co_msg_type_none
*                      default_button         = if_wd_window=>co_button_ok
*                      default_button         = if_wd_window=>co_buttons_okcancel
We assigned an action to the pop up ok button.
wd_this->go_window->subscribe_to_button_event(
                 button            = if_wd_window=>co_button_ok
                 action_name       = 'POPUP_OK_XXX
                 action_view       = lo_view_controller "wd_this->wd_get_api( )
                 is_default_button = abap_true ).
Clicking on OK Button, the action fires - the code is working fine.
But: after our code is finished, the screen has to be refreshed. We fired an exit plug of the current window, providing the url of the current application. This is working fine too, but the pop up window is still open and modal, even if we invoke the close method of the popup window directly before fireing the exit plug. In the background we can see the refreshed application, but it is not possible to do anything.
Does anyone have a solution for this?
We tried setting close_in_any_case to true and so on ... but nothing works.
The problem occurs both create_window and pop_up_to_confirm ...
Regards, Florian

Hi,
alright..in this case i would say create your own close btn on the view you are embeding inside this pop-up window and try to close the window in its action method....
here is the code to get rid of all the standard btns:
DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component  TYPE REF TO if_wd_component.
      DATA lo_window         TYPE REF TO if_wd_window.
      lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      lo_window         = lo_window_manager->create_window(
                         window_name            = 'POPUP_WINDOW'
                         title                  = title_txt
*                         close_in_any_case      = abap_false
                         message_display_mode   = if_wd_window=>co_msg_display_mode_selected
                   close_button           = abap_false
*                   button_kind            = if_wd_window=>co_buttons_ok
                         message_type           = if_wd_window=>co_msg_type_none
*                   default_button         = if_wd_window=>co_button_ok
      wd_comp_controller->lo_popup_window = lo_window.
      lo_window->open( ).
Thanks..
AS

Similar Messages

  • I have updated latest version 29.0 firefox in windows 7 machine. All the UI looks fine. Undo close tab is not working for me. Is that not been addressed?

    Undo Close tab is not working in windows 7 for firefox latest version 29.0

    You can do this via CTRL + SHIFT +T as well.
    Can you try to start Firefox in Safe Mode to see if Firefox works properly with no error? You can start Firefox in Safe Mode below:
    *'''Windows/Mac''': Go to Help > Restart with add-ons disabled
    *'''Linux''': Run ''firefox -safe-mode'' in the Terminal/Konsole
    If Firefox opens up fine with no problems, it's probably one of your extensions that's causing the issue. You can re-enable your add-ons one by one until you find the one that causes the issue upon being re-enabled.

  • Why when viewing Hotmail the "Close Ad" does not work?? Unfortunately Tested OK with I.E.

    Why when viewing Hotmails for example the inbox there is a "Close Ad" clickable feature that allows the inbox to go full screen.
    If used the "Close Ad" does not work and there following error is recorded :
    support.mozilla.com : server does not support RFC 5746, see CVE-2009-3555
    I tried it with the Unfortunately Tested OK with I.E.

    Bjorn,
    Can you please tell me what versions of OC4J and JDK you're using, as well as what o/s?
    Thanks,
    -Lee

  • Lion 10.7 / pop mail not working...

    on an intel mac pro... pop mail not working... problems with 110 port connecting to server... any suggestions?

    The only possible way to get my mail working with Mac OS X 10.7.4 was to use Thunderbird (latest version, 13) instead of Apple Mail. I don't know if this was related to my ISP only but I'm surprised that there aren't more discussions about this problem. Apparently, it is very widespread from what my ISP said. They said there is a problem with (or change in) the way Apple Mail handles POP accounts under Mac OS X 10.7.x. They are getting dozens of calls about it every day. My POP account, which worked perfectly under Mac OS X 10.6.8, simply would not retrieve mail under Mac OS X 10.7.4 using the exact same settings. I tried absolutely everything that I could find on the Internet to resolve the problem in order to continue to use Apple Mail.
    So for anyone else experiencing this problem, forget Apple Mail. Download Thunderbird and set up your POP account exactly as it was set up under Snow Leopard and your problem will be solved. Looks like Apple has some fixing to do. This is unacceptable, regardless of what Apple's excuse is or whatever their reason was for making this change.
    I like Thunderbird. I'm actually kind of glad this happened now

  • My iphone 5 open-close key does not work,how to deal with?, my iphone 5 open-close key does not work,how to deal with?, my iphone 5 open-close key does not work,how to deal with?

    I bought the iphone5 on your online store on Nov24. 2013, Last year, I came back China. more ten days before, my iphone 5 's open-close-key did not work. I contact Apple's China, but they told me that they could not help me repair the problem, how to deal with ?

    What is the "open-close" key?  Do you mean the power button or the home button?
    FYI, these are user to user support forums, you are not addressing Apple here.
    Warranty and support are ONLY valid in the country of origin.

  • Muse Featured News Widget close button does not work

    Muse Featured News Widget close button does not work. Any suggestions!

    Hi,
    The close button on the News Widget works only when you select Lightbox as Position under the widget menu. I would appreciate if you can add it to the ideas section over here, http://forums.adobe.com/community/muse/ideas
    Regards,
    Abhishek Maurya

  • Close window script not working in safari?

    So I have a behavior from a DW extension that controls the
    window to self_
    close... and works fine in all browsers but Safari. Anyone
    have a clue why
    that might be? Here's the script:
    <input type=button
    onClick="tmt_winControl('self','close()')" value=" Close
    " >

    We would have to see your code to determine what is wrong.
    Can you post a
    link to the page in question? Your only giving us half of the
    equation.
    fyi.. Massimos Control Window does work in Safari to close
    windows, so
    there's something else wrong. Could be that you do not have
    the supporting
    function in the page.
    Regards,
    Trent Pastrana
    www.fourlevel.com
    "_adrian" <[email protected]> wrote in message
    news:gl36qe$ikc$[email protected]..
    > So I have a behavior from a DW extension that controls
    the window to self_
    > close... and works fine in all browsers but Safari.
    Anyone have a clue
    > why that might be? Here's the script:
    >
    > <input type=button
    onClick="tmt_winControl('self','close()')" value="
    > Close " >
    >

  • Mail yahoo pop access not working.

    This has been going on for 2 days now. Re set up my account in mail but nothing just the ! next to the mailbox. Anyone else having problems?

    Sending an email is something totally different again - you can send yourself or anyone else an email to any email address.
    You can also send or forward any email while on your Yahoo account to yourself or anyone else.
    Setting up Yahoo to automatically forward emails to your home email address is something else. Here is an excerpt from Yahoo Help:
    +The ability to access Yahoo! Mail using an email reader program such as Outlook, Eudora, or Thunderbird is only available to customers of our premium Yahoo! Mail Plus service. To determine whether you have purchased this service, please visit the My Services page.+
    Although this does not mention Apple Mail, it functions exactly like Outlook, etc. so it will not work. Here is the link to the entire help page:
    http://help.yahoo.com/l/us/yahoo/mail/yahoomail/mailplus/pop/pop-35.html;_ylt=An EHIP08O6GRC7cEYzjbTbe7myN4
    I have no idea why it might have worked for you previously, but according to Yahoo, it cannot be done unless you pay for the service.
    So, unless I've totally misunderstood what you are trying to say, I do not have a different answer and it does not have anything to do with your Mac or OS.

  • Maximize/minimize and close buttons do not work properly

    Suddenly the buttons at the top right are not working properly. There is no change in appearance when hovering the mouse over it. This does not occur immediately after I open firefox but shortly afterwards. I noticed by accident that if I open the options box and close it again these buttons will work for a while. It also applies to dialogue boxes that open up as well. I did not add any plugins, but I do believe there was a recent update for firefox installed. Thanks

    Thanks, however I am on release 18.0. I am not quite sure yet but I think the problem may have solved itself. Since I first posted if happened a few times but nothing over the past couple of hours so perhaps the issue resolved itself. I'll repost if it does. Thanks again

  • Gmail POP will not work after upgrade to Leopard (Mail 3.5)

    Hi,
    I recently upgraded to Leopard and was previoulsy using Gmail for my POP service, whuch worked fine.
    I was a little disappointed that the upgrade disabled by HTTP app that allowed me to access my Hotmail, but no big.
    The big deal here is tht I have tried everything listed on Gmail's troubleshooting page for POP accounts and I can't get Mail to connect to the smtp nor pop server. I tried deleting recreting the account, verified settings with what's listed, opening the firewall, testing the telnet connection (nothiing happened, so I guess that's good?).
    I sent this issue to Gmail but all I got back was a redirect to the Troubleshooting page and an .exe tool that I can't use.
    Anyone else out there that may have this problem or have a clue as to what I could be missing?
    I was also loged in to Gmail while setting up account so I know I can access the mail outside of POP.
    Thanks for reading!!!

    After spending a couple of hours researching this the solution that worked perfectly for me was to delete all plist files.
    1. Start with Finder/Macintosh HD/Mail/ look for the plist file there and delete it.
    2. Go back to Finder, ctrl click and select Go to Folder
    3. paste this: ~/Library/Mail/
    4. Find all plist files and delete.
    If you feel more comfortable, you may save them someplace as a backup.
    After deleting all plist files related to Mail, restart your PC. If you don't it may not work.
    Either prior to doing this or after, be sure your settings are correct for gmail.
    Once I did this, all of my incoming and outgoing messages loaded properly and everything worked perfectly.
    If you need additional assistance feel free to leave a message.

  • SP.UI.ModalDialog.showModalDialog(options); pop-up not working in IE8

    When i click a button, a pop-up should be opened. i have written below code into a function and called it to button... It works perfect in IW 9 and IE10. but its not working in IE8. please guid me to fix it.
    var options = SP.UI.$create_DialogOptions(); 
            options.title ="CDP Access";
            options.width = 400;
            options.height =150;   
            options.html = createDialogElementCDP(); 
            options.dialogReturnValueCallback = dialogCallback;
            SP.UI.ModalDialog.showModalDialog(options);
    function createDialogElementCDP()
    here my content goes..
    Please help me run the popup in IE8 also. 
    Thank you!

    What if you try something like below:
    EnsureScriptFunc('SP.js', 'SP.ClientContext', function () {
    EnsureScriptFunc("SP.UI.Dialog.js", "SP.UI.ModalDialog.showModalDialog", function () {
    var options = {
    title: "CDP Access",
    html:'this is html',
    dialogReturnValueCallback: callback
    SP.UI.ModalDialog.showModalDialog(options);
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • Pinch open and close zoom (mac) not working in latest beta update

    Anybody know why pinch open close for the mac track pad suddenly does not zoom in the lastest beta update?

    I am typing out easy instructions for those that are new to entering values. I myself am no expert for sure. It took me awhile to figure it out and I got it to work. I was mad when the pinch to zoom didn’t work after I updated. Thank you '''cor-el''' for posting a fix.
    1. Go to a new tab, type in ''about:config'' hit enter
    2. Click the “I’ll be careful, I promise!” button
    3. Scroll down until you see “browser.gesture.pinch.in” right click on it and hit modify
    4. A drop down that says “Enter string value” appears type in ''cmd_fullZoomReduce''
    5. Click ok
    Find the other ones and do the same. After you have entered all four you should see them in bold and on the right under value you should see only this cmd_fullZoomReduce part.
    6.Once you have it all entered just close the tab and it should work.
    I didn’t have to quit Firefox for it to work, but you may.
    I’m using a MacBook Pro and it worked great, Hope this helps.
    Preference Name / Value
    browser.gesture.pinch.in / cmd_fullZoomReduce
    browser.gesture.pinch.in.shift / cmd_fullZoomReset
    browser.gesture.pinch.out / cmd_fullZoomEnlarge
    browser.gesture.pinch.out.shift / cmd_fullZoomReset

  • Open/Close chart button not working in Account Fact Sheet

    Hi,
    My requirement is like this:
    There are some standard assignment blocks like Contacts and custom assignment blocks like Sales order details in  Account Fact Sheet(AFS). There is one Open/Close chart button present at the top of each assignment block. When it is clicked, a pictorial representation of data in AFS is displayed.
    My question is where is the code written for this functionality. The tool bar based buttons defined in the implementation class of corresponding component like get_buttons, get_system_buttons etc are not at all defined Also there is no coding written in the HTML page of the view.
    Please let me know if anybody worked on this.
    Regards,
    Narendra

    Hi All.
      We are working on SAP CRM 7.0 EHP2.We need to show account factsheet on Account Overview page in IC-Agent Role.
      We are using account factsheet BP_ACCOUNT_FS.In this account sheet,data is not populated or not able to select the org data in view " Sales Organization Selector".same data is appearing  in Account Overview page.
    Same type of issue (Account Shipping data, Account Sales data, Account Billing Data etc is not coming in factsheet)was posted eariler and status of post is resolved but solution is not given.
    Please help us in this issue.
    Regards,
    Urvashi

  • Close button will not work

    I received an error about a script, but didn't know what it was. Afterwards my CLOSE, minimize, etc buttons at the top right stopped working. I can't close any pages.
    I also can use drop down selections either.
    I'm not sure how to fix it. I've uninstalled firefox several times and reistalled, but nothing works.

    Start up in Safe Mode.
    http://support.apple.com/kb/PH4373

  • I've subscription "oracle.apps.wf.notification.close" event ,but not work!

    Hi,
    I've subscription "oracle.apps.wf.notification.close" event,but when notification close my codes don't still work and have no exception come out !
    I've try my codes by subscription "oracle.apps.wf.notification.send" event , and when notification send it can work ! I'm sure that there have no different between the subscription "oracle.apps.wf.notification.close" and the subscription "oracle.apps.wf.notification.close" in the subscription step .
    Doesn't when notification closing raise the "oracle.apps.wf.notification.close" event?
    I need your help!
    Best regard!
    Your friend, yao!

    Please do not create duplicate posts across the forums -- What event is fired when notification close ?

Maybe you are looking for

  • Problem connecting guitar to garageband on macbook pro 13 inch

    hi, how can i connect my guitar to the garageband if i want to record sounds? i am using 13 inch macbook pro which only has one audio port ( well, 15 inch has 2 ports ).. or do i need some interface devices?

  • Who's who upload photo error

    Hi all, I can upload photos in SAP ERP without any problem, and then these photos appear in PA20 / PA30. However, when i try to use Portal Component Who's Who i get an error telling that was not possible the upload. What am i missing? Thanks, Luis Cr

  • I can't sign into creative cloud in my PS Touch app on my Galaxy Note 3

    when I try to sign in, I get the message "Adobe ID and Password do not match" I have a Sprint Galaxy Note 3 But I sign into PS Touch on my tablet just fine what could be the problem?

  • Add search operator  'NE' (not equal to)

    Is it possible to add 'NE' (not equal to) operator to the activity search page. If yes, please let me know how.Right now it has only 'is' operator.

  • Windows doesn't repaint properly

    I had my computer reformatted recently by a small local PC repair shop. The owner also re-installed windows 7 - he used his own disk. I find now that there is a repaint problem.  If I start Outlook, and view some emails, and then close Outlook, It lo