How to show a message in a query BI7?

Hi everybody,
In BI7, I need to show an error message that the selection screen of a query to after checking a variable.
I tried the following in the code of customer exit for variables (step 3):
1. Put "MESSAGE E899(bd) WITH text-008" but after show me the message, interrumped the conexion with BEx.
2. Put the functions:
       CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
          EXPORTING
            i_class  = 'R9'
            i_type   = 'I'
            i_number = '108'
            i_msgv1  = l_msgv1
          EXCEPTIONS
            dummy    = 1
            OTHERS   = 2.
        CALL FUNCTION 'RRMS_MESSAGES_SHOW'.
        CALL FUNCTION 'RRMS_MESSAGES_DELETE'.
        sy-subrc = 4.
        raise no_replacement.
   But after the message appears, it shows another warning message "Variables contain invalid values" and then doesn't do anything (i.e. BI hangs up and is unresponsive).
The idea is that after the error message appears and is closed, the system returns to the selection screen for give the possibility to enter a correct value.
Thanks in advance.
Marcela

.

Similar Messages

  • How to show warning message in am

    How to show warning message in am but not Stop , it still can go ahead.
    Thank you very much.

    jamras ,
    If i got you correct you wanna show user a list fo warnings after that have occured in some method in AM, and show them to user collectively, and the processing of the page should not stop in the above. What you need to do for it, is instead of throwing warning message in AM, collect all warnings in a arraylist or vector. when you navigate back to CO, iterate through this arraylist/vector and for each use pagecontext.putDialogmessage(oaexception).In this way you will be able to show all warning messages on page and your processing will not stop!
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to show error message using java.awt?

    How to show error message using java.awt?
    Which is the class corresponding to the JOptionPane?
    Or I need to use Frame ?

    No, JOptionPane is swing!
    You would have to create your own frame, put your message in it, then show it.

  • How to show only key in mdx query

    Hello Experts
    i have mdx query such as :
    SELECT
    [Measures].MEMBERS ON AXIS(0) ,
    NON EMPTY [ZCHANNEL].members
    Properties [ZCHANNEL].[2ZCHANNEL]
    ON AXIS(1)
    FROM ZIC_TPL/ZIC_TPL_DETAIL
    SAP VARIABLES
    [ZVSOCALM] INCLUDING [0CALMONTH].[200605]
    the result from this query are zchannel text and zchannel key
    how to show only zchannel key ?
    really appreciate your help.
    regards
    JeiMing
    Message was edited by: JeiMing Tjiam

    Hi Juice
    Yes, i have already tried setting zchannel as key only in my query
    but the result from mdx query still shown key and text
    Regards
    JeiMing

  • How to show error message to user as I want?

    Hello.
    1)I write application for library in Java. I want to show down message to user as "Not this book in library"
    integrity constraint (LIBRARY.BOOK_USER_B_FK) violated - parent key not found
    2) Can I change message text for user ? If can, how?
    Thanks

    String query = insert into book_user user_id, book_id , out_date, in_date values( 2011005 , 123456 , to_date('14.4.2011','dd.mm.yyyy') , to_date('14.4.2011','dd.mm.yyyy') )
    k = insert.update(query);
    if(k == 0){
    JOptionPane.showMessageDialog(this,Errors.getError1() ,"Book", WIDTH);
    }else{
    JOptionPane.showMessageDialog(this, k + " it is ok" ,"Book", WIDTH);
    *public class Errors {*
    private static String error1;
    *public static String getError1() {*
    return error1;
    *public static void setError1(String error1) {*
    Errors.error1 = error1;
    public int update(String query) {
    try {
    ods = new OracleDataSource();
    ods.setURL(read.readUrl());
    ods.setUser(Common.getUser());
    ods.setPassword(Common.getPassword());
    conn = ods.getConnection();
    stmt = conn.createStatement();
    a = stmt.executeUpdate(query);
    conn.commit();
    conn.close();
    } catch (SQLException e) {
    System.out.println("excetion_update + " + e.getMessage());
    Errors.setError1(e.getLocalizedMessage());
    catch (IOException w){
    w.getMessage();
    return a;
    I am new to Java, sorry this codes:((
    Thanks

  • How to show warning message in two Lines.

    Hi,
    Can some one please let me know how to show a warning message in two lines. I have created a Message in EBS in two lines but it still displays on the page in a single line.

    use bundled exception.
    ArryList peerExceptions = new ArrayList();
    peerExceptions.add(new OAException(....));
    peerExceptions.add(new OAException(....));
    OAException.raiseBundledOAException(exceptions);
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to show a message in a form 'PL/SQL Button Event Handler'

    We need validate the sal of an employee, and if it is bigger the value musts
    not be inserted.
    We trying a code like the one shown in the note 134312.1 'HOW TO PASS A
    PARAMETER FROM A PORTAL FORM TO A STORED PROCEDURE' and it works in the insert event of the insert button (using 'PL/SQL Button Event Handler') and it works, but we need to show a message that says the data wasn't inserted. How can we do this?
    The code we used is:
    declare
    v_deptno scott.emp.deptno%type;
    v_empno scott.emp.empno%type;
    v_sal scott.emp.sal%type;
    mySal scott.emp.sal%type;
    v_string varchar2(256);
    blk varchar2(10):='DEFAULT';
    begin
    select sal into mySal from scott.emp where empno=7369;
    v_deptno:=p_session.get_value_as_number(p_block_name=>blk,
    p_attribute_name=>'A_DEPTNO');
    v_empno:=p_session.get_value_as_number(p_block_name=>blk,
    p_attribute_name=>'A_EMPNO');
    v_sal:=p_session.get_value_as_number(p_block_name=>blk,
    p_attribute_name=>'A_SAL');
    v_string:='You just inserted empno: '||to_char(v_empno) ||'to deptno ->
    '||to_char(v_deptno);
    if mySal < v_sal then
    doInsert;
    else
    -- We want to display a message here, when mySal > v_sal
    end if;
    end;
    ----------------------------------

    I did something similar but wasn't using a stored procedure. Couldn't you set a flag variable once you know you're not doing the insert and in the "before displaying the form" section put an IF to check if your flag was set, and if so do an HTP.Print('You are overpaid buddy!');
    Then just reset your flag.

  • How to show error message on page #NOTIFICATION_MESSAGE#?

    Hi,
    Is it possible to show error message on a page, where apex substitutes #NOTIFICATION_MESSAGE# at page template, with a javascript call? My requirement is to report error messages which i get from ondemand process, these on-demand processes were called from my javascript code. If any error message is returned by on-demand process, as of now, I'm reporting the error message to user by javascript based alert dialog box, but it would much better if i could keep the error message reporting by my application in a consistent manner. So any suggestion please?
    -Krishna

    Hi Roel,
    Thanks, jumping in for help.
    I tried your given code, i found that the page html source doesnt has any element with a name '#messages'. As per my understanding, its the apex engine which checks for any error, if found it shows it by adding an element id '#messages', but here on my requirement its not the apex engine which has detected the error, its my functional logic which wants to report a message. On a normal and error free page condition, we usually dont find '#message' element. I'm curious on how apex inbuilt engine is reporting an error to a page?

  • How to Show Inline Message in Oracle ADF 11g Release 1.

    Can you please tell me how to show inline error Message on particular field.

    If I understand your requirement correctly you need to show a particular error message showing a red mark around the field like in required case right ?
    You would need to do it programmatically by using the following code -
                    FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR,"Error on this field", null);
                    facesContext.addMessage(uiComponent.getClientId(facesContext), msg);//where uiComponent is the binding of the component in the bean ,on which the error needs to be shown.

  • How to show the message text for constraint violations

    Hi all,
    In a batch procedure a primary key is violated (ORA-00001). For the primary key, a message is recorded in the TAPI and the message table.
    How to show the enduser a proper message text instead of the ORA-00001.
    We are using Designer 6 with Headstart 2.1.2.
    Thanks in advance,
    Joep

    Joep,
    If you try to insert the record by calling the ins procedure of the Table API, you will see that it will result in an ORA-20998 message, which means that the error message details reside in the CG$ERRORS plsql message table. These messages can be extracted e.g. with the messages.sql script, shipped with headstart.
    If you do not want to rewrite your direct DML (insert into [table name] ...) in the complexer calls to the TAPI services, you might want to user VAPI's for it. In fact, this is one of the major advantages of using VAPI's.
    The CDM guidelines volume, chapter 6 states that:
    <I>The front end no longer needs to trap declarative constraint
    errors (Primary Key, Unique Key, Not Null and Check
    Constraint violations) and replace them with a user-friendly
    error. The View API issues DML statements through the TAPI
    and the TAPI traps all declarative constraint errors, and puts
    user-friendly message on the stack, in the preferred language of
    the user! Fore more information, see the section, Completeness
    of Rule Violations Reported in Front End, in this chapter.</I>
    So the only thing you need to do is generate VAPI's, and trap the ORA-20998 message (qms$errors.qms$exception) in an exception handler, where you retrieve the user friendly messages from the message stack!!
    Regards, Marc

  • How to show error message in a report program

    Hello Guys,
    I am making a report using smartforms. I am successful in showing data  but problem is if if i put a value in parameters that does not exist is database, the smartform runs and related fields shows as empty fields. But the form is running. I want to show error message if the parameter values dose not matches with the database values. The message will show as Document not exists
    So i used related error msg here like
    if sy-subrc ne 0.
              message e357.
               endif.
    But it is not working for passing values to smartform. It works if i use in classical report. Plz help me on this issue.
    Thanks,
    Rosaline.

    >
    Rosaline. wrote:
    > Thanks all for reply.  Should i have to use message before call function 'SSF_FUNCTION_MODULE_NAME' ? I tried it but not working.
    >
    >
    if it_final[] is not initial.
    >*             if sy-subrc ne 0. ---> "Remove this condition check, it not required
    >            Message e000(8i) with 'Parameter value not found'.
    >            endif.
    > *            endif. ---> "remove this
    >
    Hi,
    Sy-subrc doesnt need to be validated here, remove that If condition and check again.
    Regards,
    Karthik D

  • How to show multiple messages for a single exception

    hi
    Please consider this example application created using JDeveloper 11.1.1.3.0
    at http://www.consideringred.com/files/oracle/2010/MultipleMessagesExceptionApp-v0.01.zip
    It has a class extending DCErrorHandlerImpl configured as ErrorHandlerClass in DataBindings.cpx .
    Running the page and entering a value starting with "err" will result in an exception being thrown and multiple messages shown.
    See the screencast at http://screencast.com/t/zOmEOzP4jmQ
    To get multiple messages for a single exception the MyDCErrorHandler class is implemented like
    public class MyDCErrorHandler
      extends DCErrorHandlerImpl
      public MyDCErrorHandler()
        super(true);
      @Override
      public void reportException(DCBindingContainer pDCBindingContainer,
        Exception pException)
        if (pException instanceof JboException)
          Throwable vCause = pException.getCause();
          if (vCause instanceof MyMultiMessageException)
            reportMyMultiMessageException(pDCBindingContainer,
              (MyMultiMessageException)vCause);
            return;
        super.reportException(pDCBindingContainer, pException);
      public void reportMyMultiMessageException(DCBindingContainer pDCBindingContainer,
        MyMultiMessageException pException)
        String vMessage = pException.getMessage();
        reportException(pDCBindingContainer, new Exception(vMessage));
        List<String> vMessages = pException.getMessages();
        for (String vOneMessage : vMessages)
          reportException(pDCBindingContainer, new Exception(vOneMessage));
    }I wonder if calling reportException() multiple times is really the way to go here?
    question:
    - (q1) What would be the preferred use of the DCErrorHandlerImpl API to show multiple messages for a single exception?
    many thanks
    Jan Vervecken

    fyi
    Looks like using MultipleMessagesExceptionApp-v0.01.zip in JDeveloper 11.1.1.2.0 (11.1.1.2.36.55.36) results in a different behaviour compared to when used in JDeveloper 11.1.1.3.0 (11.1.1.3.37.56.60)
    see http://www.consideringred.com/files/oracle/img/2010/MultipleMessages-111130versus111120.png
    When using JDeveloper 11.1.1.2.0 each exception seems to result in two messages where there is only one message (as intended/expected) per exception when using JDeveloper 11.1.1.3.0 .
    (Could be somehow related to the question in forum thread "multiple callbacks to DCErrorHandlerImpl".)
    But, question (q1) remains and is still about JDeveloper 11.1.1.3.0 .
    regards
    Jan

  • How to show a message when a workflow is finished

    hi i have a SharePoint list which has a list WorkFlow once an item is added to a list it copies the item to another list.
    now i need to show a message box when an item is added to the other list by the WorkFlow.
    Alen Austin

    This is not really what WF is about.
    You can send an email, or set a value in one of the list item fields. That's about it.
    w: http://www.the-north.com/sharepoint | t: @JMcAllisterCH | YouTube: http://www.youtube.com/user/JamieMcAllisterMVP

  • How  to  show  error  message ?

    I have an awt frame in which i have a textfield and button and i want to show a popup when the button is clicked and the textfield is empty.With JPanel i can show it by showing message dialog JOptionPane.showMessageDialog(null, "hi ","Empty",JOptionPane.ERROR_MESSAGE);
    How to do it with awt.frame
    i know its simple but i am confusedThanks in advance

    Sorry about that! I see that you wanted an AWT response rather than Swing. The method could look like this for the AWT:
         private void display()
              Frame frame = new Frame("Error!");
              frame.setLayout(new FlowLayout());
              frame.addWindowListener(new WindowAdapter() {
                   public void windowClosing(WindowEvent e) {
                        System.exit(0);}
              frame.setSize(200, 75);
              Label label = new Label("You must enter a value!");
              frame.add(label);
              frame.show();
         }

  • How to show the data of one query since Forms9i using to Report built-in on

    Hello!!!, I have Developer 9i (Forms and Reports), the OCJ4 and repserver90 are running, now, I attempt to run one report from Forms9i, and only it appears an empty page HTML. I don't understand why doesn't show the data of query?
    Please, give me a solution for this problem, thanks for your help.
    PD: I am using the below code.......
    PROCEDURE bring_report IS
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := find_report_object('Q_DATA1');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'html');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'repserver90');
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('http://172.16.2.18:8888/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
    ELSE
    message('Error when running report');
    END IF;
    END;

    Alex,
    the code does look good. maybe the Reports query does not produce an output. You can trace this ny adding a header on top of teh Reports (e.g. a date or just saying "Hello World"). So instead of an empty page this should now show the text strings. If you don't see the string then there is something else going on. Since you are not getting any error message I assume that the Reports itself executes fine.
    Frank

Maybe you are looking for

  • Display Problem in Swing application

    I have a java application.I am running it in Windows XP sp2.In this i see that some of the icons are missing and also not properly displayed.Can anybody tell me what is the reason behind this.

  • Why won't my iMessage or any other browsing or date work?

    Usually when my iMessage won't work or I can't use any browsing data, such as checking emails or using safari, restarting my phone will allow me to use iMessage and browse when it turns back on. However, today I restarted it numerous times and it sti

  • System should not allow to do the changes in PO once the ID created.

    Hi All, Once the Inbound Delivery is Created based on the Purchse Order, System should not allow to do the changes in the Purchase Order like Deletion of Item, etc.. Any Configuration Changes is avaliable. ? Regards, Sudhakar

  • Rendering TIFF Files in FCP 4.5 Timeline

    I'd like to know if there is a way I can import TIFF files into my timeline WITHOUT having to render them... I work at an effects house and our artists deliver their shots as TIFF sequences. I pull those TIFF sequences into Final Cut so I can lay the

  • File datalog type conflict???

    Bonjour, j'ai quelques soucis sur Labview dont je n'arrive pas a résoudre!!! J'ai réaliser un vi qui permet de lire des données dans un fichier .rdt. Par contre, j'ai le code d'erreur 71 "File datalog type conflict" qui s'affiche et je ne sais pas co