CONFIRMATION alert

hello!
one problem
if I have a CONFIRMATION alert, how can i make it to display OK and Cancel buttons plus how can I get information, whether user has clicked OK or Cancel? something like confirm function in JavaScript, which returns true or false
thanks a lot

Your Alert is a Displayble (check in javadoc) ... so you just have to had 2 Command ... one for the Yes and one for the No.
Then you set the CommandListener with the instance which will receive the events. (you can select the current instance ... this ...that implements CommandListener)
And you just have to implement the commandAction method of the interface to process the events :
import javax.microedition.lcdui.*;
public MyGUI extends Alert  implements CommandListener
public MyGUI() {
  super();
  // Here you will create the 2 Command and add them to the Alert
  setCommandListener(this);
public void commandAction(Command c, Diplayable d) {
// where c is the command that the user has selected
// and d is the displayable that triggered the event (your Alert in this case)
}

Similar Messages

  • BPM: Confirming Alerts - pro's and con's.

    Hi all,
    In Business Process Monitoring in the alerts view, you have the option to confirm alerts - primiarly I assume to remove the yellow or red alert status from the summary screen of alerts, so that operators can see at a glance which monitors have a status other than green. Other than that - what are the benefits and drawbacks (if any) of confirming /not confirming alerts?
    Would there be any concerns with system performance / table overflow by keeping many unconfirmed alerts in the list?
    From a BI trend analysis point of view, will both confirmed and unconfirmed alerts be transferred to the BI cube for trend reporting?
    For example, we could configure BPM to send a notification when there are 20 yellow alerts of a certain type. Only on notification (email) will a user go into BPM to view the alert in more detail. So, the number of alerts in BPM could add up very quickly and only get confirmed every so often.
    Thanks,
    John

    Hi,
    1) Your understading is correct to some extend, the confirmation of alert is to know the status of any new alerts at an istance. so it forms easier for us to locate. Confirming should be done, if the alert is really looked upon and solved, so easy to track. If you keep it unconfirmed, you ll always get the old alerts in queue leading to the overall rating to be misleading sometimes.
    2) You have to plan/so sizing on your solution manager accordingly to negate any system performance issues.its impact will be very less.
    3) yes.You wil get all the alert.You can see all the confirmed alerts too.(there is an option available).
    4) This shouldn't be an issue:). The alerts remain the same in the BI. Sizing matters.
    Thanks,
    Jagan

  • Javascript confirm alert Can we change the text ok

    can we change the ok and cancel text in the javascript confirm alert. pls respond, its very ungent
    Edited by: Bini John on Jun 10, 2009 9:19 AM

    Hi,
    Yes if client want new description for the PS Group, you have to create new only and assign the wage types to them and so on..... you have to do all the configurations regarding the PS Group. Here the main point is be careful with the start date of the PS Group for newly created records and assignments.
    Best Regards.

  • Technical Monitoring - Report confirmed alerts

    Hi experts,
    I already googled but couldn't find a solution.
    Where can I see ( I guess in workcenter) confirmed alerts?
    I mean, in technical monitoring, I get an alert and after confirming I don't know where to find this.
    Kind regards

    Hi Christian,
    Did you check this in preferences.
    If you have this option then you can do a search.
    Goto Alert Inbox and check on top right corner -- Preferences
    Divyanshu

  • Business Process Monitoring: restrict authorization to confirm alerts

    Hello Experts,
    I am working with Solution Manager's Business Process Monitoring and I am now facing these questions regarding roles and authorizations to allow/forbid alert confirmation:
    - What is the authorization mechanism behind alert confirmation in BPM? Is a specific authorization object involved when pressing the button "Confirm selected"?
    - Is it possible to adjust roles (if no standard role is available) in order to have, for example,
    --Role1: give users the authorizations to walk through DSWP transaction, see business processes' alerts and confirm them
    --Role2: give users the authorizations to walk through DSWP transaction, see business processes' alerts but NOT allow them to confirm any alert?
    Our Solution Manager version:
    SAP EHP 1 for SAP Solution Manager 7.0 (SP22)
    ST-PI 2008_1_700 level2
    ST-SER 701_2008_2 level 6
    ST-A/PI 01M_CRM570
    I hope I managed to explain my doubts properly; any help will be very appreciated.
    Thanks in advance for your support,
    best regards
    Paolo

    Hello Paolo,
    it is the first time that I hear that request. Can you explain what your use case is? Why would you allow some users to see and analyze alerts but do not let them confirm the alerts if the problem is solved?
    As the user/date/time is logged if somebody confirms you have the transaparency who confirmed which alert at what point of time.
    I think that currently no such split in authorizations is supported but perhaps you can find something in the securtiy guide.
    Best Regards
    Volker

  • BPM: Confirming alerts doesn't refresh alert status

    Hi Colleagues,
    Have anyone dealt with refreshing problems in Solman's BPM?
    If I have a red alert and process it, I proceed to confirm the alert.
    In this node, status is changed to green (some cases into grey).
    If I get back to the first screen in the BPM, process is still in red leading to confusion to our local monitoring team. It doesn´t matter that no other alerts are current unconfirmed.
    You can refresh as many times you want, system remains in red.
    I have a message in support but response process is really slow.
    They just recomended to apply latest version of note 0001255970 but no effects were observed.
    We are in ST 400 SP 17.
    Thanks,
    Renato Petrulis

    Just as feedback from SAP Support, it´s not an error:
    (...) Let me explain the difference between Current Status and Open Alerts a
    little more:
    Every MTE (MTE: Monitoring Tree Element. It is the actual measurement that you are interested in. For example, BDocs con ErrorBDocs con Error defined in component BDocs con Error is an MTE) has configurable thresholds. The thresholds define the values which, when exceeded, create an alert instance. Both yellow and red thresholds can be defined. The alert instance records the time at which the threshold was exceeded,and also have a corresponding status i.e. if the red threshold is
    exceeded, a red alert instance is created. When you hit the 'Confirm' button, you are actually clearing the alert instances.
    Whereas, in the Current Status view, you actually see the current value of the MTE, which can be red or yellow or green irrespective of what hadhappened in the past.
    Therefore, the expected behaviour is that when all the alerts are confirmed, the MTE shows green in the Open Alerts view. But the Current Status view continues to show the actual current status, which may be red or yellow or green. Therefore the DSWP transaction is actually working as expected.
    Edited by: Renato Petrulis on Dec 11, 2009 3:31 PM

  • Unable to confirm alerts

    Hi,
    I have configures the alertframe work to send messages when ever a message is not processed. I create a mail with a link to the message, and that works just fine.
    When the next problem arises with the same adapter, I don't get any alerts.
    When I log into my alert inbox, don't see any messages/alerts. When I try to add subscription I get that I cannot load the page /sap/bc/bsp/sap/alertsubscription/subscribe.htm?sap-client=001. I'm unable to find that service in SICF and have tried the report to start it.
    In the alert framework log I get the following messages, when the system tries to create the new entries in the log table.
    20100507103918,7810000          0  07.05.2010    12:39:18      D095297433694D58091EB3D3F5B20671
    *Calling Monitoring Server starting new task
    20100507103918,7960000          0  07.05.2010    12:39:18      D095297433694D58091EB3D3F5B20671
    AlertRecords successfully delivered
    20100507103918,8120000          0  07.05.2010    12:39:18      D095297433694D58091EB3D3F5B20671
    *Error records received from IE on host PIP (sysid: PIP client: 001 ). Try to send Alert...
    20100507103918,8120000          1  07.05.2010    12:39:18      D095297433694D58091EB3D3F5B20671
    *Find rule for (From::SalesInv_BC2:SalesInv_OB_Async:http://domain.com/SALESINVOICE To::CSPCLNT100:InterfaceCollection:http://sap.com/xi/XI/Sy
    20100507103918,8590000          0  07.05.2010    12:39:18      D095297433694D58091EB3D3F5B20671
    *Call SALRT_CREATE_API(From::SalesInv_BC2:SalesInv_OB_Async:http://domain.com/SALESINVOICE To::CSPCLNT100:InterfaceCollection:http://sap.com/x
    20100507103919,2960000          0  07.05.2010    12:39:19      D095297433694D58091EB3D3F5B20671
    *Alert created:<AlertId:00000><RuleName:PI problem><AlertCategory:PIPROBLEM>
    20100507103919,2960000          1  07.05.2010    12:39:19      D095297433694D58091EB3D3F5B20671
    Alert Category 00O2TG5N6YUAVD3MRDXA2QTMA in rule Adapter problem not yet confirmed. Skip creation of new Alert.
    So Can I make the alerts accepted or can I ignore the previous rules created.

    Check if your alert rule (In alert config) has the check box, "Suppress Multiple alerts for thesame rule" checked.
    If yes, you can uncheck that check-box.
    Regards,
    Ravi

  • PO confirmation alerts in SUS portal

    I created PO in R/3 and sent to vendor SUS portal.
    Then vendor didn't confirmed PO so i sent alerts for PO confirmation to vendor.. Now when I am trying to see alerts in SUS portal, its giving error as: "Error in call of back end function for component AlertMonitorComponent: Message type   is unknown., error key: RFC_ERROR_SYSTEM_FAILURE".
    Please guide.

    By PO confirmation I dont mean Goods receipt, but its PO acceptance by vendor.

  • How to pass parameter to function when confirm(Alert.show) closed?

    <![CDATA[
    import mx.controls.*;
    import mx.events.*;
    private function deleteItem(guid:String):void
    Alert.show("Are sure you want to delete?", "Confirm Delete", Alert.YES|Alert.NO, this, alertClicked);
    private function alertClicked(event:CloseEvent) {
    if(event.detail == Alert.YES) {
      Alert.show("yes "+guid); //<-- here I want to get guid
    else if (event.detail == Alert.NO){
      Alert.show("no ");
      return;
    ]]>
    Thanks.

    Hi Itambs,
    You can do the following:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="deleteItem('Dummy GUID VALUE')">
    <mx:Script>
      <![CDATA[
       import mx.controls.*;
       import mx.events.*;
       private var myAlert:Alert;
       private function deleteItem(guid:String):void
        myAlert = Alert.show("Are sure you want to delete?", "Confirm Delete", Alert.YES|Alert.NO, this, alertClicked);
        myAlert.data = guid;
        myAlert.height = 150;
                    myAlert.width = 300;
       private function alertClicked(event:CloseEvent):void{
        if(event.detail == Alert.YES) {
           //Alert.show("yes "+guid); //<-- here I want to get guid
           Alert.show("yes "+ myAlert.data);
        else if (event.detail == Alert.NO){
           Alert.show("no ");
           return;
      ]]>
    </mx:Script>
    </mx:Application>
    Note: you can also do this in another way by decalring a global variable guid as ...... private var _guid:String="";
    set _guid = guid; in deleteItem() function and then in alertClicked() function you can access the value as _guid again...which holds the saved value...
    If this post answers your question or helps, please kindly mark it as such.
    Thanks,
    Bhasker Chari

  • BPMon - Confirming alerts in managed system (SPS23)

    hi,
    does anyone have experience of implementing BADI_BPMON_ALERT_CONFIRMATIO to have the alerts in managed system confirmed when the Solman alerts are confirmed?
    any inputs would be much appreciated.
    Regards,
    Amol

    Hi Pam,
      To answer the first part of your question:
    1) Use the report CRM_RULE_TRANS to transport rules from one system to another.
    2) I havent used much of the alert functionality in terms of changing the look and feel but will get back to you soon.
    Reward points if it helps,
    Thanks,
    Anand

  • Confirmation alert on application close

    I am wondering how you can create an alert to display when the application window is closed by clicking the 'X' button on the main app window (i.e. not a form window). Is this possible in Oracle forms?
    We currently have an alert set to display when the main form is closed by using a WHEN-WINDOW-CLOSED trigger on the form but I can't see how I can go bout creating a the same confirmation box for the main app window.
    Any suggestions?
    cheers

    Thanks Gerd, thats what I was after. Its not perfect as the trigger fires when ever form-runtime loses the focus or as well as being closed. It also means the trigger is at the form-level and not at the application level. I was hoping there would be a trigger or something at the application level as I'm trying to interact with application (not form) behaviour.
    So a combination of using a key-exit trigger along with a combination of global variables and if statements let me track what the user was doing with the application and confirm they wanted to exit. Roll this change out to the 90+ forms in the application and it seems to be working ok.
    Summary, a lot of work and headaches for such a seemingly simple and common task.

  • Confirm Alerts using Inbound Mails

    Hi,
    I have well configured the Alert Manager for CCMS and mails are sended to the recipients.
    Now I like use the 'Alert Confirmation with Inbound Processing' to confirm the Alerts in RZ20.
    All needed settings are made and I receive mails in the corresponding inbox as configured in SO50.
    Please find all my setting :
    1)  TC alrtcatdef --> Settings ---> Configuration
    Inbound Processing user is set. User is called 'MAILCEM'
    2) TC SU01, user MAILCEM has a mail adres '[email protected]'
    3) TC SO50, alle entries are set as mentioned in the Configuration Guides
    Inbound processing has been set up in transaction SO50.
    You must enter the Internet mail address of the alert user, * for document class, and CL_ALERT_CONFIRM_BY_MAIL as the exit name.
    4) I receive mails in my personal mailbox.
    5) The body of the mail has an Alert ID like : Alert ID: ##00852##
    6) When I replay this mail, I receive a mail in the Mailbox of user MAILCEM ('[email protected]')
    7) BUT THE ALERT IS NOT CONFIRMED IN RZ20.
    I can not find the reason why.
    Anybody who can help me?
    Thanks
    Paul
    Edited by: Paul Van Daele on Mar 19, 2008 10:21 AM

    Hi Paul,
    We have the same problem as you mentioned.
    Can you tell us how you resolved?
    thanks

  • Confirming alerts

    I now have alerts in production and my scenarios are very generic. I do not have specific namespace/interface names in my alert config and this works fine for us. The problem however is I have suppress multiple alerts turned on and therefore I get one alert per scenario until I confirm it.
    If there is a different alert on a namespace/interface will I get another alert even if I do not confirm the other one?
    Alerts go into Outlook and ALRTDISP show delivered status even though I read my alert in outlook. In Alert category, I have not check no external id...according to help, it this is unchecked, it created external alert ids so I can cofirm them remotely meaning outlook - is what I'm understandig.
    How can I confirm my alerts as soon as I read them in Outlook. If that is not possible, how can I automatically confim once the message is delivered to outlook - would be ideal.
    I do not see any data in ALRTPROC in all systems...not sure if that is good.
    Any thoughts?
    Pam

    Gourav,
    I'm running some tests to understand this change.In the meantime, would I run into a situation wherein the alerts get created but at the same time, ALRTPROC runs in batch and deletes that alert....in such case, would I still get a copy in my outlook?
    Thanks,
    Pam

  • How to confirm the alerts automatically in the internet mail?

    Hi,gurus:
         I wanna know how  I confirm the alerts automatically in the internet mail.Now we have to navigate to the alert inbox to confirm the alert,but can I do it in the internet mail? I have confirued the parameter in ALRTCATDEF->CONFIGURE->SETTING->INBOUND PROCESSING,but it didn't work.
    Thanks in advance.

    hi,
    I checked the library,and it says:
    Confirming Alerts by Internet Mail
    When an alert is sent by Internet mail, the Internet address of the alert user entered in alert configuration is entered as the Reply To address of the mail. An alert ID is inserted into the text of the mail. When the recipient answers the mail from the alert system, the alert is confirmed automatically. Inbound processing sends a status mail to the sender stating either that the alert has been confirmed successfully, or that an error has occurred. The alert ID must be included in the body of the reply mail.
    My question is: How to reply the mail?Where do I write the the alert ID?any ideas?

  • Viewing alert in my RWB ALERT INBOX !!!

    Hi all
    I have read the blogs/forums in order to implement my alert inbox but until now I don´t know why my I can not see my alerts in the Run Time Workbench Alert Inbox.
    Please see the steps that I have performed.
    In the Abap Side
    I have created an alert category D with this information:
        In the properties tab  I fill  the values fields for Description,priority,Max no of   dels,expiry time in min, escalation active,escalation recipient,tolerance
       In the container tab I have entered some variables
       I fill the long and short text for email
    In Settings ---Configurations      I have only filled the status handling mails  for errors status and the logging fields
    In the Runtime Work bench Alert Configuration
    I have created a new rule for my category
    When I go to the rwb alert inbox , no error was triggered
    In the SLG1 transaction for alert  I have this error : No e-mail address is entered in Customizing for XML forwarding
    Do I have to enter an email address in the Settings ---Configurations?
    My purposes are to show the error alerts in RWB alert inbox …
    In my above descriptions do I had to configure something else?
    be aware that services are running ok .Please give me a step by step action that I have to realize in order to trigger the alerts in the RWB alert inbox.
    I have already read the forums, blogs and note for this, I am a little confused because my implementations are not working.

    Hi,
    Try this...
         1.      From the alert category definition environment (transaction ALRTCATDEF), choose Settings -> Configuration.
           2.      Ensure you are in change mode.
           3.      If you want to be able to confirm alerts by SMS or Internet mail, you must enter the user created to receive all incoming mails in the Inbound Processing section. For more information, see Alert Confirmation.
           4.      In the Status Handling for Mails section, you can specify which statuses are to be reported. The first setting refers to the system being informed, and the second refers to a status mail being sent to the sender.
           5.      In the Logging section, select Write Log only if you want additional information about the actual processing of the alerts. This information is logged using the standard application log and can be viewed in transaction SLG1 (object ALERT).
    (Source: http://help.sap.com/saphelp_nw04/helpdata/en/9c/34193cb4f5131de10000000a11405a/frameset.htm)
    Hope this helps
    Cheers
    Manish

Maybe you are looking for

  • ORA-01400 - not null column with default value and item with authorization

    I've searched - I would think someone has run into this. APEX 3.0.0.00.20 - I've created a simple form on a table. One of the column is a not null column with a default value. I have a select list on that item, but it has security on it - authorizati

  • How to handle ASCII file in file download

    Hi: I have an applet that will download mutiple files to client's PC at the background. It handle binary files (e.g. word, excel) OK. However, for ASCII file, it lost the line feeds, etc. so my multiple-lines file become 1 line (seems to be transfer

  • Is any ipad mini compatible with Ink

    I have this ipad mini iPad mini Late 2012 A1432 16, 32, 64 GB Is it compatible with ink & slider?

  • Oracle RAC Load Balancing

    I have Oracle 10g RAC database with 6 node installed. Now i want to do load balaning for few users not for all. Suppose i have users a,b,c,d & e are there and i want to redirect the login of users a,c & e throgh node 5. How can i achieve this using s

  • July - December training schedule?

    I'm looking for LabView training in July.  The training schedule found on the web site lists classes for January - June.  What about the rest of the year?