System Message with Yes or No Button

Hi Techies,
I need value or which button pressed(Yes/No) for some validation.
If i presses the Yes button only my coding should work.
how can we get this.
Thanks and Regards,
Yadav

Hi,
Try this as follows:
int ithReturnValue;
ithReturnValue = SBO_Application.MessageBox("Do you want to continue ?", 1, "Continue", "Cancel", "");
if (ithReturnValue == 1)
     BubbleEvent = true;
else
     BubbleEvent = false;
Hope it helps.
Thanks & Regards
Ankit Chauhan

Similar Messages

  • 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

  • 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

  • How to open a form of system messages?

    Hi all,
    I want open a form of system messages, with my own commands.
    is this possible? Could anybody help me.
    thanks
    wesley

    Yes You Can open System Messeges.. You need to cReate Form Dialog Box.. then Give Your messege...
    int i = oSboApplication.MessageBox("Changes will cause the data to be deleted", 1, "OK", "CANCEL", "");
                        if (i == 1)
                            oForm.Mode = SAPbouiCOM.BoFormMode.fm_OK_MODE;
    try this code... Hope so U will get help....
      send feedback

  • Closing System Messages

    Hi To All,
    There are system messages appear in most of the screens..For those system messages we should click Ok Button or Cancel Button to close that message..But i want to close that system message through source code not by clicking the buttons...How to do it.....

    Hi,
    You can use this code..
    Select Case pVal.FormTypeEx
    Case "0"
    If pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_ACTIVATE And pVal.FormType = "0" And pVal.ItemUID = "" And pVal.BeforeAction = False Then
    objApp.SendKeys("")                      
    End If
    But you must be sure, that you auto click enter in system message on proper form - store in global variable identification, that the system mesage should be auto clicked and after click set the variable back to nothing. Otherwise you will auto click all system messages...
    regards:
    SANDY

  • How to show system form with a new button

    Hi experts,
         I created a new button on the sales order system form, I need that the new button calls other system form, How can I show a system form with my new button?
    Thaks.
    César Lemus.

    Hi César,
    On the Item Pressed Event of the button, Write the code to show the other system form. The sample for this is as follows.
    Case SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED
                          If pVal.ItemUID = "URButtonID"
                                    SBO_Appln.ActivateMenuItem("Menu ID of ur system form.")
                          EndIF
    Hope this is helpful. If yes reward points.
    Regards,
    Vasu Natari.

  • Is there any way to click the System Message Box button  through code?

    Hi,
    Is there any way to click the System Message Box button through code?
    Is there any way to restrict the System Message Box ?
    The requirement is, i need to open the MRP Wizard form in MRP.it s run automatically.after completion of the wizard is there finish button.after clicking of the finish button, there have a system message. i want to click on "Yes" button through coding.
    when system message box open.my code is stopped.if i press yes code is running.   
    Thanks in advance.

    Thanks for replay
    bellow given the code
    i am using, when i call the finishMrp function its going to take the itemId from XML and click to the finish button.
    There have a system message .when system message fair my debugging stopped. Please give me any idea.
    Public Function Execuate() As Boolean
    Dim strSQL As String
      Dim objRS As SAPbobsCOM.Recordset
        Dim intLoop As Integer
        Dim objForm As SAPbouiCOM.Form
        objForm = objAddOnCentral.objApplication.Forms.ActiveForm
        objRS = objAddOnCentral.objCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
        strSQL = "SELECT U_MRPCode From [@ACSYMRPLIST]"
        objRS.DoQuery(strSQL)
        If objRS.EoF Then
        Throw New Exception("No MRP Scenario Scheudled")
        Return False
        End If
    For intLoop = 1 To objRS.RecordCount
                objForm.Freeze(True)
                If intLoop = 1 Then
                initializeMRPRun()
                System.Windows.Forms.Application.DoEvents()
                Else
                reinitialize()
                System.Windows.Forms.Application.DoEvents()
                End If
                MRPRun(objRS.Fields.Item("U_MRPCode").Value)
                System.Windows.Forms.Application.DoEvents()
                objForm.Freeze(False)
                objRS.MoveNext()
            Nex
            finishMRPRun()
            Return True
        End Function
       Private Sub finishMRPRun()
            Dim strResource As String
            Dim objXML As New XmlDocument
            Dim objXMLNode As XmlNode
            Dim objXMLNodeList As XmlNodeList
            strResource = System.Reflection.Assembly.GetExecutingAssembly().GetName().Name & "." & "AutoStart.xml"
            objXML.Load(System.Reflection.Assembly.GetExecutingAssembly.GetManifestResourceStream(strResource))
            objXMLNodeList = objXML.SelectNodes("/AutoMRPScript/FinishMRP/Instruction")
            For Each objXMLNode In objXMLNodeList 'objXML.ChildNodes.Item(1).ChildNodes
                Select Case objXMLNode.Attributes("OPType").Value
                    Case "2"
                        systemMessageactiveFormButton(objXMLNode)
                End Select
            Next
        End Sub
    Private Sub systemMessageactiveFormButton(ByVal Instruction As XmlNode)
            Dim objForm As SAPbouiCOM.Form
            objForm = objAddOnCentral.objApplication.Forms.ActiveForm
            objForm.Items.Item(Instruction.Attributes("ItemID").Value).Click()
        End Sub
    Edited by: Badulla Sk on Dec 31, 2009 11:24 AM
    Edited by: Badulla Sk on Dec 31, 2009 11:25 AM

  • JS confrim popup message box - How to change it into yes or no button?

    confirm popup message box is always with OK or Cancel Button?
    How to change it into Yes or No Button?
    Thank you.

    I don't think you can change those buttons. However you may try use some rich Javascript library like YUI (Yahoo! User Interface) to pop up custom alert and confirm boxes.
    See [http://developer.yahoo.com/yui/examples/container/simpledialog-quickstart.html]
    Cheers,
    Hari

  • Hi, I was trying to copy and paste a lot of  info for one day on my calendar to another day and an error message popped up saying that the system responded with an error. Msg won't go away I force quit ical

    Need help for trying to unfreeze a message on my ical.  I was trying to copy and paste some appointment info from one day to another on my ical and a message popped up saying the system responded with an error.  All of my info was below the message.  I can't get that message to go away or work on the ical now at all.  I try to force quit ical and have shut down the computer and it still comes up.  Any suggestions?

    K,
    Try removing the com.apple.iCal.plist file from your Macintosh HD/Users/yourusername/Library/Preferences Folder. To find that Library folder, if you are using Lion, use Finder>Go Menu>Depress the "Option" key>Library. Drag the .plist file to your desktop, and log out/in or restart.
    Next, make sure that you are not connected to the internet. Then to to your Macintosh HD/Users/yourusername/Library/Calendars Folder and remove any files with "Cache" as a part of the file name. Use the same method as listed above to get to the correct Library Folder. Log out/in, or restart and check iCal for functionality.

  • Problem with GlassFish and Sun Java System Message Queue

    Hi,
    I used application server PE.8 and I upgraded to Sun Java System Application Server Platform Edition 9.0 Update 1 Patch 1, and I changed all my CLASSPATH and everything. My system is working fine, but the Sun Java System Message Queue that I used before is still showing the queues and physical queues of the previous application server, not the new one. Do you know if there is way to change that and link it to the new version?
    thanks

    Use an ESB like ServiceMix to bridge JMS providers
    http://servicemix.org/
    Or write your own MessageListener to consume from one JMS and publish on another one. Be careful with queues to avoid loosing the ordering - so you probably want to use a single MessageListener per subscription/queue - or to take advantage of Tibco's exclusive queues to ensure ordering is preserved. If ordering doesn't matter then don't worry too much about it and maybe have a pool of consumers to improve throughput
    James
    http://logicblaze.com/

  • Purchased Lion, installed it - once I log in - i get the curtain and message to hold the power button till it shuts down.  Worked with the disk repair utility - fixed permissions - still can't get past the "black curtain of death"  any suggestions?

    purchased Lion, installed it - once I log in - i get the curtain and message to hold the power button till it shuts down.  Worked with the disk repair utility - fixed permissions  to hold the power button till it shuts down.  Worked with the disk repair utility - fixed permissions - still can't get past the "black curtain of death"  any suggestions?
    My machine was patched to date 10.x.x.  I was lucky to get an internet connection and I selected the option to re-download Lion... its curruently being downloaded.  What if that doesn't work?
    Any thougths would be appreciated.
    Joe

    And you have a workstation? not a notebook. 
    Usually a driver or hardware, nothing that Disk utility will fix.
    You know of course what a Prohititory Sign is?
    prohibitory sign, kernel panic
    Forum devoted to Lion:
    Mac OS X v10.7 Lion Communities
    Tips and FAQs
    FAQ kernelpanic
    Resolving Kernel Panics
    Avoiding eliminating Kernel panics
    Lion App Compatibility Table - RoaringApps
    RoaringApps Mac OS X Lion Application Compatibility
    did you make sure your apps, drivers, and hardware support Lion?

  • Macbook sleeps with long delay and tons of system messages

    It takes my MacBook Pro a long time to go to sleep (4 minutes or more). During this time thousands of messages are produced in the System log.
    There are so many of them that some messages are discarded. Some of these messages:
    05/10/2014 16:31:08.000 kernel[0]: [0x445334a000, 0x2000]
    05/10/2014 16:31:08.000 kernel[0]: [0x445335c000, 0x2000]
    05/10/2014 16:31:08.000 kernel[0]: [0x4453372000, 0x2000]
    05/10/2014 16:31:08.000 kernel[0]: [0x4453384000, 0x2000]
    05/10/2014 16:31:08.000 kernel[0]: *** kernel exceeded 500 log message per second limit  -  remaining messages this second discarded ***
    05/10/2014 16:31:09.000 kernel[0]: [0x2cb737000, 0x3000]
    05/10/2014 16:31:09.000 kernel[0]: [0x2cb84c000, 0x8000]
    05/10/2014 16:31:09.000 kernel[0]: [0x2cb855000, 0xb000]
    05/10/2014 16:31:09.000 kernel[0]: [0x2cb862000, 0x3000]
    What do these messages mean?
    I have tried, without success, the following things:
    - reinstall the system
    - perform a disk verification
    - repair file permissions
    - boot in safe mode
    What I have not tried is a hardware check, because I couldn't. (Starting up with D pressed has no effect and starting up with option-D pressed initiates the check, but this is aborted because my machine doesn't support it.)
    The behavior takes place with hibernation, not with "unsafe sleep".
    Machine: MacBook Pro 15" mid-2014, 2.4 GHz Core i5, 8GB memory, with Mac OS 10.9.5.
    System messages at the start of the sleep:
    05/10/2014 16:30:58.114 loginwindow[39]: CGSSetWindowTags: Invalid window 0xffffffff
    05/10/2014 16:30:59.404 WindowServer[100]: _CGXHWCaptureWindowList: No capable active display found.
    05/10/2014 16:31:05.000 kernel[0]: AirPort_Brcm43xx::powerChange: System Sleep
    05/10/2014 16:31:07.000 kernel[0]: hibernate image path: /var/vm/sleepimage
    05/10/2014 16:31:07.000 kernel[0]: efi pagecount 125
    05/10/2014 16:31:07.000 kernel[0]: hibernate_page_list_setall(preflight 1) start 0xffffff80e6133000, 0xffffff80e6173000
    05/10/2014 16:31:07.000 kernel[0]: hibernate_page_list_setall time: 258 ms
    05/10/2014 16:31:07.000 kernel[0]: pages 2044563, wire 264046, act 663382, inact 612315, cleaned 46 spec 1409, zf 27302, throt 0, compr 476063, xpmapped 40000
    05/10/2014 16:31:07.000 kernel[0]: could discard act 0 inact 0 purgeable 0 spec 0 cleaned 0
    05/10/2014 16:31:07.000 kernel[0]: WARNING: hibernate_page_list_setall skipped 87800 xpmapped pages
    05/10/2014 16:31:07.000 kernel[0]: hibernate_page_list_setall preflight pageCount 2044563 est comp 43 setfile 3898605568 min 4294967296
    05/10/2014 16:31:07.000 kernel[0]: [0x13b4cc3000, 0xbc9000]
    05/10/2014 16:31:07.000 kernel[0]: [0x13d0f85000, 0xbbc000]
    In between: thousands of these kernel messages
    System messages at the end of the sleep:
    05/10/2014 16:31:11.000 kernel[0]: [0x4624b20000, 0x1000]
    05/10/2014 16:31:11.000 kernel[0]: [0x4624b2c000, 0xe2000]
    05/10/2014 16:31:11.000 kernel[0]: *** kernel exceeded 500 log message per second limit  -  remaining messages this second discarded ***
    05/10/2014 16:34:25.000 kernel[0]: hibernate_page_list_setall(preflight 0) start 0xffffff80e6133000, 0xffffff80e6173000
    05/10/2014 16:34:25.000 kernel[0]: hibernate_page_list_setall time: 296 ms
    05/10/2014 16:34:25.000 kernel[0]: pages 2048039, wire 266098, act 663683, inact 612389, cleaned 40 spec 1946, zf 27756, throt 0, compr 476127, xpmapped 40000
    05/10/2014 16:34:25.000 kernel[0]: could discard act 0 inact 0 purgeable 0 spec 0 cleaned 0
    05/10/2014 16:34:25.000 kernel[0]: WARNING: hibernate_page_list_setall skipped 87800 xpmapped pages
    05/10/2014 16:34:25.000 kernel[0]: hibernate_page_list_setall found pageCount 2048039
    05/10/2014 16:34:25.000 kernel[0]: IOHibernatePollerOpen, ml_get_interrupts_enabled 0
    05/10/2014 16:34:25.000 kernel[0]: IOHibernatePollerOpen(0)
    05/10/2014 16:34:25.000 kernel[0]: encryptStart 9c190
    05/10/2014 16:34:25.000 kernel[0]: bitmap_size 0x3f784, previewSize 0x24f278, writing 2047182 pages @ 0x32ab8c
    05/10/2014 16:34:25.000 kernel[0]: encryptEnd 95f4600
    05/10/2014 16:34:25.000 kernel[0]: image1Size 0x1430d000, encryptStart1 0x9c190, End1 0x95f4600
    05/10/2014 16:34:25.000 kernel[0]: encryptStart 1430d000
    05/10/2014 16:34:25.000 kernel[0]: PMStats: Hibernate write took 192562 ms
    05/10/2014 16:34:25.000 kernel[0]: all time: 192562 ms, comp bytes: 6044094464 time: 5593 ms 1030 Mb/s, crypt bytes: 4112823408 time: 6386 ms 614 Mb/s,
    05/10/2014 16:34:25.000 kernel[0]: image 0 (0%), uncompressed 6044090368 (427032), compressed 4284058624 (70%), sum1 9a59058d, sum2 8143d3e0
    05/10/2014 16:34:25.000 kernel[0]: zeroPageCount 97178, wiredPagesEncrypted 155568, wiredPagesClear 109748, dirtyPagesEncrypted 1210326
    05/10/2014 16:34:25.000 kernel[0]: hibernate_write_image done(e00002e8)
    05/10/2014 16:34:25.000 kernel[0]: sleep
    05/10/2014 16:34:25.000 kernel[0]: Wake reason: EC LID0
    05/10/2014 16:34:25.000 kernel[0]: SMC::smcHandleInterruptEvent WARNING status=0x0 (0x40 not set) notif=0x0
    05/10/2014 16:34:38.000 kernel[0]: full wake (reason 1) 23 ms
    05/10/2014 16:34:38.000 kernel[0]: AirPort_Brcm43xx::powerChange: System Wake - Full Wake/ Dark Wake / Maintenance wake
    05/10/2014 16:34:38.000 kernel[0]: Previous Sleep Cause: 5
    05/10/2014 16:34:38.000 kernel[0]: wlEvent: en1 en1 Link DOWN virtIf = 0
    05/10/2014 16:34:38.000 kernel[0]: AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving).
    05/10/2014 16:34:38.000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Resume -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0x1400 ****
    05/10/2014 16:34:38.616 WindowServer[100]: CGXDisplayDidWakeNotification [42269999693223]: posting kCGSDisplayDidWake
    05/10/2014 16:34:38.617 WindowServer[100]: handle_will_sleep_auth_and_shield_windows: Ordering out authw 0x7ff86b72bc70(2000), shield 0x7ff868f6d380(2001) (lock state: 2)
    05/10/2014 16:34:38.618 WindowServer[100]: handle_will_sleep_auth_and_shield_windows: errs 0x0, 0x0, 0x0
    05/10/2014 16:34:40.949 loginwindow[39]: ERROR | -[LWBuiltInScreenLockAuthLion closeAuthAndReset:] | Attempted to remove an observer when not observing
    05/10/2014 16:34:40.000 kernel[0]: ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 5 on so 0xffffff8027164178
    05/10/2014 16:34:41.000 kernel[0]: AFP_VFS afpfs_DoReconnect:  doing reconnect on /Volumes/.TMBACKUP-1

    Thanks for the tip. I checked out the link. The issue is not that my log files are large but it's that log messages (the same message over and over again) are being constantly written to that Console application - I guess by syslogd - at a crazy rate per second which is causing the CPU to spike and causing my Free RAM to go from say 3GB to a few MB's within a matter of seconds. I actually can't find a log file on my system (via Spotlight search or Terminal "grep" searching) that has the hundreds and thousands of messages showing up in the Console log app. syslogd just gets "crazy" and pretty much takes over the CPU and depletes my computer free RAM when handling those:
    0x0-0x18018.com.apple.logic.pro358 ARGH: preNdx < 0 (-1073741821)
    messages.

  • " SYSTEM ERROR" with ERROR CATEGORY: Message and ERROR ID : GENERAL

    HI all
    I m doing JDBC -> XI -> SOAP -> XI -> FILE ( XML) scenario .I have implemented it using  BPM .
    But ,In MONI , i am getting a "SYSTEM ERROR " with "ERROR CATEGORY : MESSAGE" and "ERROR ID : GENERAL" .and 
    One thing more is there my all adapters are active (JDBC,FILE) in runtime workbench but SOAP adapters i am not able to see it there as its services are not defined in there .Is this problem is because SOAP adapters are not defined in runtime workbench ?

    Hi Colin
    I are using SP 3.0
    I have checked the Communication channel monitoring and Adapter monitering also but in mine case when i want to see the SOAP adapter in adapter monitoring , the SOAP ICON is disabled there ,so i am not able to see whats the status of my SOAP adapter i have used in my scenario
    Thanks and Regards
    Abhishek

  • Sun Java System Messaging Server compatability with ipv6

    Dear All;
    I am planning to upgrade the network to ipv6, I would like to know if anyone knows about any issues with Sun Java System Messaging Server 5.2 running over an ipv6 network. Is such information posted anywhere on Sun's website?
    Regards,
    Marwan

    As far as I know, no version of Messaging Server is compatible with ipv6

  • Pop-Up message with OK button in main page

    All,
    Below is my client's requirement....
    when ever user login into Oracle EBS, before going to Home Page a pop-message with OK button should display and user must and should click OK button to proceed further...
    I am planning to to extend the CO (OAHomePageCO) of /oracle/apps/fnd/framework/navigate/webui/HomePG ... is this is a correct approach or please provide your valueable inputs on this one...
    Thanks in advance

    All,
    any inputs on this requirement?

Maybe you are looking for

  • Inspection lot of cancelled process orders

    Hi Gurus, I would like to ask if there is an easier way of knowing if the order of an inspection lot was cancelled. Right now the business is on early lot creation, meaning once the order is created an inspection lot is also created. The problem is w

  • Greater Than Clause in Parition

    Hi, I need to find out why can we use greater than value clause instead of Less than clause in Oracle Partitions. Can anyone advice me. Cheers!!!

  • Equalizer window won't stay put in iTunes 7.7

    I upgraded a secondary drive to iTunes 7.7 and now the Equalizer window continues to return to a default position every time I start up iTunes. This has never happened with any previous version of iTunes. I trashed all iTunes preference files but thi

  • How to create a notification mailer that handles only some of Item Types

    Hi All, we are currently try to create another notification mailer to handle ONLY some of the workflows. I have been browsing the internet (oracle site and none) as well as looking for an answer here but I was unable to find a solution/detailed docum

  • Xserve showing as PC server in sidebar and not a mac server

    Hi I currently have an Xserve running 10.5.8 server in a classroom environment, all the macs bind to the server and can connect to its share points using home directories. The server however is appearing in the sidebar on all macs as a pc server and