Modal window

Hi,
     In my application dynamically create the window component using "popUpmanager" with "non modal" but when i click the button how to change the "modal" window component .
EX:
import mx.managers.PopUpManager
import mx.containers.Window
win = PopUpManager.createPopUp(_root, Window, false,{closeButton:true,title:"welcome"});
win._x=50;
win._y=50;
btn.onPress=function()
    trace("click");
    win.modal = true ;
It is not working...

Hi Indrika,
Sometimes, it may be necessary for developers to create UIX pages which launch other pages. In order to make this easier, UIX provides a client-side Javascript function -- openWindow() -- which developers can call to manage the launching of their new browser windows. This same function is used internally by UIX, and it is located in the oracle.cabo.ui.jsLibs.MarlinCore.js library. This library is already loaded in most UIX pages.
To use the openWindow() function, you will need to pass it a few parameters:
parentWindow: A required parameter which is the existing window which creates the new window. For modal windows, this is the window to which the new window will be modal.
srcURL: Also required, the URL for the contents of the new window.
windowName: Name that identifies the new window for URLs. It is required if a "closeCallback" function is provided.
features: a Javascript Object whose same properties (and their values) will be set on the newly created window.
isModal: a boolean which will cause the window to be modal if set to true.
kind: The type of window to create, either 'document' or 'dialog'. The default is dependent on the value of isModal--'document' for modeless, 'dialog' for modal.
closeCallback: a function which will be called when the newly created window is finally closed.
The function will return a pointer to the new window Object it it was successfully created, or null otherwise.
I hope this function meets your needs.

Similar Messages

  • Adobe Form NOT getting displayed in WebDynpro Modal Window  (Pop Up)

    Hi,
    I am trying to display the table data in a Interactive Form. I have used TABLE UI element in Interactive Form. When the user clicks on a EXPORT button this form is displayed in a pop up window (Modal Window). This form is not getting displayed for most of the users. In some PC's it is getting displayed, strange is all their browser versions and OS versions are same.
    Portal Version: NW04s SP8
    NWDS Version : NW04s SP8
    Adobe Live Designer: 7.1
    Acrobat Reader: 7.0.8
    I tried changing the display type (property of Interactive Form Element) to NATIVE, it is not working at all. If i change it to "activeX", then it works in some PC's.No logs are found in the server as well as in the client PC as well.
    Please let me know if you have come across this problem, looking forward to your solution.
    Thanks
    Senthil

    Hi,
    It seems to be available only for ABAP version. I cant find it in the java version.. check this..
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/656442a1c4de54e10000000a155106/frameset.htm">Help SAP Link for Java Reference</a>
    And even in ABAP , the pre-requisite seems to be installation of ACF,
    The exact words
    <i>
      Adobe Reader (>= 7.0) and, if you are creating interactive forms, also the ActiveX Control Framework (ACF) installed on your computer. Also see SAP note 834573.</i>

  • Adobe Form not getting displayed in WebDynpro Modal Window

    Hi,
    I am trying to display the table data in a Interactive Form. I have used TABLE UI element in Interactive Form. When the user clicks on a EXPORT button this form is displayed in a pop up window (Modal Window). This form is not getting displayed for most of the users. In some PC's it is getting displayed, strange is all their browser versions and OS versions are same.
    Portal Version: NW04s SP8
    NWDS Version : NW04s SP8
    Adobe Live Designer: 7.1
    Acrobat Reader: 7.0.8
    I tried changing the display type (property of Interactive Form Element) to NATIVE, it is not working at all. If i change it to "activeX", then it works in some PC's.No logs are found in the server as well as in the client PC as well.
    Please let me know if you have come across this problem, looking forward to your solution.
    Thanks
    Senthil

    Hi,
    even though this is quite an old post, it still could be worth for someone to have a look at Note 1342716.
    Michal

  • How to show modal window without popup in a web page using javascript

    Hi,
    How to show modal window without popup in a web page using javascript, means when the modalwindow is opened it should not ask for popup blocker alert......
    pls help me.....

    Thanx for ur reply,
    Actually the senario is when i click on a button, another jsp page should be displayed in a modal window without popup, but the functions alert() and confirm() will not accept the url path of the another jsp page...

  • Web Dynpro Dialog Box / Modal Window is not working properly on firefox

    Hi All,
    We are having problems with Web Dynpro Dialog Box / Modal Window in Firefox.  Dialog Box / Modal window won't show up properly on. They look like transparent windows. Our server is Netweaver 7.0 SP 19.
    Same code is working fine in Internet Explorer. Please advise on this. Below is the code I am using.
    Modal Window:
    IWDWindowInfo windowInfo = wdComponentAPI.getComponentInfo().findInWindows("SomeWindow");
    IWDWindow sampleWindow = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
    sampleWindow .show();
    Confirmation Dialog Box:
    IWDWindow dialogBox = wdComponentAPI.getWindowManager().createConfirmationWindow(
    "Click OK to save data", IPrivateSampleView.WD_EVENTHANDLER_ON_ACTION_SAVADATA, "OK");
    dialogBox.show();
    Thanks
    Sreekanth

    Hi,
    Maintenance and Availability of SAP NetWeaver 7.0 [original link is broken]
    Last Item:
    Product Availability Matrix
    SAP NetWeaver 7.0 Product Availability Matrix   (SMP login required)
    Application Server - Java
    FIREFOX 2.0  LINUX REDHAT EL3/IA32 32BIT  Released  01.04.2008     
    FIREFOX 2.0  LINUX REDHAT EL4/IA32 32BIT  Released  01.04.2008     
    FIREFOX 2.0  MAC OS X 10.2  Released  01.04.2008     
    FIREFOX 2.0  MAC OS X 10.3  Released  01.04.2008     
    FIREFOX 2.0  MAC OS X 10.4 (TIGER)  Released  01.04.2008     
    FIREFOX 2.0  SUSE LINUX 10.1  Released  01.04.2008     
    FIREFOX 2.0  SUSE PROFESSIONAL 9.3  Released  01.04.2008     
    FIREFOX 2.0  SUSE SLED 10  Released  01.04.2008     
    FIREFOX 2.0  WIN 2000 PROF.  Released  01.04.2008     
    FIREFOX 2.0  WIN VISTA 32-BIT  Released  01.04.2008     
    FIREFOX 2.0  WIN XP 2002 HOME 32-BIT  Released  01.04.2008     
    FIREFOX 2.0  WIN XP 2002 PROF. 32-BIT  Released  01.04.2008     
    FIREFOX 2.0  WINDOWS SERVER 2000/IA32 32BIT  Released  01.04.2008     
    INTERNET EXPLORER 6.0  WIN 2000 PROF.  Released  01.02.2006     
    INTERNET EXPLORER 6.0  WIN XP 2002 HOME 32-BIT  Released  01.02.2006     
    INTERNET EXPLORER 6.0  WIN XP 2002 PROF. 32-BIT  Released  01.02.2006     
    INTERNET EXPLORER 6.0  WINDOWS SERVER 2000/IA32 32BIT  Released  01.04.2008     
    INTERNET EXPLORER 7.0  WIN VISTA 32-BIT  Released  01.04.2008     
    INTERNET EXPLORER 7.0  WIN XP 2002 HOME 32-BIT  Released  01.04.2008     
    INTERNET EXPLORER 7.0  WIN XP 2002 PROF. 32-BIT  Released  01.04.2008   
    Hope it helps
    Regards,
    Daniel

  • How do you open a modal window from an Edge Animate button?

    I am trying to create an animated group of buttons that open a Bootstrap 3 modal window when clicked. The animation (OAM file) is placed on the Bootstrap page.
    This code is added to Animate "CREATION COMPLETE" for button creation and button click:
    // Button 1
    var btn1 = sym.createChildSymbol("HomeButton", "menu");
       // Convert/store a reference to the symbol as a string representing the element name of the symbol instance.
    var btn1_e = btn1.getSymbolElementNode();
       // Now can use that element string and convert it to a DOM element to use with jQuery to call its css properties
       // and adjust whatever you'd like, including its position property   
       sym.$(btn1_e).css({"position":"relative", "margin":"10"});
    btn1.getVariable("setLabel")("Print Work");
    btn1.getVariable("setDescription")("Examples of Telex advertisement");
    btn1.$("MyImageBox").css("background" , "url(images/telexads_full269x151.jpg) no-repeat");
    btn1.getSymbolElement().click(function() {
              console.log("button 1 was clicked");
    document.getElementById("myModal");
    $('#myModal').modal('show');
    The div for the modal is on the main HTML page. I want to have the modal open a larger image of the button. Basically a lightbox for the Edge Animate stage, but it has to access the div on the parent HTML document (not the EdgeAnimate.html).
    Here is the error from the Chrome Javascript console:
    Uncaught TypeError: Object [object Object] has no method 'modal' portfolioButtonStage_edgeActions.js:4
    (anonymous function)portfolioButtonStage_edgeActions.js:4
    f.event.dispatchjquery-1.7.1.min.js:3
    h.handle.i
    I've tried Edge Commons Spotlight, but that doesn't open on the page correctly; it puts the image at the bottom of the main page.
    Any ideas? Thanks

    I am trying to create an animated group of buttons that open a Bootstrap 3 modal window when clicked. The animation (OAM file) is placed on the Bootstrap page.
    This code is added to Animate "CREATION COMPLETE" for button creation and button click:
    // Button 1
    var btn1 = sym.createChildSymbol("HomeButton", "menu");
       // Convert/store a reference to the symbol as a string representing the element name of the symbol instance.
    var btn1_e = btn1.getSymbolElementNode();
       // Now can use that element string and convert it to a DOM element to use with jQuery to call its css properties
       // and adjust whatever you'd like, including its position property   
       sym.$(btn1_e).css({"position":"relative", "margin":"10"});
    btn1.getVariable("setLabel")("Print Work");
    btn1.getVariable("setDescription")("Examples of Telex advertisement");
    btn1.$("MyImageBox").css("background" , "url(images/telexads_full269x151.jpg) no-repeat");
    btn1.getSymbolElement().click(function() {
              console.log("button 1 was clicked");
    document.getElementById("myModal");
    $('#myModal').modal('show');
    The div for the modal is on the main HTML page. I want to have the modal open a larger image of the button. Basically a lightbox for the Edge Animate stage, but it has to access the div on the parent HTML document (not the EdgeAnimate.html).
    Here is the error from the Chrome Javascript console:
    Uncaught TypeError: Object [object Object] has no method 'modal' portfolioButtonStage_edgeActions.js:4
    (anonymous function)portfolioButtonStage_edgeActions.js:4
    f.event.dispatchjquery-1.7.1.min.js:3
    h.handle.i
    I've tried Edge Commons Spotlight, but that doesn't open on the page correctly; it puts the image at the bottom of the main page.
    Any ideas? Thanks

  • How do I include/show data from a child table in a Modal Window?

    How do I show data from a child table in a Modal Window?
    I have an application where each customer might have multiple addresses and phone numbers which are stored in child tables.  When I show the customer in a record on a screen I can place a Modal Window button on the screen which can be pushed at runtime
    to display detail information for the particular customer parent table which works great. However, I would also like to display the data from the address and phone number child tables. Is there a way to do that?  Or can I just launch a hole separate screen
    which would automatically display the needed data for the particular customer? If yes, how? 
    Thank you for any help.

    I am not even sure how to describe my situation in such a way that this forum incident would be of benefit to other people as I think it is fairly unconventional. 
    The “add contactaddress” link does not show up on the right.  
    The contactaddress table is a child of the contact table. 
    The contact table is a child of the contactlink table.
    And the contactlink table is a child of the person table.
    I have it set up this way because the contact in the contact table may be a contact to multiple persons in the person table and I do not want to re-enter the contact info every time the contact is used. 
    In the list detail screen of the person table I can see the contactlink child collection so that I can see the name of the person in the contact table at runtime. However, the contactaddress collection is not related to the person table so it does not show
    up on the right hand side of the design screen as an “add contactaddress”; nor is there “add contact” link.
    What I would like to happen during runtime is that it is not necessary to switch screens from the person list detail screen to a contact list detail screen to see the addresses and phone numbers for the contact.
     Is my setup unnecessarily convoluted? Is there a better way? Please see the two snapshots below.
    Perhaps there is a way to call up a Detail screen from the List Detail at runtime? 
    Anyway, if you are still reading, thank you very much for your help.   
    jjjjj

  • The LOV modal window could not return value to the base page

    when practicing the "create1" task in tutorial, met an issue.
    when create an employee, manageName is a messageLovInput and managerID is a messageTextInput.
    The issue is the LOV modal window could not return value to the mangerName, but can return to managerID .
    If I remove the data boud porperties of the managerName (the bc4j porperties of view name-EmpFullVO and view attribute-MgrName), the lov works fine.
    What is the reason?

    James I would suggest to read the LOV topic in OAF developers' guide. Lov mappings are responsible for bringing pop up values to base page in LOV.
    --Mukul                                                                                                                                                                                                                                                                                                                                                   

  • JRE 1.5.0_13  problem with Modal Window

    We have stand alone browser based application built on HTML, Javascript, and Java (non-GUI applet). We were running the Sun JRE 1.4.2_06, but have recently upgarded to 1.5.0_13. As soon as we upgraded to 1.5, started experiencing the below problem -
    The HTML screen displays a modal windows which makes a Java call to the MQClient software through Applet (via OBJECT Tag) to communicate with mainframe. The MQClient Java code seems to be blocked until the user clicks on any other area of the screen to shift the focus from our modal dialog to any other window (either clicking on the task bar, clicking on another window in the background, or hitting Alt/F10 key).
    The same code runs fine with JRE 1.4.2_06.
    Based on a further analysis+ it seems like there is an issue, when a modal html window makes a java call for creating a socket connection (other then localhost). In this scenario, socket is never created unless you drag a modal window or move a focus away from a modal window.
    Above problem seems to be resolved with JRE 1.6.0_10.
    Edited by: Ashwani_Saxena123 on Oct 31, 2008 5:42 AM

    Ashwani_Saxena123 wrote:
    Ours is a stand-alone browser based (IE 6.0) application, which communicates between JavaScript to Java using Applet (with Object Id tag).Why? What for?
    .. All the Java class files are bundled in a zip file under different packages and Zip file path is provided at run time when Application starts. It is safest to distribute classes and application resources as Jar files. One reason is that Sun decided to not bother even checking Zips for digital signatures, so no trusted app. can afford to try loading Zip files.
    ..The path of Zip file is at C:\EALife\Program ...Whoa up a second there!
    If this applet is only ever being loaded on the same machine as the codebase, why is it an applet at all? It would make more sense to distribute/install an application.
    If this applet is being loaded by PCs at remote locations, then the will probably not have a C:\EALife\Program path at all (especially is they use Ubuntu, like here).
    ..and home directory path is C:\EAFramework\Program\Screens. We are putting all paths in a single variable (APP_CLASS_PATH) and using that variable as a parameter value in Object Id tag for creating an Applet. Below is the code snnipet for Object Id tag -Sun has championed a script to use for applet versioning and writing the applet element. I suggest you use it instead, it is known as 'deployJava.js' - see top hit at Google for details.

  • Creation of blocking modal windows

    Hi
    I’m struggling, for sometime now, with the famous
    a-synchronic behavior of flex.
    I’m trying to develop a function that resembles the
    famous VB “MsgBox ()” and opens a UI container (e.g.
    like a Title window) in Modal mode while blocking the continuation
    of the rest of the code until the UI closes.
    I would like to be able to write something similar to the
    following set of commands:
    MsgBoxInFlex( …..); \\ blocks operation until UI closes
    if (x=……)
    Problem – as far as I know – is that such a call
    to a function (i.e. MsgBoxInFlex) returns the control to the
    calling code after the function has finished with no connection to
    UI container status. This means that the if command will be running
    as soon as the UI will be created and displayed.
    Is there a way to both create and work with on the UI
    container before the MsgBoxInFlex function returns?
    Is there a way to return after a different event - such as
    form closure?
    Is there a way to capture and block the creation completed
    event from being transmitted and decide on when to send it?
    Any ideas will be welcomed.
    Thanks
    Raz

    Thanks for your response –
    The problem with using popup modal windows (such as Alert) is
    that the calling program does not stop from executing while in VB
    (or in other tools) the application waits for the Modal window
    thread to return.
    Raz

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

  • Adobe Form in Modal Window

    Hi all,
    I am displaying an Adobe Form in a pop up modal window. The display type of the Adobe form is native. However when the popup window shows up, the adobe form is not shown properly.
    There is no problem if i set the displayType of the adobe form on the view as ActiveX. However there is a constraint that the displayType should be native.
    Has anyone encountered such problem before?

    Only in popups, in SP19 forms were displayed in popups in firefox and IE, in SP21 only in IE. I know about this note, but in SP19 everything was working OK, so I think on SP21 should this popup functionality remain :). Or what is the reason to remove this functionality for firefox in SP21?
    Many thanks for reply

  • How to show refreshed modal window(2nd report region window) - reposting

    Hi,
    I have a requirement where i scroll thru different rows in grid region.
    Moment I tab out from first row, I pop up 2nd report, where I show related detailed data lines for the tabed out line of first grid.
    So my 2nd window is a report region query, whose 'where' clause contains the primary key from the row of first grid window.
    On tab out of a row of first window, I have a javascript function, which shows 2nd report region using:
    var mywindow =
    window.showModalDialog
    ('http://MY-URL-/ebus/apexQA111/f?p=&APP_ID.:25:&SESSION.',myObject,'dialogWidth=800px;dialogHeight=300px;dialogLeft:50;dialogTop:50');
    Problem:
    On First tab out, I get the correct data display on 2nd window, which is related to current tabbed out row.
    However, If I tab out from next record, modal window pops up and it still shows my detailed data of first tabbed out row.
    Somehow the 2nd window is not getting refreshed/recalculated based on my new tabbed out row. I only have showmodaldialog in my JS function.
    Anyway to refresh the window based on new values of the where clause variable? and then showing the window?
    Please help!!
    Regards,
    Ravi.
    Edited by: Rave on Nov 26, 2009 6:15 AM

    Hi Rave,
    You can refresh any window with the java script below, just make it conditional on the value of an item within your page so that it dose not run every time the page is loaded.
    if ($v('P1_MY_ITEM') === 'foo' ) {
    window.location.href = document.location.href;
    }

  • Problem refreshing the parent page when closing a modal window.

    I have page that opens a modal window from a report link column. In the modal window I want to be able to make my changes and press an Apply button so that the modal window is closed and the parent page is refreshed to show the modified details in the report. In Firefox all works well but in IE I get the error message ‘Window.opener.location is null or not an object’ .
    When I comment out window.opener.location.href=window.opener.location.href; the modal window closes without error but I want to refresh the parent page with changes made in the modal window.
    I’m afraid my java script is very limited (the code is based on other peoples examples.)
    Parent Page I call this function from a report link column to display a modal window. Sets the hidden SAVE_STATUS field in destination page to ‘N’
    function modalWin(pshow)
    var url;
    url='f?p=&APP_ID.:'+pshow+':&SESSION.::::SAVE_STATUS:N';
    if (window.showModalDialog) {
    window.showModalDialog(url,"name","dialogWidth:650px;dialogHeight:700px"); }
    else {
    window.open(url,"name","height=700,width=650,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no ,modal=yes");
    Destination page (modal window)
    HTML Header.
    The function closeWindow should refresh the parent page and close the modal window.
    <base target=_self>
    <script language="JavaScript" type="text/javascript">
    <!--
    htmldb_delete_message='"DELETE_CONFIRM_MSG"';
    function closeWindow() {
    if ( document.getElementById("SAVE_STATUS").value == 'Y' )
    window.opener.location.href=window.opener.location.href;
    window.close();
    //-->
    </script>
    Html Body attribute.
    onLoad="closeWindow();"
    P_UPDATE_DATE process called from the Apply changes button. Sets the SAVE_STATUS flag to ‘Y’ for the onload in the html body.
    UPDATE event
    SET event_date = :P5001_EVENT_DATE
    WHERE contract_reference = :P330_EVD_CONTRACT
    AND event_number = :P330_EVD_EVENT_NUMBER;
    :SAVE_STATUS := 'Y';
    Thanks in advance, I will have a look when back in the office on Monday.
    Cheers Pete

    Hi Chris,
    Thanks for your help. I think I've sorted it using your first suggestion doing a refresh in the parent page, I just didn't know how at the time.
    What I've got in the parent window after the call to the modal window is the reload window.location.reload(); and in the modal window I close it using window.close(); The down side being the refresh happens if I use my 'Apply changes' or 'Cancel' button but I can live with that for now.
    It seems to work in IE and firefox but as I say most of what I'm doing is cobbling together using other peoples code without really understanding exactly what it does. Anyway thanks for your help, sound like I should look into JQUERY when I have time.
    Thanks Pete
    Parent window call to modal
    function modalWin(pshow)
    var url;
    url='f?p=&APP_ID.:'+pshow+':&SESSION.::::SAVE_STATUS:N';
    if (window.showModalDialog) {  window.showModalDialog(url,"name","dialogWidth:650px;dialogHeight:700px");                                          }
    else {
    window.open(url,"name","height=700,width=650,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no ,modal=yes");
    window.location.reload();
    Modal Window Close.
    window.close();

  • Save As Page displays below Adobe Reader X in Modal window when selecting SAVE

    Reports are being viewed in the explorer using Adobe Reader this opens in a Modal window which is a requirement. When selecting the 'Save a Copy'  button from any location on the page using the floating toolbar or standard toolbar the Save As page is being opened under the Model window and the focus remains on the main page so the save location or any button on the page cannot be used.
    There is a work around selecting any option that launched a popup screen from the reader such as Document Properties and then the page is closed selecting Save a copy will open the page on the top,
    This only seems to be a issue when using IE9 when running the same application and Adobe reader version in IE8 no issue is seen. Other popup screen such as Print have no issue and as mentioned once one of these screens are launched the save as displays on top.
    Current version of
    Adobe Reader 10.1.1,
    IE9 9.0.8112.16421
    Windows 7 64bit.
    Using Adobe Reader 9 seems to have similar issues and the page needs to be closed via the task manager.
    We require the webpage to display in a Modal window is there any suggestions on how to ensure the Save As Page is displayed on the top in focus.

    Reader cannot rotates pages in a document, but it can rotate the view. This is not something that can be saved. Adobe Acrobat can rotate pages and save the document, but not Reader.

  • How to create a modal window....?

    Hi All,
                      i have created a  WDA ALV Report,and for one of the field i assigned a cell editor 'Button"
    Whenever i click on that button( which was in the ALV grid) i need to display some other data in the modal window...
    1.How can we create a modal window...& where exactly i need to write the code ?
    Please help me to sort out this...
    Regards,
    Ravi

    Hi Ravi,
    1) Go to the methods tab of the view containing your ALV & create an event handler method for event ON_CLICK of ALV. This method would be called by the system whenever you click the button within your ALV cells.
    2) For this create a new view say POPUP_VIEW & a new window say POPUP_WINDOW.
    3) Now embed your POPUP_VIEW within your POPUP_WINDOW.
    4) Now within the view which displays your ALV, go to the event handler method for ON_CLICK & call the popup window.
    This can be done by making use of the code wizard. Just start the wizard and select the "Generate Popup" radio button. When you do an F4 help within your component use you would now be able to see an entry with the name of your new window that you have created i.e, POPUP_WINDOW. Just select that entry and press on enter. That's it you have done the needful for achieving your desired functionality.
    Regards,
    Uday
    Am just pasting you the code from my event handler mthod for ON_CLICK event:
    METHOD call_popup .
      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'
                         message_display_mode   = if_wd_window=>co_msg_display_mode_selected
                         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( ).
    ENDMETHOD.

Maybe you are looking for