Pop up message box.

Hi Experts,
Just want to ask for the pop up message.
Is there anyway for a pop up message to display only a "OK" button, instead of Yes, No and Cancel buttons.
If no, is there any alternative way doing so?
What I want to have in the alert message is the icon message with stop.
  DATA: defaultoption   TYPE STRING,
        title           TYPE STRING,
        textline         TYPE STRING,
*        textline2       TYPE STRING,
        lv_popup_ans    TYPE STRING,
        cancel_display  TYPE STRING.
  CALL FUNCTION 'POPUP_TO_CONFIRM'
      EXPORTING
       TITLEBAR                    = title
*       DIAGNOSE_OBJECT             = ' '
       TEXT_QUESTION               = 'Testing for alert message with OK button only.'
       TEXT_BUTTON_1               = 'OK'(011)
*       ICON_BUTTON_1               = 'TEST1'
*       TEXT_BUTTON_2               = 'No'(012)
*       ICON_BUTTON_2               = ' '
       DEFAULT_BUTTON              = '1'
       DISPLAY_CANCEL_BUTTON       = 'X'
*       USERDEFINED_F1_HELP         = ' '
*       START_COLUMN                = 25
*       START_ROW                   = 6
       POPUP_TYPE                  = 'ICON_MESSAGE_CRITICAL'
*       IV_QUICKINFO_BUTTON_1       = ' '
*       IV_QUICKINFO_BUTTON_2       = ' '
     IMPORTING
       ANSWER                      = lv_popup_ans
*     TABLES
*       PARAMETER                   =
*     EXCEPTIONS
*       TEXT_NOT_FOUND              = 1
*       OTHERS                      = 2

Hi Vishal,
Thanks for the reply & answer. The "OK" button and Icon is there. That is what I wanted.
But the "OK" button is not defaulted?
Everytime popup message display, I need to move my mouse cursor to click on "OK" button?
Other suggestions would greatly appreciated.
Hi vincent f, 
Actually, the "POPUP_TO_CONFIRM" function is working fine for me, except the "NO" and "CANCEL" Button.
I managed to remove the "CANCEL" button by changing
DISPLAY_CANCEL_BUTTON       = 'X'
to
DISPLAY_CANCEL_BUTTON       = ' '
But How about the "NO" button?
How to remove it?
Other suggestions would greatly appreciated.

Similar Messages

  • Disable the pop-up message box "How would you like to open this file" to open pdf file??

    Hi,
    is there any way i can stop the pop-up box displaying to open pdf file in sharepoint document library? Right now whenever i am trying to open pdf file, asking "how would you like to open"  Read only or edit mode. currently MIME Type is setup
    but still pop-up message box.
    Thanks in advanced!

    Hi ,
    As far as I know, This is a default feature. and is not recommended to delete or deactivate this pop up. 
    This is a feature of office and there is a dll called owssupp.dll which is responsible for getting the popup to open.
    You can go to IE tools> addon settings and deactivate the above dll (sharepoint open document class). But if you do so, then the other office office files which are word/excel/pptx etc.. would aslo gets affected and they also wont get the popup.
    Hope this helps.
    Best Regards, Ashok Yadala

  • Unable to use Instant messanger or SMS in Yahoo Mail. When selected the pop up message box does not open.

    While using Yahoo Mail I have a contact trying to IM me. I go to Conversation and there is no dialog box that shows his message. Yet at the top of the tab it says "Keith sent you a message". I also go to open a new message box for Instant messenger or SMS I should get a pop up box for that application. I am using FireFox 9.0.1 for a browser and my OS is Win.7.

    known issue, See:
    * https://bugzilla.mozilla.org/show_bug.cgi?id=713014
    this issue maybe fixed in Beta, you should try
    * firefox.com/beta

  • Webplayer Authentication pop-up message box while ...

    So I was watching a stream in this case ESPN, however has happened previously on other channels.
    When the popup-message box shown below appears, this has started happening recently when watching a stream via the webplayer.
    I presume that this is something that end users should not be seeing, or if it is then the message should be clearer as to what end users are expected to do.
    I have cancelled the popup without apparently affecting the stream.

    .. I've just come across this for the first time and decided to search the community board for an answer. It does look like a server side process that uses wouldn't normally see, but at least when closing the username and password request, streams don't stop working. Suppose it could be a tad annoying if users have to continually canx this request.

  • "Please Wait" Message Box

    Hello!
    I´d like to know what´s the best way of creating a message box 
    with a "Please Wait" message that opens at some point and closes
    automatically after a sequence code?
    Thank you!
    Luanna

    Are you having a pop up message box in mind??
    my suggestion would be, keep a string indicator on front panel itself, make it appear and disappear like this
    Attachments:
    please wait.vi ‏22 KB

  • Error message Box

    xfa.host.messageBox("Error!", "Hello world", 0, 0);
    This code in all lower versions of reader (upto version 7.0.9 ) would pop a message box with Hello world in the Title bar of the message box. the same code however in reader 8.1 shows Warning: javascript window - Hello world in title bar.
    Is there a way to over-ride this and just show the customized title bar?
    Thanks for your help.

    All prior versions? Only in versions 5.1 and above.
    It is a known problem. Adobe tightened up security restrictions too much.

  • Message box on lower right saying "browser setting change - An unknown change was detected on your browser searcg settings: with the choice "KEEP CURRENT etrc.

    Using Firefox 17.0.1 I get a pop-up message box on the lower right saying:
    Browser settings change
    An unknown change was detected on your browser's search settings (2 choices)
    Keep my current settings
    I am aware of this change and approve it
    Selecting either choice ans clicking YES does nothing
    Clicking the X (exit) box does nothing.
    If I hover the cursor over the Firefox icon in the tray and move the cursor to the X box and click, the message box disappears, but comes back in a short while even if the browser has been inactive or even closed.
    What is this and how do I get rid of it?
    I have Firefox on other computers without this issue.
    Bob

    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 or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You may also have security software or malware that is causing this pop-up.
    *https://support.mozilla.org/kb/troubleshoot-firefox-issues-caused-malware

  • I'm trying to share to Media Browser a 20 minute still slide show with music and text. I have tried several times to save at 1080 HD, but just before it's finished, a message box pops up saying "File already open with write permission."  What's this mean?

    I'm trying to finalize/share to Media Browser a 20 minute still slide show with music and text. I'd like to finalize it 1080 hd and have tried several times, but just before it's finished, a message box pops up saying it can't be done because "File already open with with write permission."  What does this mean?  All files are closed; this iMovie project is the only thing open.  Does it mean one of the song files from iTunes? And should I just settle for saving it as a "large" file, which is what I'm trying right now?
    Thanks,
    Jamie

    Hi
    Error -49 opWrErr  File already open with write permission
    Trash the preference files while application is NOT Running.
    from Karsten Schlüter
    Some users notice on exporting larger projects from within iMovie that this operation is aborted with an 'error -49'
    This issue occours only on MacOs machines using 10.7x
    try switching-off the Local Mobile Backup
    in Terminal copy/paste
    sudo tmutil disablelocal
    Re-launch Mac
    See also this post
    https://discussions.apple.com/thread/4434104?tstart=0
    Yours Bengt W

  • Problems installing plug-ins (and even Adobe updates) to Photoshop CS5 Extended on a new Win7 64-bit laptop.Instead, a message box pops up on the CS5 screen saying "could not complete your request because it is not the right kind of document."

    Problems installing plug-ins to Photoshop CS5 Extended on a new Win7 64-bit laptop.  (Same CS5 and plug-ins installed OK several years ago on a Vista laptop.  Now I'm just trying to migrate everything over to the new laptop.) Even some Adobe updates won't install.  Instead, a message box pops up on the CS5 screen saying "could not complete your request because it is not the right kind of document."   Any solution?

    CS5's automatic update mechanism is broken, perhaps because it is no longer updated and can't cope with the newer ways of updating.
    So this means you will have make a list of the updates that failed, go here: Product updates
    and manually download/install from there.
    Gene

  • I am trying to stream via ESPNWatch but I get a message saying I have a popup blocker that does not allow the streaming to happen. I unchecked the pop up blocker box in the Safari preferences to no avail. Any ideas?

    I am trying to stream via ESPNWatch but I get a message saying I have a popup blocker that does not allow the streaming to happen. I unchecked the pop up blocker box in the Safari preferences to no avail. Any ideas?

    Might be a Safari extension...
    From your Safari menu bar click Safari > Preferences then select the Extensions tab.
    If there are any extensions installed, turn that OFF, then quit and relaunch Safari to test.

  • When I started my PC this morning I got a pop-up message stating that CC has damaged files and required downloading. Indeed, CC did NOT work and subsequent attempts to download CC never got beyond the initial installer box. I am at my wits end here. Have

    When I started my PC this morning I got a pop-up message stating that CC has damaged files and required downloading from www.adobe.com/go/adobecreativecloudapp. Indeed, CC did NOT work and subsequent attempts to download CC never got beyond the initial installer box. The posted link also appears to be bogus I am at my wits end here. Have other users experiences this issue? Is this a clever intrusion?

    Please ensure you have the latest version of the Creative Cloud app installed
    http://helpx.adobe.com/creative-cloud/release-note/cc-release-notes.html
    We also have this solution for the having to sign in on every product launch
    http://helpx.adobe.com/creative-cloud/kb/unable-login-creative-cloud-248.html
    You can also try uninstalling & re-installing the CC.
    Regards
    Rajshree

  • System wide modal message box pop-up from applet

    Hi,
    I am having an applet which is listening on a soket and has to pop-up a message box with the received data as and when it receives it.
    I have used JOptionPane.showMessageDialog() for this.
    Now, the requirement is the MsgBox should come up even if the user is working on another console/window. Btw, I am running the applet on windows-XP/2000 with JRE1.4.2. I have used null as the first parameter to the showMessageDialog function above, but its not popping up if I am workin in some other window.
    Anybody having ideas on how to do it, please reply.
    Thanks
    Sujit

    Pop up a Frame or JFrame showing the message. You can make it passably modal by having the applet nap while it's visible:
    JFrame msg = new JFrame( "Got Data!" );
    ...// add message
    msg.setVisible( true );
    // may not pop up instantly:
    while ( !msg.isVisible() ) pause( 10 );
    while ( msg.isVisible() ) pause( 50 ); // wait for user to close
    private static void pause( int millis ) {
       try { Thread.sleep( millis ); }
       catch ( InterruptedException e ) {}
    }

  • Open .sql file, pop out error message box

    When I double-click the .sql file, sql developer open this file, but windows pop an error message box: windows can't find c:\aaa\bbb.sql. Make sure you type the file name correctly...... I don't know why?
    my sql developer version is 1.0.0.15.57, OS is windowsxp.

    This is a known problem. There is some problem with the way sqldeveloper registers.

  • How to keep OI window in background with message box/pop up boxes on top.

    Hi
    I have a new requirement to add in OI .How to keep OI main window fixed in the background with message pop ups atop OI window.
    Even  with message box pop ups , i should not have the access to OI main window.To  make it more clear,when i change to some other application in my PC task bar (for eg:-MSWord) and then click back to OI main window ,i should see the message box on the top of OI main window . I should not  have the access to click OI main window and OI message box as two separate operation in the task bar.
    Please let me know where i need to make changes in my OI  codeset.
    Regards,
    Nand

    Hi Nand,
    In the Message Popup step settings, check Make Modal under Layout >> Dialog Options.  
    I hope this helps.
    Cheers,
    David Goldberg
    National Instruments
    Software R&D

  • I renamed my Apple ID with new name but the old password is no more working. What should I do ? After renaming I am getting pop up message regarding icloud on my screen but I am unable to set off the message box now

    I renamed my Apple ID with new name but the old password is no more working. What should I do ? After renaming I am getting pop up message regarding icloud on my screen but I am unable to set off the message box now

    What to do after you change your Apple ID email address or password - Apple Support
    ÇÇÇ

Maybe you are looking for

  • Can I do this: Use wireless network as WAN and create my own LAN.

    I travel quite a bit and many hotels now do not have wired in-room networks. So I'm looking for a way to use the wireless network as a wide area network and create a local network in-room behind a router/firewall, preferably with a private SSID.. I'v

  • Open quantity in credit memo and debit memo

    Dear Friends, I am facing one problem in billing cycle. I am creating credit memo directly with ref to invoice(With out cr memo request). I am describing  scenario below. I have created Invoice 8012003 with one item with 10 quantity, after that I am

  • Time Capsule best to dedicate for backup and usb external for other data or partition TC for dual

    I have lots of video and photo and have 2TB drive on my iMAC and want to use TC for backup.  1) Since alot of video and photo, can plug in via ethernet or "cable/usb" vs. wireless to back up my main iMAC?  Otherwise very slow via wireless and perhaps

  • Error While downloading Track in NWDS

    My system landscape has CMS and DTR on one server, CBS on other and SLD on the other machine. I could sucessfully create a track using CMS by importing the software component created in the SLD. But when i tried to import the track from Development C

  • How to pass the value to the screen through call transaction

    hi i have got an requirement for which i have to call MIGO tcode through call transaction command. But here one list box GODYNPRO-ACTION (screen field) contains list of values . my requirement is when i will call the tcode MIGO it should take default