Confirmation Message in CC&B

Hi,
I need to create a "Confirmation Message" in a User Exit to perform some validation and a user decides to continue or not with the actions.
Anyone know if this is possible and how to do it?

Can be done but you have to use VBScript instead of JavaScript:
http://www.webreference.com/dhtml/column22/js-vbMsgBox.html

Similar Messages

  • Issue with page processing - confirmation message & show /hide a button..

    Hello,
    I am working on a to do list application.
    I have events and for each event, I show list of tasks (grouped in reports based on the calculated task's status).
    In one region I have a drop down list of events and a Select Event button.
    For each task, I had to create a CLOSE option (initially I used a link, but the requester wanted a confirmation before closing the task).
    Now I have a checkbox for each task (generated dynamically with apex_item.checkbox(1,task_id)).
    Closing a task in my application means to set the end_date to sysdate.
    I followed the instructions from
    http://download-west.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28839/check_box.htm#CEGEFFBD. I've created also a button and a process and updated the sql from "delete" to "update".
    The process is set: OnSubmit - After Computations and Validations; Run Process Once per page visit (default).
    The issue number 1 is that I see the confirmation message (that tasks have been closed) every time I reload the page (the same when I click Select_event button).. not only after I press on that Close_task button..
    For issue number 2, I have to mention that I've added a condition to show / hide the Close_task button, only if I have at least 1 task in the report.
    The issue number 2 is that I see the button only if I click 2 times on the Select_Event button.. The same is for hide.
    I feel like I am missing something very important about how to synchronize different events(buttons clicks), processes..
    help..?
    Thank you!
    Anca

    This forum is magic..
    As soon as write here, I find the answer!
    Issue 1: I fixed it by specifying this: When Button Pressed (Process After Submit When this Button is Pressed) and my button. I miseed this 1st time.
    Issue 2: I moved the button after the report.. and now it's working just fine!
    I did this about it for some time before asking the question here.. but I just had to write here and got the right answer ;)
    Have a nice day!
    Anca

  • Prob.. confirm message

    hey...
    its the updation query.In this page when i click the update button it updates the values in the row..and this query is working...
    I want to do that..when i click a update button it gives me a confirms message whether did u want to update the row and also displaying the particular gl_code no in that confirms message.when i click on yes it updates the row..otherwise it doesnot.
    after updation it shows message that this particular gl_code no is has been updated.
    <%
    String action = request.getParameter("action");
    if (action != null && action.equals("update")) {
    conn.setAutoCommit(false);
    PreparedStatement pstatement = conn.prepareStatement(
    "UPDATE gl_mast SET gl_descr = ?, db_amt = ?, " +
    "cr_amt = ?, gl_type = ? , gl_pct = ? WHERE gl_code=?");
    pstatement.setString(1, request.getParameter("gl_descr"));
    pstatement.setFloat(2,Float.parseFloat(request.getParameter("db_amt")));
    pstatement.setFloat(3,Float.parseFloat(request.getParameter("cr_amt")));
    pstatement.setString(4, request.getParameter("gl_type"));
    pstatement.setFloat(5,Float.parseFloat(request.getParameter("gl_pct")));
    pstatement.setInt(6,Integer.parseInt(request.getParameter("gl_code")));
    int rowCount = pstatement.executeUpdate();
    conn.setAutoCommit(false);
    conn.setAutoCommit(true);
    %>
    <%
    Statement statement = conn.createStatement();
    ResultSet rs = statement.executeQuery
    ("SELECT * FROM gl_mast ");
    %>
    <form action="gl_update.jsp" method="get">
    <input type="hidden" value="update" name="action">
    <tr>
    <td><input value="<%= rs.getInt("gl_code") %>" size="5" name="gl_code"></td>
    <td><input value="<%= rs.getString("gl_descr") %>" size="55" name="gl_descr"></td>
    <td><input value="<%= rs.getFloat("db_amt") %>" size="12" name="db_amt"></td>
    <td><input value="<%= rs.getFloat("cr_amt") %>" size="12" name="cr_amt"></td>
    <td><input value="<%= rs.getString("gl_type") %>" size="3" name="gl_type"></td>
    <td><input value="<%= rs.getFloat("gl_pct") %>"size="5" name="gl_pct"></td>
    <td><input type="submit" value="Update"></td>
    </tr>
    </form>

    int rowCount = pstatement.executeUpdate();
    conn.setAutoCommit(false);
    conn.setAutoCommit(true);
    Just a doubt... could you tell me why you are doing this?
    ***Annie***

  • Jdbc adapter error on confirmation message in message monitor (rwb)

    I have the scenario iDoc -> PI 7 - > jdbc (AS400 odbc driver).
    When I do INSERT statements, the data is stored in the Database and the RWB message monitoring shows status Successfull.
    However, for every insert, an other message shows up in the message monitoring with reversed Sender and Receiver (so it looks like a confirmation message is trying to find its way back to XI). This message first is is Status "Waiting", and after some time gets in Status "System Error".
    As I am not expecting any responses in my XI configuration (as I have no place to send them to), I want to stop these messages showing up in the Adapter Engine (as there will be many Error Status messages that are of no interest to me).
    How can I stop these messages, or what should I do in XI to process them (and dump them in my receiver determination). I have NO  BPM involved .

    Hi,
    For each open connection a entry is made j2ee stack.So when the it reaches to max and execption is thrown.
    In Jdbc adapter configuration -> advance mode -> Set -> Disconnect from the database after processing each message.
    Should solve the prob
    <b>Cheers,
    *RAJ*
    *REWARD POINTS IF FOUND USEFULL*</b>

  • Exporting to PDF - Selection Formula confirmation message

    Hi,
    We're using Crystal Reports 11 from within a Delphi 7 application which, on a timed schedule, loads data into a MS SQL server database and generates and prints or e-mails a report of the data loaded in PDF format. This process should be automatic and not require monitoring but we're now seeing the report generation being stalled by a confirmation message appearing when the report is generated. The message reads:
    Confirm
    Selection Formula for {Report Name} to Printer   // or To Export
    {Selection Formula Here}
    Continue?
    (RETRY=edit with Crystal, All=copy to clipboard)
    Buttons: Yes No Retry All
    Any help appreciated.
    Thanks,
    Garry

    I'm wondering if this could be easily fixed by going to the links panel and then use the "Copy Links To" and set up a new links folder for the job.
    That would copy all the links and then relink to that folder - right?
    Perhaps that's a quick way to get rid of this problem.
    It could be anything though - I've had weird, but not this problem, of files that are on a server can cause link problems.
    I don't know - it's a one of those have to sit down and look at the files to see what's going on situation - like Bob already said.

  • Adding a link to confirmation message

    I noticed there is no link option for text in a confirmation message.
    Am I missing something? Or is there a workaround? Adding HTML?
    Thank you very much for your help,
    Sacha

    Sorry, we currently don't support inserting links into a confirmation message.
    thanks
    Roman

  • How to get the User input of Dynamic Action confirmation message ?

    Hi Guys,
    I'm using apex 4.1,
    I have added a confirmation message box as page Dynamic Action. How can i get the user input of that confirmation pop up ?
    Thanks

    Hi,
    you don't directly get the user input. But you should still be able to get what you want. Let's assume you have a dynamic action which fires for a "Change" (or any other) event and which has two or more actions
    1) Confirm
    2) Execute PL/SQL Code
    If the user clicks Cancel/No in the confirm dialog, APEX will stop the execution of this dynamic action and not run "Execute PL/SQL Code".
    Hope that helps
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Button not disabling using Java Script after confirm message in button

    I have a STAGEDATA button on a form with the following code to prevent Resubmissions (Apex 4.0)
    Action When Button Clicked:
    Action: Redirect to URL
    Execute Validations: Yes
    URL Target:
    javascript:if ( apex.confirm('Have you saved the data on the current page? Please confirm.','STAGEDATA') ) {javascript:this.disabled=true;this.value='Staging data...';apex.submit('STAGEDATA');}
    When I click the button, the confirmation message is displayed.
    However, after the confirmation message is displayed, the button is not disabled and the value does not show, while post processing of the page takes place before moving to the next page.
    Am I missing something?
    Appreciate your help. Thanks in advance

    Hi,
    try adding
    <script>
       alert('Testing');
    </script>
    This actually adds the script to the page body and not the header as af:resources does
    Frank

  • POWL :IF_POWL_FEEDER :2 Confirmation Messages

    Dear All
    We are implementing this POWL interface and overriding its GET_ACTION_CONF method as well to get the confirmation pop-up message .
    However there is a new requirment to show another popup on clicking of yes button of this popup. I am not sure how can we do that . Is it possible for anyone to share some experience as how can we implement 2 confirmation messages in POWL though we only have one method available to us
    Thanks and Regards
    Gaurav

    Hi,
    I faced with the same problem and I found the class CL_POWL_RUNTIME_SERVICES (POWL runtime services) using the follow methods:
    GET_CONTENT_VALUES
    SET_CONTENT_VALUES
    Example:
    Data:
        L_PARAMETER_VALUE TYPE STRING,
        ST_ADDITIONAL_PARAMETER TYPE POWL_NAMEVALUE_STY.
      CL_POWL_RUNTIME_SERVICES=>GET_CONTENT_VALUES(
        EXPORTING
          I_PARAMETER_KEY   = 'ACTION_VIEW_ID'
        IMPORTING
          E_PARAMETER_VALUE = L_PARAMETER_VALUE ).
      If not L_PARAMETER_VALUE is initial.
        ME->GC_ACTION_REQUEST_VIEW_ID = L_PARAMETER_VALUE.
      else.
        ST_ADDITIONAL_PARAMETER-KEY = 'ACTION_VIEW_ID'.
        ST_ADDITIONAL_PARAMETER-VALUE = GC_REQUEST_VIEW_ID_INBOX.
        CL_POWL_RUNTIME_SERVICES=>SET_CONTENT_VALUES                                                                         ( ST_ADDITIONAL_PARAMETER ).
        ME->GC_ACTION_REQUEST_VIEW_ID = GC_REQUEST_VIEW_ID_INBOX.
      endif.
    Keep it in mind, if you have on or more POWL's queries, the parameter's value will be shared for all them.
    Regards,

  • How to disable confirmation message when submitting a pdf form

    How do I disable the confirmation mesage, so that the user does not get at message like " you form has been recieved"  each time data is submitted?
    The reason for my question, is that i have a pdf form that i'd like to fill out offline, store the settings (data) in an array and the when I get online again run a loop that populates the form with the values storen in my array and submits them one at the time to formscentral.
    I'm able to make the loop work just fine, however I do not want to see the confirmation message each time data is submitted,  because my loop is paused each time the confirmation message appears, and the only way to resume it, is to click "ok".
    Hope someone can provide me with some help here

    Hi,
    >>however I do not want to see the confirmation message each time data is submitted,  because my loop is paused each time the confirmation message appears, and the only way to resume it, is to click "ok". 
    Sorry, disabling the confirmation message is not possible.  The confirmation is always enabled.
    Thanks,
    Lucia

  • Add confirmation message

    Hi-
    I've created a simple form and after the user clicks the submit button, I would like to display a brief confirmation message (e.g., "Record submitted").
    I searched the discussion forums but didn't have any luck. I've attached the html and php code below. Thanks!
    ---HTML CODE--
    <body>
    <h3>Add a Record</h3>
    <form action="add_record.php" method="post" name="Add Record">
        <p>Title:
          <input name="book_title" type="text" value="" size="125" />
        </p>
        <p>Author: <input name="author" type="text" /></p>
        <p>Year: <input name="year" type="text" /></p>
        <p>Publisher: <input name="publisher" type="text" /></p>
        <p>Available as ebook?: <select name="ebook">
            <option value="Yes">Yes</option>
            <option value="No">No</option>
            </select></p>
        <p>Amazon Rank: <input name="amazon_rank" type="text" /></p>
      <p><input name="Submit" type="submit" value="Submit" /></p>
    </form>
    </body>
    --PHP CODE--
    <?php
    include("includes/connect_info.php");
    $connection = mysql_connect($hostname, $mysql_login, $mysql_password);
    $dbs = mysql_select_db($database, $connection);
    $book_title = mysql_real_escape_string($_POST["book_title"]);
    $author = mysql_real_escape_string($_POST["author"]);
    $year = mysql_real_escape_string($_POST["year"]);
    $publisher = mysql_real_escape_string($_POST["publisher"]);
    $ebook = mysql_real_escape_string($_POST["ebook"]);
    $amazon_rank = mysql_real_escape_string($_POST["amazon_rank"]);
    $insert=mysql_query("INSERT INTO mydatabase.mytable (book_title, author, year, publisher, ebook, amazon_rank) VALUES ('$book_title', '$author', '$year', '$publisher', '$ebook', '$amazon_rank')");
    mysql_close();
    ?>

    SuperSonic65 wrote:
    Where should I put the header function? I tried putting it right after
    <?php
    but it didn't work. Do I need to delete the exit; since there are functions that follow the header function? Thanks.
    -------PHP CODE BELOW----
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Update Record</title>
    </head>
    <body>
    <?php
    include("includes/connect_info.php");
    $connection= mysql_connect($hostname, $mysql_login , $mysql_password);
    $dbs = mysql_select_db($database, $connection);
    //Assign the data passed from website to a variable
    $book_id = mysql_real_escape_string($_POST["book_id"]);
    $year = mysql_real_escape_string($_POST["year"]);
    $insert=mysql_query("UPDATE mydatabase.mytable SET year='$year' WHERE book_id='$book_id';");
    mysql_close();
    ?>
    </body>
    </html>
    If that page is your PHP page, get rid of everything that comes before <?php and after ?>.  PHP pages do not need HTML in them.  In fact, if you run the header code on a page in that fashion you will typically generate the error saying that the header was already sent, because the HTML <head> was already processed so the PHP thinks its a duplicate. 

  • How to display confirmation message in SPItemEventReceivers

    Is there a way to display confirmation message in ItemAdding event?
    I would like to display confirmation message and based on user input proceed with the other steps.
    public override void ItemAdding(SPItemEventProperties properties)
      // Display confirmation message
      if(OKClicked)
     // Do something
      else
      // Cancel Operation
    Thanks in advance,
    dhijit

    http://sharepoint.stackexchange.com/questions/32055/creating-event-handler-feature-ondeleting
    http://social.technet.microsoft.com/Forums/lync/en-US/39115b48-873b-462e-aa16-a7f7ce5c91d8/sharepoint-2013-online-office-365-list-item-added-event-receiver-how-to-sow-confirmation-message?forum=sharepointdevelopment
    http://social.msdn.microsoft.com/forums/sharepoint/en-US/2941f80e-37c9-4b83-a41c-a9cc712d2e18/display-message-from-itemadded-event-receiver
    http://sharepoint.stackexchange.com/questions/65858/confirmation-message-as-a-popup-for-itemupdating-in-event-receivers
    http://stackoverflow.com/questions/11999312/popup-alert-message-using-event-receiver-in-sharepoint-2010

  • HTML DB  Delete confirm Message

    I have a Delete button and I have TWO QUESTIONS for this Delete button.
    1- How do I implement confirm message to allow the user to either confirm or
    cancel?
    2- How do I have a popup that was three buttons, namely [Delete One Record],
    [Delete All Record] and [Cancel].
    If the user click on [Delete One Record]. One selected record is deleted.
    If the user click on [Delete All Record]. One all records are deleted.
    [Cancel] do nothing.
    Help!

    The javascript confirm popup only has OK and CANCEL options. If you want other options, you'll have to write them yourself (or find one that someone else has already written).
    If you don't want to do that, I have a suggestion: instead of putting two DELETE buttons in the confirm popup, put two buttons on the web page, one for DELETE MARKED RECORD and one for DELETE ALL RECORDS. Each would then call its own individual javascript confirm. Each button would have a different request associated with it, so your process would know which button had been selected from the page.

  • Delete Confirm Message

    Hi All,
    How to create delete confirm message in Webdynpro ABAP.
    Regards,
    Arun

    Hi Arun,
    If you want to create the confimrmation message for deletion option follow the code here to create a window which will display a popup to the user for confirmation with 'YES' and 'NO' buttons.
    DATA:
        api_component TYPE REF TO if_wd_component,
        window_manager TYPE REF TO if_wd_window_manager,
        window TYPE REF TO if_wd_window.
        api_component = wd_comp_controller->wd_get_api( ).
        window_manager = api_component->get_window_manager( ).
        DATA : msg_tbl TYPE string_table,
               wa_msg LIKE LINE OF msg_tbl.
        MESSAGE w120(mmw_adm_mon) INTO wa_msg. "get the message you want to display in the *popup from a message class
       APPEND wa_msg TO msg_tbl. " append that to msg_tbl
        window = window_manager->create_popup_to_confirm(
                       text            = msg_tbl
                       button_kind     = if_wd_window=>co_buttons_yesno "4
                       message_type    = if_wd_window=>co_msg_type_warning "5
                       window_title    = 'Confirmation'
                       window_position = if_wd_window=>co_center )."#EC *
        DATA: view_controller TYPE REF TO if_wd_view_controller.
        view_controller = wd_this->wd_get_api( ).
        DATA: button_text TYPE string,
              tooltip TYPE string.
        button_text = wd_assist->if_wd_component_assistance~get_text(
      '026' ).
        tooltip = wd_assist->if_wd_component_assistance~get_text( '111'
        CALL METHOD window->subscribe_to_button_event
          EXPORTING
            button            = if_wd_window=>co_button_yes "6
            button_text       = button_text
            tooltip           = tooltip
            action_name       = 'ON_YES'
            action_view       = view_controller
            is_default_button = abap_true.
        button_text = wd_assist->if_wd_component_assistance~get_text(
      '027' ).
      tooltip = space.
    *          tooltip = wd_assist->if_wd_component_assistance~get_text( '040'
        CALL METHOD window->subscribe_to_button_event
          EXPORTING
            button            = if_wd_window=>co_button_no "7
            button_text       = button_text
            tooltip           = tooltip
            action_name       = 'ON_NO'
            action_view       = view_controller
            is_default_button = abap_false.
        window->open( ).
    and create the action methods ON_YES and ON_NO to handle the events.
    Regards,
    Anil kumar G

  • How to display a confirmation message to the second stage approver.

    Hi,
    I am working on an application which involves 2 stages of serial approvals. After the first stage approval, the request is forwarded to the second stage. When the second stage approver approves the request, the workflow proceeds with the user creation. I would like to let the second stage approver know about the status of user creation after he clicks the approve button. It can be just a simple message saying that the user creation has been successful or unsuccessful.
    My question is how is it possible to show this confirmation message to the second stage approver after the user creation process?
    I tried to use manual action. But it is not working(probably because the owner of the workflow is different from the second stage approver). Is there any other way to implement this?
    thanks,
    manoj.

    It is really simple to implement, you have to just write another manual action to second supervisor after user creation and pass the result to manual action.
    Hoping you are tried to create simple user with out assigning so many resources otherwise it will take time to load.
    Please let me know if you face any issue to implement.

  • Is Confirmation Message possible in case of File to IDOC

    Hi Friends,
    It’s a File (sender) to IDOC (receiver) interface. Once the IDOC is posted correctly in SAP, is it possible to generate a confirmation message back to sender file? 
    I want to know if there is any way to inform the sender system that the transaction was successfully created.
    Thanks in advance.
    Regards,
    Meghna.
    Edited by: meghna swaraj on Mar 27, 2008 1:53 PM

    Hi Friends,
    It’s a FILE to IDOC interface. confirmation message back is needed to sender file, for that I followed the below link for Configuring the IDOC acknowledgment ALEAUD.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    As specified in point 7 and 8, used the transaction RBDSTATE & created the variant SAP_AUDIT_SEND for report RBDSTATE and scheduled a background job at receiver system.
    Here the problem is, acknowledgment for ALEAUD getting scheduled twice, as a result two IDOC’s ALEAUD is generated.Instead it should get scheduled only once.
    Can any one tell me why the job is getting scheduled twice.
    Thanks in advance.
    Regards,
    Meghna.

Maybe you are looking for

  • Problems with basic setup

    hello, yesterday I have bought a wireless-G Broadband Router (WRT54G). I think I have connect everything fine. But when I open the basic setup (http://192.168.1.1/) and I give my password I get this: http://users.skynet.be/fa853774/test/netwerk.JPG .

  • What I ment Was that: No more data are being ploted anymore when clearing the graphs

    When I clear the graphs or clicking the stop, the data that shall be plotted afterwards are not visible any more. The graphs stays empthy ! regards zamzam HFZ Attachments: FlowReadChartHist1_mod2.vi ‏79 KB

  • Ask for help

    Hi, I'm currently writing a network program similar to "Fastest Finger" in "Who wants to be a Millionaire". I can get the questions (and answers which is hidden from player's view) from server which is in correct order. However these selections are d

  • Trouble Mapping to Hidden Share

    Hello, I have a web server that is not part of the domain. From my workstation, I am able to map to the hidden share C$ using the local built-in administrator account. However, I am unable to map to the hidden share C$ using a newly created account o

  • BI Publisher : view Template HTML with graph=String index out of range: -1

    Hello, Do you have the same problem : I have made an rtf template with graphics, I have published it and when I edit it with BI Publisher as HTML model, I have the error : String index out of range: -1 but I am able to see it as RTF model ? As PDF mo