Display Message from a procedure

Hi
I have a trigger when-button-pressed. It has a prcedure that would be run. The procedure would display a message once it is run. I would like to display the message on a popup window on the form. How can I achieve this

Hello,
thaks for the lot of details you give...
I suppose thart "external" is database ? If yes, you cannot directly display a message to Forms.
You can manage this only when the control returns back to Forms.
Francois

Similar Messages

  • Why is Mail 6.2 not displaying messages from my Exchange account?

    Greetings,
    I have a new 13" MacBook Air running Mountain Lion and I'm noticing that most of the time my Mail inbox is not displaying messages from my work Exchange account; however, it does display messages correctly for my Gmail account.  I've included a screen shot of what I'm experiencing.
    Any ideas?
    Thanks,
    Garry

    I have the same problem, as does a coworker. It happens, for instance, if I click on another mailbox (such as Junk) then go back to the inbox. Our company uses Exchange. Quitting mail usually fixes it. A rebuild of the mailbox will too.  Only happens on my Mac at work, not my Mac at home (connected via VPN).
    Another problem I have is with mail not syncing. Mail I have deleted from another device (such as on my Mac at home or my iPad) does not get deleted from my inbox at work. Sometimes they'll go away when I click on them. Other times they won't go away and the only way to delete them is to rebuild the mailbox.
    And lately I have had problems with attachments. Attachments sent from my Exchange account at work show up as .eml attachments in my iCloud account and mime attachments on my iPad or as a string of characters (20-30), not as an attachment. This happens whether sent from home or work.
    I have our IT department looking into the third problem (which is the most vital one for me).  I'll report the other two annoying problems and see what they can figure out.

  • Display message from exit function on web

    Hi all,
    Is there a way to display the output error message from Exit Function on web interface?
    Regards,
    Kadir

    Hi All,
    I have a similar problem - but for variable exits.
    The solution posted by Kadir works fine for an exit changing xthdata (bps exit function).
    I want to display a message in Web created within an bps variable exit. In this case the  solution does not work.
    Does anyone of you experts have an idea how to append a message to the message table used for the WebInterface?
    Thanks in advance and best regards
    Steffen

  • Display messages from PL/SQL?

    I am running some PL/SQL code from Application Builder > Page Definition > Processes After Submit > Source. Can the PL/SQL code be written to display messages (like the Messages attribute does)?
    I tried using htp.prn, but couldn't make it display. How do you do it?
    Thank you.

    Wolfram,
    Since your process is running after submit any calls to htp.prn will not be displayed. In order to see your messages you either have to run your process before header or at any of the other processing points during the rendering portion of a page or you have to assign the display message to a page item which will maintain the value for when the next page is rendered.
    Cheers,
    Tyson Jouglet

  • Display error messages from Stored Procedures through ODBC

    I am working on a C++ application that uses an Oracle ODBC connection. In the exception part of a stored procedure I am using dbms_output.put_line ('error message'). Is there any way to display this message in the C++ application?
    Thanks.

    There are two parts.
    The stored proc must 'throw' an exception.
    And java must catch it.
    You probably already have the java part. That is the catch(SQLException).
    As for the stored proc you can use the following search string in the jdbc forum
    raise oracle
    You need to use 'raise' in the stored proc but I am not sure of the exact form, but one of the threads using the above search string is likely to have it.

  • Displaying data from stored procedure into textbox fields based on user input.

    I have a stored procedure that is selecting data from a table called "Vendor" in my database.  The data that is being returned are vendor names, vendor addresses, vendor Id's, etc...In my stored proc, I have one parameter that allows
    the user to enter a vendor name and then return all the data for that specific vendor.  The report that I'm building is going to look like a basic form with a bunch of textboxes on the screen labeled Vendor Address, Vendor Id, Vendor City, Vendor State,
    etc...In the report I'm trying to build, the user will enter in a vendor name and then it will return all of the vendor's data based on what the user searches for.  However, the report will only return ONE vendor's data at a time. 
    The problem is that some of the data in the database has very similiar vendor names, but different vendor addresses, vendor Id's, etc...In some instances the vendor name is actually
    exactly the same, but the vendor address, vendor city, vendor Id, is all different.  So what I did was added another parameter in my report that shows a drop down list of vendor names based on the wildcard search the user just did and
    allows the user to select the exact vendor name that he/she is looking for based on what they searched.  The problem I'm having is that I don't know what expression I need to put in each one of my textboxes to retrieve the correct data from
    the vendor table that the user selects from the drop down list.  So what I want to do is return the exact data from the vendor table based on the selection that the user makes from that drop down list.  It's like I somehow have to compare the
    drop down list parameter directly to the dataset but I don't know what expression needs to go in the textbox.  I've tried...=First(Fields!VendorName.Value, "DataSet1").EqualsParameters!DropDownList.Value(0) but I keep getting an error message.
    --Here is an example of the kind of thing the user might search for...when the user searches the word "sprint" it returns three different vendor names to the drop down list.
    1. sprint
    2. sprint
    3. sprint co
    Each one of those three vendor names has a different vendor address, vendor city, vendor ID, etc...but the vendor names are extremely similar and in some cases
    exactly the same. In my report now I can't get the textboxes to return the correct data based on what the user selects.  Any advice at all is greatly appreciated.
    P.S. I didn't even know what SQL Server was a month ago and had zero knowledge of SSRS at all.  I've learned a lot recently, but if you could explain a solution in the easiest way possible I would appreciate it. Thanks!

    Hi Jrcowles,
    If I understand you correctly, you wnat to list all the Vendor Name which like the user typed Vendor Name on a drop-down list, right? If in this case, we can use a cascading parameters to achieve your requirement. I have tested it on my local environment,
    the steps below are for you reference.
    Create an other stored procedure using the query below.
    CREATE PROCEDURE GetVendorName
    @VendorName NVARCHAR(50)
    AS BEGIN
    exec( 'SELECT * FROM Vendor WHERE VendorName LIKE ''%'+@VendorName+'%''')
    END
    Create another dataset DataSet2 and using the new created procedure.
    Create another parameter VendorName2 and check "Allow Multiple Values" for this parameter.
    On the Available Values tab, check "Get values from a query". Select corresponding dataset and field.
    On the Default Values tab, check "Get values from a query". Select corresponding dataset and field.
    The screenshots below are for you reference.
    Reference
    http://technet.microsoft.com/en-us/library/aa337169(v=sql.100).aspx
    http://www.msbiguide.com/2012/02/adding-cascading-parameters-to-ssrs-reports/
    Regards,
    Charlie Liao
    TechNet Community Support

  • Response message from stored procedure

    I have created  the stored procedure(oracle)
    CREATE OR REPLACE PROCEDURE UPDATE_INSERT(sHID IN VARCHAR2,sZNAME IN VARCHAR2,sZDATE IN DATE)IS
    I NUMBER;
    BEGIN
    SELECT COUNT(HID) INTO I FROM ZSO_H WHERE HID = sHID;
    IF I > 0
    THEN
    begin
    DELETE FROM ZSO_H WHERE HID = sHID;
    end;
    END IF;
    INSERT INTO zso_h VALUES(sHID,sZNAME,sZDATE);
    commit;
    END UPDATE_INSERT;
    It's proxy to jdbc synchronous scenario.
    I can see data saved in the table, and sucessfull in communication channel monitoring.
    but sxmn_moni, get error,(SAP system)
    <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
    sxmb_moni in XI
      <?xml version="1.0" encoding="utf-8" ?>
    - <ns0:t002_ora_response xmlns:ns0="http://topfine.com/proxy">
      <st3_response />
      <st3_response />
      <st3_response />
      <st3_response />
      <st3_response />
      </ns0:t002_ora_response>
    but structure is
       <st3_response>
          <insert_count/>
          <update_count/>
       </st3_response>
    and the db request message is
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:t002_ora xmlns:ns0="http://topfine.com/proxy">
    - <st3>
    - <spName action="execute">
      <table>UPDATE_INSERT</table>
      <SHID type="VARCHAR">21</SHID>
      <SZNAME type="VARCHAR">21</SZNAME>
      <SZDATE type="DATE">2010-11-21</SZDATE>
      </spName>
      </st3>
    - <st3>
    - <spName action="execute">
      <table>UPDATE_INSERT</table>
      <SHID type="VARCHAR">22</SHID>
      <SZNAME type="VARCHAR">22</SZNAME>
      <SZDATE type="DATE">2010-11-21</SZDATE>
      </spName>
      </st3>
    then how to get update_count in  response message?
    Edited by: Shen Peng on Nov 21, 2010 8:35 AM

    Can you jus let know totally how many are getting Updated and inserted for the Proxy u sent....I am guessin the response from ur DB is
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns0:t002_ora_response xmlns:ns0="http://topfine.com/proxy">
    <st3_response />
    <st3_response />
    <st3_response />
    <st3_response />
    <st3_response />
    </ns0:t002_ora_response>
    So probably four records are getting updated or inserted...
    Check this blog may be helpful
    /people/siva.maranani/blog/2005/09/16/xi-how-to-on-jdbc-receiver-response

  • Message from Page procedure

    Hi All,
    I am calling multiple procedures on Submit button(Page processing) and on the basis of the data passed to procedures getting error/success messages as out parameter. I need to display these error messages on the page. How could I do this?
    Thanks in advance.
    Ranjan

    Ranjan,
    Go to your branch and check
    include process success message
    there.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Send JMS messages from Oracle Procedure

    Hi
    I need to write an Oracle procedure that would send a JMS message. So please share your thoughts on how this can be done in Oracle.
    thank you

    sdk11 wrote:
    Hi
    I need to write an Oracle procedure that would send a JMS message. So please share your thoughts on how this can be done in Oracle.
    thank youhttp://www.lmgtfy.com/?q=Oracle+procedure+that+would+send+a+JMS+message
    Handle:      sdk11
    Status Level:      Newbie
    Registered:      Jan 13, 2010
    Total Posts:      56
    Total Questions:      30 (27 unresolved)
    why so many unanswered questions?
    Edited by: sb92075 on Jan 12, 2012 8:44 AM

  • Capture error messages from stored procedure calls

    Hi there,
    How do I capture a stored procedure calls error messages provided the stored procedures does not have output parameters? This questions applies to Oracle 7.3.4 stored procedures calls.
    TQ
    Neo

    There are two parts.
    The stored proc must 'throw' an exception.
    And java must catch it.
    You probably already have the java part. That is the catch(SQLException).
    As for the stored proc you can use the following search string in the jdbc forum
    raise oracle
    You need to use 'raise' in the stored proc but I am not sure of the exact form, but one of the threads using the above search string is likely to have it.

  • Display messages from FM

    Hi All
    I am using FM SHP_DELIVERY_CREATE_FROM_SLS, it returns messages ET_MESSAGES.
    How can i collect and display these message in WD. I know by using T100 message,
    but here getting type problem? please help.
    Thanks,
    Venky.

    Hi,
    Please make sure the data type of the 3 parameters (msgid, msgno, msgty) is as type define within the method.
    Alternatively, this is how I did it my way...
          DATA ls_messages TYPE bapireturn1.
          ls_messages-id      = 'PG'.               " TYPE syst-msgid
          ls_messages-number  = '199'.        " TYPE syst-msgno
          ls_messages-type    = 'E'.               " TYPE syst-msgty
          wd_comp_controller->go_message_manager->report_t100_message(
            EXPORTING
              msgid = ls_messages-id
              msgno = ls_messages-number
              msgty = ls_messages-type ).

  • Paging a message from stored procedure

    How can we write a code in pl/sql to send a pager message to a specified pager ?
    Atul

    If you can send an email to pager then you may use utl_smtp package
    otherwise you have to clarify how technically you can send a message to pager
    Maybe you need some hardware costing 1M $ ;)

  • Display Message from automatically FOX-Formula

    Hello,
    we are using a FOX-Formula as automatically Function "After data change" within the planning-layout (WebInterface).
    Does anybody know, how we can tune the function / layout, that we will see this message if the conditions agree?
    For example:
    IF {ZK_MWERTD, '301', 'KVBE', '01'} <> 0.
      MESSAGE I002(ZBW).
    ENDIF.
    If we are using this function by function-button, it works quite well. But not in this case, we are using it by automatically function.
    Best regards
    Daniel Eiduzzis

    Hi Daniel,
    if I remember it right, the messages do only appear if they are error messages.
    I am not sure about Warnings, so try it with the message type W or E.
    regards
    Cornelia

  • Mail not displaying messages from self as Unread

    Mails that I send to myself have suddenly stopped showing up as automatically unread in the inbox. Neither does the dock icon for Mail show the red circle indicating a new mail. Similarly with Ical mails alerts to me. Any clue which setting has got messed up?

    Once upon a time, with POP access at least, addressing a Gmail message to self would not be presented for download, and only available on the server view via browser. I can't remember when or if I tested IMAP access.
    Just now I sent a test, and on my two Macs it is presented as Read on both.
    Gmail is neither pure IMAP nor pure POP, and it can be weird.
    Ernie
    Message was edited by: Ernie Stamper

  • Dynamically display messages in JTextArea

    Hello everyone! I have a problem with my code so i hope someone can help me out. I am not very advanced to Java but i have to create a chat program. My problem is that i dont know how to display messages from different users into my JTextArea. I haven`t connected my program to a server yet because i am still working on the interface.
    So how can i display dynamically messages so that it looks like an interactive chat window. Here is my code.
    Please bear in mind that i will use only a username not a password.
    Thanks
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import javax.swing.JFrame;
    import javax.swing.JTextArea;
    import javax.swing.JTextField;
    import javax.swing.JScrollPane;
    public class Jchat extends JApplet implements ActionListener
         JLabel label1 = new JLabel ("Welcome to ... CHAT");
         JTextField write = new JTextField(30);
         JTextArea output = new JTextArea(10,35);
         JButton button1 = new JButton("Send");
         JButton button2 = new JButton("Clear");
         Container con = getContentPane();
         Font headline = new Font("Georgia", Font.ITALIC, 18);
         JScrollPane scroll = new JScrollPane(con,ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS,ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
         JScrollPane scrollOutput = new JScrollPane(output);     
         public void init()
              con.setPreferredSize(new Dimension(700,400));
              label1.setFont(headline);
              con.setBackground(Color.gray);
              con.setLayout(new BorderLayout());
              con.add(label1,BorderLayout.NORTH);
              con.add(output,BorderLayout.CENTER);
              con.add(write,BorderLayout.SOUTH);
              con.setLayout(new FlowLayout());
              con.add(button1,BorderLayout.EAST);
              con.add(button2);
              button1.addActionListener(this);
              button2.addActionListener(this);
              write.addActionListener(this);
              write.requestFocus();
              //cannot change text in the text area screen
              output.setEditable(false);
              output.setLineWrap(true);
              //scrollOutput.setVerticalScrollBarPolicy(38);
              setContentPane(scroll);
         public void actionPerformed (ActionEvent e)
              Object source = e.getSource();          
              if (source == button2)
                   write.setText(" ");
              else if (source == button1 || source == write)
                   String input = write.getText();
                   con.add(output,BorderLayout.CENTER);
                   output.setText("User says: " + input + '\n');
                   validate();
    }and the other one
    <html>
         <head>
              <title> </title>
         </head>
         <body>
              <APPLET
                   CODE="Jchat.class"
                   WIDTH=500
                   HEIGHT=300>
              </APPLET>
         </body>
    </html>

    the border layout declaration has nothing to do with my question.Maybe not, but at least it would should that you took the time to read the suggestion.
    And what you advised me to use TextArea.append(...); is not very specific.Well, neither was your question, so I gave the best suggestion I could. If it wasn't helpfull, then I would assume you would post a followup question to clear up the confusion.
    setText(...) replaces all the text in the text area.
    append(...) adds the text to the bottom of the text area.
    If you didn't understand how/why to use the append(...) method why would you create a new posting? Would you not post a followup question in the original posting? Are we supposed to be mind readers and guess that you can't read the API to determine how a method should be used?
    Of couse maybe I don't understand what you mean by "interactive chat", in which case reposting a question with the same wording won't help get the problem solved either.

Maybe you are looking for