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

Similar Messages

  • How to create a pop up window with text information?

    Hi experts,
    I am a newbie in LC and I have created a form to be sent to the vendors by our buyers.  Everything seems fine except the Accounting Manager would like to include our Financial Details in the form.  I would like to simply create a pop up window with the information which will be activated by pressing a button.  I have tried to create an invisible button and a visible button to achieve this but didn't succeed. 
    p.s. I have no javascript background but slowly learning.  I would appreciate if anyone can assist me to complete the task.
    Thanks a million.

    Hi Mdjco,
    Thanks for replying.  What I need to accomplish is to have another page of information with all the financial details on the pop up window and the vendor has a choice to print it out or not.  After the form is filled out, it is to be sent back to our buyers.  So instead of me inserting a 2nd page with the information, I would like to hide it unless someone presses a button to show it.
    I have found something like making 2 buttons, one is invisible with all the information on it and the other one "visible" to activate the invisble button.  Didn't work at all.
    Also another question is after the vendor insert the digital signature, it automatically asked to save (which I found out why from help) and then it opens up the email and sends the form as XML.  I will need it to send as PDF, possible??
    Much appreciated.

  • Turning data logging on and off with a boleen push button

    I am trying to log three analog signals to a
    spreadsheet. I have no problem doing this but my application requires the need to turn the
    data aquisition to the spreadsheet on and off. I
    would like to accomplish this with a boleen push button. If anyone knows how to do this I would appreciate the help. Thanks in advance.

    You are probably using the Write to Spreasheet.vi.
    If so you can simply place it in a case structure controlled by your boolean, remember to set the append to file input TRUE.
    In this basic way you open and close your file each time you enable or disable the writing.
    A more efficient approach is to open the diagram of Write to Spreadsheet File vi copy it in your diagram and place only the Write File+ (string)vi in your case structure.
    Let your file to be opened at the start of your vi and close at the end

  • How to display warning message box with yes and no buttons

    Hi,
    I am writing the code to delete emp details from database.
    I want to display warning message with yes and no buttons after clicking the delete button in the same page, if yes is clicked, i want to invoke delete() method in AM.
    Is it possible, if yes pls suggest me how to do it.
    Thanks
    Message was edited by:
    user536125

    This is being discussed in
    warning message(dialog page) to be displayed in the same page
    Thanks
    Tapash

  • I keep getting a pop-up window with the following message, even though I haven't got anything plugged in to any USB points.

    I keep getting a pop-up window with the following message, even though I haven't got anything plugged in to any USB points. It comes up every few seconds, often multiple times at once. Can anyone advise why it is happening and how to get rif of it?

    Reset your SMC.
    Resetting the System Management Controller (SMC) - Support - Apple

  • Opening Centered Pop-up window with Dynamic URL

    I got some code for a centered pop-up window in Flash from a
    Kirupa tutorial. It works well, except that you are supposed to put
    an actual URL for the 'address' variable. I'm using a dynamic URL
    (+url[p]+) for my URL. When I put address = "'+url[p]'"; for the
    address, it doesn't work.
    Here's the code for the button:
    on (release) {
    //customize the window that gets opened
    // 0 equals NO.
    // 1 equals YES.
    address = "'+url[p]+'";
    target_winName = "FlashDevelopment";
    width = 700;
    height = 400;
    toolbar = 0;
    location = 0;
    directories = 0;
    status = 1;
    menubar = 0;
    scrollbars = 1;
    resizable = 1;
    //sends data back to the function
    openWinCentre(address, target_winName, width, height,
    toolbar, location, directories, status, menubar, scrollbars,
    resizable);
    And here's the function:
    // New Window Function
    _root.openWinCentre = function (url, winName, w, h, toolbar,
    location, directories, status, menubar, scrollbars, resizable) {
    getURL ("javascript:var myWin; if(!myWin ||
    myWin.closed){myWin = window.open('" + url + "','" + winName +
    "','" + "width=" + w + ",height=" + h + ",toolbar=" + toolbar +
    ",location=" + location + ",directories=" + directories +
    ",status=" + status + ",menubar=" + menubar + ",scrollbars=" +
    scrollbars + ",resizable=" + resizable +
    ",top='+((screen.height/2)-(" + h/2 +
    "))+',left='+((screen.width/2)-(" + w/2 + "))+'" +
    "')}else{myWin.focus();};void(0);");
    Any idea why my dynamic url is not being recognized?

    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br /><br />
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    *http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • Looking for a best way to arrange an array of Pop Up windows with repeating small imgs

    I would like to find out what is the best way to approach setting up various Pop Up windows.
    Here is my set up:
    I have 20+ product images which act as buttons and each brings a user to a unique section with the pop up window where a large photo of this product in use is displayed. In addition to this photo in the pop up window are additional product images (which were also used to create a photographed assembly)
    I figured that since I repeat my product images on the pop up windows and all of them are already used in the product page let me use them again in the pop up window. So I arranged the pop up windows in each separate labeled section in which I reused the product images buttons from the products page and put the UI Loader into each separate labeled section which loads the big assebly photo of that product in use.
    Here are my questions:
    - Should each product have a separate labeled section with a pop up window
         This way I can reuse a number of already existing product button images and load only the high resolution assemble image
          However I end up having a lot of sections labeled for each product
    - or it should be arranged as follows:
         var sourceVar:String;
         function my_btnDown(event:MouseEvent):void {
         sourceVar="product_popups/product1_popUp.swf;
         gotoAndPlay("productsLoader");//where "productsLoader" is the labeled secion of my UI Loader
         This way I end up with one labeled section but have to implement up to 5 buttons on each new Pop Up.  In a sence I make the size of a loading pop up .swf a bit bigger by not recycling the existing buttons, but my assumption that I will have an easier funcitonality of the site?
    I am not sure which way would be a better or more appropriate way to go?

    Léonie-
    You are totally correct regarding custom tags instead of keywords depending upon the instance.
    My main point is that Folders are mostly misused. Images need to be keyworded or tagged and linked to Albums, generally not put in folders. With digital images almost always folder organization of images is just wrong, because folders by definition locate an image in just a single category. And few images are ever just in a single category.
    Some usage of folders can be helpful. Folders of Projects (e.g. 2001 Projects, Client royalfrenchel, etc.) make sense to help collapse a large number of Projects. However note that even in that simple two-folder example images cannot be in both folders at the same time without splitting the folders up.
    IMO users should spend  time carefully establishing how to keyword/tag and aggressively avoid using folders as much as possible. Eg. in Arturo's instance "week5" should be a keyword, not a folder. That way if one wants to make a brochure and use 5-week-old puppy pix it is an easy search on "week5" to retrieve pix to create an Album to peruse for brochure purposes. If "week5" instead comprises multiple deeply nested Folders subset to every litter of every Dam the process of retrieving becomes a nightmare.
    I welcome further discussion of this important topic.
    -Allen

  • 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

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

  • Pop-up windows with webutil and Forms

    Hello,
    We are using webutil for file transfer : webutil_file.xxx
    But with oracle forms, it call a black windows to execute the command.
    How to hide this windows?

    The pop-up is for a look up table. So for example they can
    choose from a drop menu and if your choice is not there then they
    can select add to look up and a pop-up open and allows then to
    add/edit or delete fields in the look up table. I want to have the
    pop-up window adjust dynamically to the size of the look-up
    list....make sense?
    You can check it out here.
    Look
    up edit
    B

  • Bookmark pop up window incomplete-missing right side buttons

    When I use the Bookmark Button and select "Bookmark This Page" the pop up window to place the bookmark is incomplete. The right side is cut off and the buttons to select or add folders is not shown.

    You can try to disable hardware acceleration in Firefox (you need to close and restart Firefox).
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How do I get pop-up windows to show the navigation buttons (not just the address box)?

    When I click on a link that opens a new firefox window, the new window shows a navigation toolbar that does not include the back, forward, stop, and home buttons (it only shows the internet address box). However, the original firefox window that I navigated away from shows all of the navigation buttons AND the address bar. How do I get these new firefox windows to show the navigation buttons in addition to the address box that automatically appears?

    See:
    http://kb.mozillazine.org/Prevent_websites_from_disabling_new_window_features
    http://kb.mozillazine.org/JavaScript#Advanced_JavaScript_settings

  • How to create a pop-up window with a larger image

    Again, I'm looking to do something very simple and can't figure it out. I want users to be able to hover over/click on an image and there pops up a larger version of the image, much like you see on online catalogs and shopping sites. I've looked into Lightbox and jQuery but don't understand how to incorporate the code into my pages. Is there a simpler way using DW CS4?
    Thanks,
    Gail

    Select the thumbnail image and link it to the larger image file.
    Use DW Behaviors Panel and hit the plus + sign.
    Choose Open Browser Window.  This will invoke another panel for adjusting the size and other attributes of your pop-up window.
    Hit OK.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Confirmation Window with YES & NO buttons

    Hello guys,
    I have created on hyperlink into region source of a page which redirect user with maintaining the session something like this :-
    Click Me
    and this works very much perfect, now my question is when user clicks on the link than he/she should be prompted by a confirmation window only by clicking YES button on that same window user will go to the specified link otherwise not???
    how to implement the same confirmation window??? does apex handles those stuffs or I need to implement something else for that???
    thxs
    regards,
    Kumar

    Kumar,
    I assume that you want user to click "Click Me" link and get prompted for Yes or No. If yes, he/she will be re-directed to a link.
    You can add this Javascript to call confirm function -
    <script language="JavaScript" type="text/javascript">
    <!--
    function confirm_response()
      var answer = confirm ("Would you like close this record?")
      if (answer) {
           window.location = "http://www.google.com/"
      else {
            // do something else
    //-->
    </script>and on you region's Click Me link, you just simply call above Javascript -
    a href='javascript:confirm_response();'

Maybe you are looking for

  • Copying frames between fla's freezes program

    Flash newb. Trying to make a news flash ad banner. I have constructed the rectangle now I need to make the cube, hopefully with the same timing of animations and tweens. I have made this first .fla AS 2.0, player 6 and imported a large number of elem

  • Spotlighting a person in a movie/video

    I am making highlight videos for my local sports team (football). I need to place an arrow or small spotlight on the actual player being highlighted in each play. Is there a program that can do this? I have iMovie 09. Thanks!

  • I tried to do the new update on OS X today, but it keeps telling me there's an error (102), help?

    The title is pretty self explanatory. I'm attempting to download the OS X update for my macbook retina so I can get IOS 7, but every time it gives me the 102 error. Help?

  • Menuview of Web Dynpro

    Hi anybody, I am creating web dynpro for display the material list.  but i goto menuview of web dynrpro the favourote view designer tool box not displayed. what is problem? how do i display the menuview form desinger tool box? Anybody please answer t

  • Apple TV 1st Gen vs 2nd Gen

    I have two Apple TV (32GB and one of the new ones). When I stream movies in m4v format to my new Apple TV, it works fine. However, when I stream to my old AppleTV, it either restarts the device or just hangs. Any ideas what could cause this? The old