Pop up window : conatin buttons

Hi friends,
I need to generate a pop up window based on a condition.
I can use FM POPUP_TO_CONFIRM, but I need follwing values to be displayed on the pop up window.
1)Three variable values
2)PUSH buttons (5 BUTTONS)
please help in this regard as soon as possible.

popup three button possiable sap standard function module.
used this way
CALL SCREEN dynnr
            [STARTING AT col1 lin1
            [ENDING   AT col2 lin2]].

Similar Messages

  • Creating a pop up window on button click?

    Hi
    How would I create a pop up modal window when a user clicks on a print button within an interactive report. This window would then display a message with a confirm or cancel button. If they click on confirm the page prints out and if they click cancel it takes the user back to the report
    Is this possible? if so how is this achieved?
    Many Thanks

    The confirm dialog is a native dialog in the browser. It will display a message and it has an ok and cancel button. Running it in javascript will prompt the user with the dialog, and the return value will be true or false depending on the button clicked.
    You don't need any extra page whatsoever.
    var r=confirm("Press a button");
    if (r==true)
    x="You pressed OK!";
    else
    x="You pressed Cancel!";
    }This would prompt you with a small dialog, asking "Press a button.". Clicking Ok or Cancel will return true or false to variable r, which in this code is then tested.
    You could shorten it up to
    if(confirm("Do you want to print?")){
       //execute print code
    };Alternatively, if you are on version 4.0 or higher you can use a dynamic action for this. Set the action to fire on the click of a button, and as a true action you can choose the confirm action, which then lets you display a text.

  • How to use one pop up window for multiple buttons and input fields?

    Hi Experts,
    I have created a pop up window that will be opened from multiple buttons in the same view. There are input fields that the data will be populated from a pop up window.  How can I set up which button that a pop up window is opened from? I also would like to populate the data from a pop up window to the input field next to a clicked button. There are 6 buttons and 6 input fields that share the same pop up window. I would very appreciate your responses.
    Thank you,
    Don

    Hi,
    Try creating 2 context attributes, one in your component controller and the other in the pop-up view. Bind the attribute of pop-up view to the component controller attribute.
    In the main view, on click of every button set a unique code in the controller's context which helps you in identifying the button clicked. Since u have created a binding to the pop-up view attribute the value flows from the controller.
    In the init method of your pop-up view, check the value of the attribute and based on that display which ever UI elements are required.
    Eg:
    On Button 1 click set value "B1", Button 2  value "B2" etc. In the init() of pop-up view u can check the values and perform the required operation:
    if(("B1").wdContext().currentContextElement().getButtonIdentifier()){
    else...{
    Hope this helps you.
    Regards,
    Poojith MV

  • How do I disable "Exceptions" button for "Block pop-up windows" in Content tab?. I am able to Disable other Exception buttons in this tab using about:config preference.

    Need a way to disable "Exception" button for "Block Pop-up windows" in Tools-> Options -> Content tab. I want to be able to do this for Locking Down Firefox preferences.
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

    That button doesn't have a pref associated with it, so you can't disable that button with a pref on the about:config page or a lockPref call.
    That only leaves the choice to remove that button with code in userChrome.css
    <pre><nowiki>#popupPolicyButton {display:none!important;}</nowiki></pre>
    See http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files

  • When a pop up window comes up it is - search bookmarks and history window! I cannot log into my bank as login button should open new window to log in but I get the search page. I cannot see larger images as again I get the search bookmarks and history pa

    When a pop up window comes up it is - search bookmarks and history window! I cannot log into my bank as login button should open new window to log in but I get the search page. I cannot see larger images as again I get the search bookmarks and history page etc. Happens on all options that should open new page. I am so frustrated, this has been happening since Firefox updated itself 2 days ago to Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729; .NET4.0C) was fine before that. using windows vista. Can you please advise what I should do? Also can you go back to previous version? Error console eg
    Warning: Error in parsing value for 'cursor'. Declaration dropped.
    Source File: https://ib.nab.com.au/nabib/styles/menu_nab.css?id=009
    Line: 116
    ib.nab.com.au : server does not support RFC 5746, see CVE-2009-3555 and Warning: Selector expected. Ruleset ignored due to bad selector.
    Source File: https://ib.nab.com.au/nabib/styles/nabstyle.css?id=014
    Line: 837
    == This happened ==
    Every time Firefox opened
    == 2 days ago after update.

    Do you have that problem when running in the Firefox SafeMode?
    [http://support.mozilla.com/en-US/kb/Safe+Mode]
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this:
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • I just statred Flash CC for the first time and it seems that the text within the pop-up window (dialog box) is mis-aligned and not allowing me access to the command buttons, nor all the text. (ie: the NEW Template Box, can't see but 2/3 of the content)

    I just statred Flash CC for the first time and it seems that the text within the pop-up window (dialog box) is mis-aligned and not allowing me access to the command buttons, nor all the text. (ie: the NEW Template Box, can't see but 2/3 of the content) is there a fix to this problem? using 8.1, Monitor is a high res.2560x1440.

    Another View.
    the GUI is so hard to read (so small) I enlarge my Ps UI by the instructions below...which helped a lot.

  • Closing a Pop Up Window on click of a button

    Hi Forum,
    In the parent view there is a button, on click of this button a new pop up window is opened.
    This pop up window also has a button (Submit). Onclick of the submit button in pop up window I need to performe some code execution and then close this pop up window.
    I tried the steps given in the weblog
    /people/mohammed.anzys/blog/2007/06/05/how-to-close-parent-window-in-webdynpro-applications
    But it does not seem to be working.
    Any other way to achieve this or what might I be doing wrong here?
    Thanks,
    Anubhav.

    Hi,
    I missed a parameter in parent window while calling the pop up 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_for_cmp_usage(
                       interface_view_name    = 'WD_VALUE_HELP'
                       component_usage_name   = 'ZUSAGE_FORMNUM'
                       title                  = 'Additional Information For Item'
                      close_in_any_case      = abap_true <----Missed this earlier
                       message_display_mode   = if_wd_window=>co_msg_display_mode_selected
    lo_window->open( ).
    Now it is working fine.
    Many thanks to all.

  • How do I print off of a pop-up window? There are no buttons that I can find!

    The website I use to get my paperwork for my job creates a pop-up window that has my work order in it. I used to use firefox to do this because I was able to scale it down in print preview and reduce the amount of paper I use, but now I can't even print at all! Is there something I'm missing or is it just gone?

    cor-el: WOW can't believe I forgot basic Windows shortcuts. That works the only problem is there isn't a print preview to check things out. Thanks!
    edmeister: I found that Print button a while ago but it will only print the main window as far as I can tell. The window I need is a pop-up that doesn't have any menu buttons. Ctrl+P works though!

  • How to display a pop up window using a button redirect to a page ?

    Hi
    I have a button who redirect to a page of the application and this button passes a few items using the URL parameters
    (Optional URL Redirect).
    I would like to display the new URL page in a pop up window, with the items set properly
    Where do I put the "target = _blank" instruction ?
    Thank you for your answers !
    Regards,
    Christian

    Christian,
    I'm not sure you can use a button like that, at least not without creating a custom button template, but then it wouldn't really be a button anymore. The standard popup function in ApEx is html_PopUp. It's signature is:
    html_PopUp(pURL,pName,pWidth,pHeight,pScroll,pResizable)
    It essentially encapsulates a call to window.open and can be called from a button with:
    javascript:html_PopUp('http://www.google.com');
    If you want to learn more do a Google search on "javascript window.open".
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

  • Pop up window with yes & no push buttons

    hi
    i want to display a pop up window with yes & no push buttons
    can anyone help for this

    Hi,
    call function POPUP_TO_CONFIRM
    exporting
    TITLEBAR = pop_up' (for pop-up header)
    TEXT_QUESTION = 'do you want to save data'
    TEXT_BUTTON_1 = 'Yes'
    ICON_BUTTON_1 = ' '
    TEXT_BUTTON_2 = 'No'
    ICON_BUTTON_2 = ' '
    DEFAULT_BUTTON = '1'
    DISPLAY_CANCEL_BUTTON = ' '
    USERDEFINED_F1_HELP = ' '
    START_COLUMN = 25
    START_ROW = 6
    POPUP_TYPE = ' '
    IV_QUICKINFO_BUTTON_1 = ' '
    IV_QUICKINFO_BUTTON_2 = ' '
    importing
    ANSWER = ANS
    OR.
    Use POPUP_TO_DECIDE.
    call function 'POPUP_TO_DECIDE'
           exporting
                defaultoption  = '1'
                textline1      = text1
                textline2      = ' '
                textline3      = text-202
                text_option1   = 'YES'
                text_option2   = 'NO'
                titel          = text-114
                start_column   = 15
                start_row      = 6
                cancel_display = ' '
           importing
                answer         = zanswer.
    hope this helps.
    plz take a look on this function modules also:
    POPUP_TO_CONFIRM_LOSS_OF_DATA Create a dialog box in which you make a question whether the user wishes to perform a processing step with loss of data.
    POPUP_TO_CONFIRM_STEP Create a dialog box in which you make a question whether the user wishes to perform the step.
    POPUP_TO_CONFIRM_WITH_MESSAGE Create a dialog box in which you inform the user about a specific decision point during an action.
    POPUP_TO_CONFIRM_WITH_VALUE Create a dialog box in which you make a question whether the user wishes to perform a processing step with a particular object.
    POPUP_TO_DECIDE Provide user with several choices as radio buttons
    POPUP_TO_DECIDE_WITH_MESSAGE Create a dialog box in which you inform the user about a specific decision point via a diagnosis text.
    POPUP_TO_DISPLAY_TEXT Create a dialog box in which you display a two line message
    thanx,
    dhanashri.
    Edited by: Dhanashri Pawar on Aug 19, 2008 2:20 PM
    Edited by: Dhanashri Pawar on Aug 19, 2008 2:25 PM
    Edited by: Dhanashri Pawar on Aug 19, 2008 2:26 PM

  • Closing Out of Pop Up Windows without Pressing the Red X button

    Hey, this is my first Mac ever. I am not much of a computer carer. However, I don't want to wreck this computer. I understand with PC's you can get viruses or malware "whatever it is" from closing out of the pop up windows by just pressing the close "X" button in the upper right hand corner similar to the red "x" button on the macs. Now I know there was a way to close out of the window by just pressing Alt+ F4 and it would safely close the window. Is there any way to safely do that with pop up windows for macs?

    Welcome to Apple Discussions!
    Command-W closes individual windows that are currently frontmost.
    Command-Option-W closes all windows of the frontmost application.
    For more keyboard shortcuts, see this page:
    http://support.apple.com/kb/HT1343

  • Search button is non responsive in Safari and no pop up window appearing

    When trying to search for a product in a page on safari, when trying to press the search button is non responsive.
    Before the iOS7 update I would press the search button and a pop up window would appear.
    This no longer happens, any help with this would be fanatstic - Thank you

    Hi Joerg
    did you see NWBC Web GRC v10 WSOD
    The comments in there imply it's an issue with IE8. Have you been able to try a different browser? There is a reference to specific IE8 note
    Regards
    Colleen

  • I need an AS2 button that closes out a pop-up window...

    So, I’ve constructed a portfolio site with ActionScript 2.0, but I would like the pop-up window that displays the portfolio image to have its own ‘X’ button that closes the swf movie from the browser.  I’m assuming that the code begins something like this:
    on(release){
    //actionscript 2.0 code that closes the browser window.
    Any suggestions on how this will work across platforms and browsers?
    Best,
    R.

    Hi kglad,
    My main flash as2 file has a stage size of 1200 width x720 height.  I’ve looked online through various methods on creating pop-up browsers that will display a portfolio image when a button on the main.swf is clicked.  Having no luck in finding what I needed (most tutorials just give getURL examples where the image is displayed in a separate tab), it finally dawned on me to create an overlaying movie, of the same size as the document size, on the top layer of the primary flash stage.  Setting the movie symbol as ‘invisible’ keeps the movie symbol inactive and invisible until called by an action.  The button on the main.swf that calls the movie has the following as2 script attached to it:
    on(release){
                   loadMovie("images/aauComp.swf", _root.movie2);
    However, the aauComp.swf file is where the exit button is located.  I need to implement an on(release){} method onto the exit button in aauComp.swf  that will close the movie out in the main.swf file.  Here’s the double wammy, though: the exit button on the called movie file, aauComp.swf, does not recognize any gotoAndStop(); or on(release){} functions relating to itself when it is loaded. For instance, since I could not find any functions that would close the movie out and return me to the main.swf interface, I wrote the following command on the ‘exit’ button in aauComp.swf:
    on(release){
                   _root.gotoAndStop("blank_frame");
    Where “blank_frame” is within a scene of aauComp.swf that is completely empty – which should, in theory, allow for interaction with the main.swf below the loaded movie since there is nothing on that layer of the loaded aauComp.swf movie.  Make sense?  The ‘exit’ button works fine when aauComp.swf is tested and published by itself, but when it is called into the main.swf with the loadMovie(); function, the 'exit' button will not work and, so, it will not forward to the “blank_frame”.
    Any suggestions?  Let me know if you need anything clarified.
    Thanks.

  • Making the button disabled in the pop up window

    Hi experts,
    I have created a pop up with button type as buttons_yesno. The pop automatically creates two buttons YES and NO
    The pop up window contains two fields - Manufacturer and Description as input fields.
    The requirement i need is -> till the user enters the data into both the input field i wanted the yes button to be disabled.
    i have done the below code for the pop up to appear.
    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            = 'YWD_CREATE_MANF'
                     title                  =
                      close_in_any_case      = abap_false
                       message_display_mode   = if_wd_window=>co_msg_display_mode_selected
                     close_button           = abap_true
                       button_kind            = if_wd_window=>co_buttons_yesno
                       message_type           = if_wd_window=>co_msg_type_none
                      default_button         = if_wd_window=>co_button_ok
    lo_window->open( ).
    is there any option to make the button disabled initially and then enable it when the user enters both the input field.
    Regards,
    Vinod

    Hi,
    When ever you create the popup, store the window reference globally.
    Use the method - SET_BUTTON_ENABLED of if_wd_window based on the input field values.
    Use the GET_ATTRIBUTE for that input field get the value into lv_value,
    if lv_value eq initial.
    lo_window->set_button_enabled
    exporting
    button = button id
    is_enabled = abap_false.
    else.
    lo_window->set_button_enabled
    exporting
    button = button id
    is_enabled = abap_true.
    endif.
    Edited by: Lekha on Oct 14, 2009 6:25 PM

  • Pop Up Window on click of save button

    Hi ,
    I am very new to WebDynpro Java.
    Can somebody plz help me??
    My Requirement-
    On Click of the Save Button ,a Pop Up window should get displayed with a message saying "SUCCESSFULLY SAVED".
    Plz reply soon
    Thanks In advance!!
    Regards
    Smita

    hi!
    1.create a action on the button click
    2.create a value node(popup)--> value attribute
    set the cardinallity as 1..1 and type as com.sap.tc.webdynpro.
    services.session.api.IWDWindow
    3.
    public void okPopup() {
    // @@begin okPopup()
    // get the repository content at runtime of the Web-Dynpro-
    IWDWindowInfo windowInfo = (IWDWindowInfo) wdComponentAPI
    .getComponentInfo().findInWindows("okWindow");//give your window name
    // create the u201CokWindowu201D
    IWDWindow window = wdComponentAPI.getWindowManager()
    .createModalWindow(windowInfo);
    // set the WindowPosition on the screen
    window.setWindowPosition(300, 150);
    // and show the window
    window.show();
    // Save WindowInstance in Context
    wdContext.currentPopupElement().setWindowInstance(window);
    // @@end
    4.now you can take text views to show the required message in the popup window.for that you can take the message from message pool and also you can directly write the message in the text property of text view.
    please get back to me if any further clarification is required.
    thanks
    vishal

Maybe you are looking for

  • Error While creating Transfer Order

    Hi all...... Im trying to create Transfer Order with ref. to Transfer requirement in LT04, and getting the following error. "This screen is only allowed for manual transfer orders". Can any one tel which transaction I hve to use ? And I need User man

  • Spoofer email Bounce backs create invalid account on server

    Every now and then one of those bottom feeding spoofers starts spoofing our domain name with a random account name to send out scads of spam - and of course the inevitable slew of bounce backs from the unfortunate "spamees" then flood our server. For

  • SC-2345

    Bonjour à tous Je souhaite pouvoir interfacer un capteur avec un support de type SC-2345. Je dois donc choisir parmi les modules proposé à cette page: http://www.ni.com/pdf/products/us/4daqsc253-265_194-196.pdf Je ne suis pas vraiment sur de moi, c'e

  • Please guide how to set the mask image

    Hi All, i want to set camera images as a background of greeting image( those already in .png formate with white color background ), so when i am trying with following code in my app it is showing the color image in black and white color . Please guid

  • I need help about threads

    Hi!, I need to know how can i do that a father thread have acces to the son thread's methods or how a son thread can to notify at father any event? thanks