Non-Modal Popup in WebDynpro 4 ABAP?

Hey,
i tried to create a non-modal popup but by opening the popup the following error is raised:
System Tried to Create Amodal Window. This Is Currently Not Possible
Below you can see how i created the popup:
CALL METHOD cl_wd_popup_factory=>popup
  EXPORTING
    component           = com
*    used_component_name =
    view_name           = 'VTEST'
*    create_only         = ABAP_FALSE
    modal               = ABAP_FALSE
*    window_title        =
    close_button        = abap_true
*    button_kind         =
*    message_type        = IF_WD_WINDOW=>CO_MSG_TYPE_NONE
*    close_in_any_case   = ABAP_TRUE
*  IMPORTING
*    popup_window        =
*    component_usage     =
* CATCH cx_wd_runtime_repository .
*ENDTRY.
Is there any possibility to create a non-modal popup anyway?
Thanks in advance

why are you using the factory method, instead you can use the
the interface if_wd_window_manager , method create_window
data:l_window1 type ref to if_wd_window_manager,
     popup type ref to if_wd_window,
     l_cmp_api type ref to if_wd_component,
     l_view_api       type ref to if_wd_view_controller.
     l_cmp_api = wd_comp_controller->wd_get_api( ).
     l_window1 = l_cmp_api->get_window_manager( ).
     popup = l_window1->create_window(
*          MODAL                = ABAP_TRUE
          window_name          =  'WINDOW1'
*          TITLE                = TITLE
*          CLOSE_BUTTON         = ABAP_TRUE
*          BUTTON_KIND          = BUTTON_KIND
*          MESSAGE_TYPE         = IF_WD_WINDOW=>CO_MSG_TYPE_NONE
*          CLOSE_IN_ANY_CASE    = ABAP_TRUE
*          MESSAGE_DISPLAY_MODE = MESSAGE_DISPLAY_MODE
*          DEFAULT_BUTTON       = DEFAULT_BUTTON
popup->open( ).

Similar Messages

  • Showing non-modal popup in overlay of browser.xul - on Windows

    Hi. I've got a custom Firefox add-on in plain Javascript. It to overlays Firefox's browser.xul (via chrome.manifest) by an XUL file, where I would like to show a non-modal popup (or some kind of non-intrusive notification).
    I've tried following three options from https://developer.mozilla.org/en-US/Add-ons/Code_snippets/Alerts_and_Notifications:
    1.
    Components.classes['@mozilla.org/alerts-service;1'].
    getService(Components.interfaces.nsIAlertsService).
    showAlertNotification(null, 'Some title', 'Some message', false, '', null);
    2.
    var win = Components.classes['@mozilla.org/embedcomp/window-watcher;1'].
    getService(Components.interfaces.nsIWindowWatcher).
    openWindow(null, 'chrome://global/content/alerts/alert.xul',
    '_blank', 'chrome,titlebar=no,popup=yes', null);
    win.arguments = [null, 'Some title', 'Some message', false, ''];
    3.
    var message = 'Another pop-up blocked';
    var nb = gBrowser.getNotificationBox();
    var n = nb.getNotificationWithValue('popup-blocked');
    if(n) {
    n.label = message;
    } else {
    var buttons = [{
    label: 'Button',
    accessKey: 'B',
    popup: 'blockedPopupOptions',
    callback: null
    Neither of them works on Windows. The first two work on Linux (Fedora 20 x64). Neither of them generates any error either.
    Please, suggest how/where to do that, or how to 'schedule it' (as an even handler to a system event, I suppose) from my overlay of browser.xul.

    I think you would have a better chance of getting comments from experienced add-on developers on one of these sites:
    * http://forums.addons.mozilla.org/
    * http://forums.mozillazine.org/viewforum.php?f=19

  • Non modal popup

    Hi,
    Anyone Know how to call a non modal popup?
    Thanks,
    Rodrigo.

    Hello Rodrigo,
    Currently popups can be displayed only as modal dialogs.
    Regards.

  • 1. Non-modal popup or 2.minimize button on titlebar of popup

    Hi All,
    Firstly, is it now possible to open non-modal pop-ups ( as many pop-ups after executing an action method :( ) , or has anyone come across this found a work-around for this ?
    currently, I am opening a modal dialog itself. But when I click the minimize ( since minimize, maximize and close buttons are activated in the title bar ), the popup minimizes and maximises immediately. This is now raised as a bug and I need to find a solution for this.
    Would much appreciate help,comments or views on this ?
    -- Urvi

    Gor_Mahia wrote:
    ok i got what you mean but its an option for ver1.0 not version 2.0 of the same plugin..thanks.Well, this is an option in the Apex framework for dynamic actions. In Apex 4.2, the options for "Event Scope" are Static, Dynamic and Once.
    In your case, you can set it to live.

  • Non-modal Popup possible- Factsheet in new window

    Hi,
    I have the requirement that I need to open the account factsheet in a new window. For that I have created a popup which works fine but I need this popup to be non-modal.
    Is there any way to do this? Or is there any other solution to open the factsheet in a separate window?
    Thanks for your help and best regards,
    Katharina

    Hi  Katharina,
    I have a similar requirement.
    If you have solved the issue could you please share the solution?
    Thanks,
    Manoj.

  • ADF Faces: non-modal popup windows

    Hi,
    when using the dialog functionality on commandXXX components the dialog always opens in a modal mode. My requirements are to let the user open as many popups as someone likes from the same page.
    Is it possible to achieve this behaviour without manual "javascript hackery"?
    Any hints are greatly appriciated.
    Regards,
    Andreas.

    Hi all,
    I still have the requirement to open a popup in non-modal mode. Has anyone an example how to do that? The actionListener method on my command button has to be executed of course...
    Thanks in advance,
    Andreas

  • Focus Problem -- Two Non Modal Dialogs

    Hi ,
    In my applet, when user does something which is not allowed, I display an error message box (JOptionPane dialog - modal).
    There is another dialog box (non modal) that user
    can open to view search results and put it aside the
    applet window to do some parallel work.
    Now when error message dialog appears, the search
    dialog box also pops up even if the user
    has put this behind the applet window (by clicking browser window or applet, the search dialog goes behind the window).
    Can you please let me know, how can I get rid
    of this search dialog (non-modal) popup. I mean
    search dialog should remain open but should not
    come infront (ie should not get focus) when modal
    error message dialog pops up.
    NOTE: I don't want to make search dialog
    a modal dialog.
    Thanx,
    [email protected]

    Thanks for the reply michael. I forgot to mention particularly during my post that i am facing this problem on Solaris system. Running the same application on windows is working fine. I can't make other non-modal dialogs visibility to false because they should be visible on the screen all the time throught out the application life cycle and making it visible/non-visible doesn't get sense in my application. Does anybody is facing the same problem with Solaris system? Plz help.
    Hitesh

  • Af:inputDate with both date and time: modal popup forces validation

    Hello,
    I am using an af:inputDate with an af:convertDateTime type='both' (displaying date and time).
    When the calendar popup is shown it's a modal popup. I guess it is because of the type='both'?
    My problem is: when the modal popup is shown I get also the validation popup with errors (for example required fields) which is shown too.
    Maybe someone could help?
    Is there a way to force non-modal popup for this kind of calendar?
    Is there a way to stop validation if I am already displaying another popup?
    Thanks in advance,
    Cindy

    Hi,
    U just override ok cancel button type="none"., inside the <af:panelGroupLayout id="pgl10" layout="horizontal" valign="middle">
    <af:commandButton id="ok" text="Ok" action="#{beanName.okAction}" immediate="true"/>
    <af:commandButton id="can" text="Cancel" action="#{beanName.cancelAction}" />
    </af:panelGroupLayout>
    Regards,
    parame

  • Non Modal Window Popup BSP View

    Hi,
    I have a requirement to launch a pop up window which will allow the user to access the original screen from which the pop up was launched (i.e. a non modal window). The pop up window contains a calculator with the intention being that the user would be able to view and copy data displayed on the original screen into the fields of the calculator.
    I have created the calculator as a form view within a BSP component. All of the fields on the form view have been configured using the configuration tab. I have successfully created a modal pop up using the following on the buttons click event:
    comp_controller->window_manager->create_popup( ).
    However, this does not meet my requirement because the form view is displayed in a modal window. I have also attempted to load the pop up using javascript however the view does not initialise correctly when it is loaded which causes a null reference error.
    Can anyone please provide any advice or assistance related to creating a non-modal window for a configured form view within a BSP component? Many of the examples I have found online are related to WebDynPro applications and html pages with flow logic rather than configured views with a controller class.
    Thank you.

    Hi,
    I have a requirement to launch a pop up window which will allow the user to access the original screen from which the pop up was launched (i.e. a non modal window). The pop up window contains a calculator with the intention being that the user would be able to view and copy data displayed on the original screen into the fields of the calculator.
    I have created the calculator as a form view within a BSP component. All of the fields on the form view have been configured using the configuration tab. I have successfully created a modal pop up using the following on the buttons click event:
    comp_controller->window_manager->create_popup( ).
    However, this does not meet my requirement because the form view is displayed in a modal window. I have also attempted to load the pop up using javascript however the view does not initialise correctly when it is loaded which causes a null reference error.
    Can anyone please provide any advice or assistance related to creating a non-modal window for a configured form view within a BSP component? Many of the examples I have found online are related to WebDynPro applications and html pages with flow logic rather than configured views with a controller class.
    Thank you.

  • Webdynpro ABAP exit plug browser auto popup.

    Hi Experts,
    We are using the exit plug to close a webdynpro ABAP application.When this plug gets fired a auto popup from browser comes up with option yes and cnacel.When we are clicking on cancel the application is getting hanged instead of getting blank.
    Is there any way to skip that browser auto popup using close window method or by some other means.
    Thanks In Advance
    Pradeep

    Can check this article for hints.
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d0018077-f0c9-2b10-87af-eb9bb40776d4&overridelayout=true
    Also check this thread had a similar requirement.
    Exit button for web dynpro within portal
    Thanks
    Avik
    Edited by: AVIK SANYAL on Aug 20, 2009 12:00 PM

  • Popup for transport request in WebDynpro ABAP application

    Hi there,
    which function module can I use to prompt the user for the transport request in an WebDynpro ABAP application.
    In SAPGUI I found 'TR_ORDER_CHOICE_CORRECTION' to do this but I get a short dump when I call this one from a WebDynpro ABAP application ...
    Many thanks in advance!
    Regards,
    Steffen

    Thanks for your replay!
    The reason I get the short dump is the function modules I found call a dynpro screen inside for prompting for the request. I am not surprised this does not work for WebDynpro applications ....
    So I thought there is a generic function module for WebDynpro applications available or a WebDynpro component I can use for this ... Sure I could build it by myself but this does not seem to be the right way for me since this requirement seems to be of a generic nature.
    @Gaurav: I am interested to bring up a generic popup for prompting for the request. So I cannot use the flags to suppress the screen ...
    Best regards,
    Steffen

  • Popup window - Non modal

    Hi,
    I have created a popup window. How to make it non modal?
    my code goes like this.....
    IWDWindowInfo windowInfo =(IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("Popup");
         IWDWindow     window = wdThis.wdGetAPI().getComponent().getWindowManager().createWindow(windowInfo, true);
         wdContext.currentContextElement().setWindowInstance(window);
         window.setWindowPosition(WDWindowPos.CENTER);
         window.open();
    Pls help

    Hi Sujesh,
    As far as I know this functinality hasn't been implemented atleast till SP9. Though you have a boolean variable for specifying whether the window created is modal or not, it will always create a <b>modal</b> window.
    Best Regards,
    Nibu.
    Message was edited by: Nibu Wilson

  • Non-sap screen look and feel in webdynpro abap

    Dear Experts,
    I have a Webdynpro ABAP application which is fetching data from LFA1 and LFB1.
    My client wants a non-sap look and feel onto the screen, he doesnt want the SAP Color and all.
    How can i achieve this to look it commercial ??
    Please suggest.
    Regards,
    Mamai.

    Hi Mamai,
    WDA,maintain two parameters WDFORCEEXTERNALSTYLESHEET = 'X' and WDTHEMEROOT = 'CustomerThemes".
    for ur application , add the parameter sap-ep-themeroot=/SAP/PUBLIC/BC/UR/NW5/THEMES/MYCUSTOMTHEME to ur application URL , where MYCUSTOMTHEME is the theme u have created under the path /SAP/PUBLIC/BC/UR/NW5/THEMES/ in ur system.
    Please go through this..
    http://help.sap.com/saphelp_nw70/helpdata/en/7b/fb57412df8091de10000000a155106/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/46/89af7fbe4d429ee10000000a1553f7/content.htm
    and for custome theme..
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7015b1f9-535c-2910-c8b7-e681fe75aaf8?quicklink=index&overridelayout=true
    Re: Custome theme or stylesheet for one WD Application
    stylesheets..
    http://help.sap.com/SAPhelp_nw73/helpdata/en/47/af752005c92fe1e10000000a42189d/content.htm
    Cheers,
    Kris.
    Edited by: kissnas on Apr 21, 2011 6:44 AM

  • Close Popup window in webdynpro abap.

    Hi,
    Can anyone tell me ...how to close the popup window through the action in webdynpro abap . In my popup window there is a button(i.e 'UPDATE') apart from that  default 'OK' button , I want that when 'UPDATE' button is pressed, along with the action window should be closed. I dont want to close the window by pressing 'OK' button at the botton
    I have used following code to open the popup window.
    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            = 'POP_UP  WINDOW'
                       title                  = ''
                      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
    lo_window->open( ).

    Hi Dear,
    please try this code,
    DATA lv_wc TYPE REF TO IF_WD_WINDOW_CONTROLLER.
    data lv_view TYPE REF TO IF_WD_VIEW_CONTROLLER.
    data lo_window  type ref to if_wd_window.
    lv_view = wd_this->wd_get_api( ).
      lv_wc = lv_view->GET_EMBEDDING_WINDOW_CTLR( ).
       lo_window =  lv_wc ->GET_WINDOW( ).
       lo_window->CLOSE( ).
    Message was edited by: kumar.k kulanthaivel
    Regards,
    K. Karthikeyan

  • Remove Maximize button from popup window using Webdynpro ABAP

    Hi,
    Is there a way to remove the maximize button from a popup window using Webdynpro ABAP?
    Thanks,
    Jay

    Hi Jayanth,
    I think by setting is_resizable parameter pass abap_false. try this
    lo_window = lo_window_manager->create_window(
    window_name = 'POPUP'
    title = 'Window'
    close_in_any_case      = abap_true
    message_display_mode = if_wd_window=>co_msg_display_mode_selected
    message_type = if_wd_window=>co_msg_type_none
    is_resizable    = ABAP_FALSE ).
    Cheers,
    Kris.

Maybe you are looking for

  • Exporting Images to a folder on the hard drive

    I used to be able to export images to a selected folder on my hard-drive without having to identify the folder for every image. Now when I export I need to select the folder on my hard-drive for each image even thought I'm going to process 50+ images

  • How can I update the description of my book that is for sale on the iBookstore?

    I have tried to update it through iTunes Producer, in the "Look up Metadata" and the "Open Package" modules.  The new epubs that I upload appear to get published immediately, but the description is never updated in the iBookstore.  I have emailed App

  • Press enter to continue...

    hi all, in my server /client model the clients log on and register ina vector class..since im working on distributed computing, time is important. so in my simulation, i wait for all the clients to log on and after i press enter, the server sends out

  • I uninstalled Server but unable to rename my computer

    Computer name is still shown as the old sever name even though I tried to change it via System Preferences. Please help. Thanks. matthew

  • Start Page is not showing up-to-date after running update

    Run the update, about shows 9.0.1 and UP-To-Date... but everytime I open the browser, it shows that i'm behind and need to update? I've refreshed, etc.. still won' accept that i am up-to-date