10.1.3 Error - ViewCriteria not working in a Sql based VO

I created a ViewObject based on a query (I mean without entities).
I tried to apply a viewcriteria (also using tester Query by example) but nothing changed.
Is it a known bug ?
Is there some workaround ?
Tks
Tullio

Using 10.1.3.0 production, I create a view object with the query:
select empno, ename from empand add an instance to an AM, and run in the tester with "-Djbo.debugoutput=console".
In the tester, I click on the view criteria button, and enter "SM%" as the view criteria.
I see that the row "SMITH" is returned and I can see the view criteria is correctly shown in the query I see in the console.
Can you step me through an EMP-based reproducible testcase?

Similar Messages

  • Actionscript error checking not working?

    Does error checking only work on actionscript files that are imported by main file?
    Also...will error checking not work on the current open file if another file contains errors?

    from where u are loading the external SWF
    possible problems are
    check the URL
    check for crossDomain problem

  • HTML not working in PL/SQL block..Help me ASAP

    declare
    l_col VARCHAR2(30) :=to_number(to_char(to_date('01-feb-2011','dd-mon-yyyy'),'dd'));
    CURSOR name_cur IS
      select name
          from   od_shift_schedule
          where   year=2011
          and    (month)=('Feb')
           and    decode(l_col,1,"01",2,"02",3,"03",4,"04",5,"05",6,"06",7,
                         "07",8,"08",9,"09",10,"10",11,"11",12,"12",13,"13",14,"14",15,"15",16,"16",17,"17",18,"18",19,"19",20,"20",
                         21,"21",22,"22",23,"23",24,"24",25,"25",26,"26",
                       27,"27",28,"28",29,"29",30,"30",31,"31")='W';
    BEGIN
      DELETE FROM nam;
      commit;
      FOR i IN name_cur
      LOOP
      dbms_output.put_line(i.name);
      htp.p('<b>Employee '||i.name||'  has been ticked.
       </b><br/>');
      EXECUTE IMMEDIATE 'insert into nam(name) values('''||i.name||''')';
      commit;
    END LOOP;
    end;Kindly help me with this
    If i'm wrong here kindly help me that how can i place a display message

    Re: HTML not working in PL/SQL block..Help me ASAP
    Using the community discussion forums for urgent issues is rude and a violation of the terms and conditions.
    http://www.oracle.com/html/terms.html
    >
    4. Use of Community Services
    Community Services are provided as a convenience to users and Oracle is not obligated to provide any technical support for, or participate in, Community Services. While Community Services may include information regarding Oracle products and services, including information from Oracle employees, they are not an official customer support channel for Oracle.
    You may use Community Services subject to the following: (a) Community Services may be used solely for your personal, informational, noncommercial purposes; (b) Content provided on or through Community Services may not be redistributed; and (c) personal data about other users may not be stored or collected except where expressly authorized by Oracle
    >
    Also please read the FAQ on how to ask questions.
    SQL and PL/SQL FAQ
    >
    2) Thread Subject line
    Give your thread a meaningful subject, not just "help please", "Query help" or "SQL". This is the SQL and PL/SQL forum. We know your question is going to be about those things, make it meaningful to the type of question so that people with the right sort of knowledge can pick it up and those without can ignore it. Never, EVER, mark your subject as "URGENT" or "ASAP"; this forum is manned by volunteers giving their own time to help and your question is never urgent or more important than their own work or than other people's questions. It may be urgent to you, but that's not forum members issue.

  • Syntax highlighting not working on PL/SQL developer tool

    Hello,
    Syntax highlighting is not working on PL/SQL developer tool using the beautifier. When I go set Syntax highlighting parameters (from  EDIT>PL/SQL Developer Beautifier Options > User Interface> Editor> Syntax Highlighting ) and click apply, the changes are not reflected in SQL code in the SQL window. Other feautures in the beautifier such as Fonts, Window types are working fine.
    Please help me with this issue.
    Thanks!!
    Shreejit

    As this is not an Oracle related question (let alone Oracle SQL or PL/SQL), and as you've been given a link to the relevant website... I'll now lock this thread.

  • Grand Total Not working on Materialized view based table ??

    Hi all,
    I have a complex report report by using sum and decode function. I precalculated my requirment in database and then create a materialized view based on my sql statement. I import this view in physical and BM model and its results very fine and efficient. But the problem create when I implement Grand Total on my report in table view it did'nt work means (Grand Total is not working on this MV based table) Any idea why ??
    any reply would by higly appriciated.
    Regards

    Hi Zishan,
    Check the Aggregation Rule and set it to sum in the table view.
    That is go to the "edit formula" tab of the column for which you want grand total and set that to sum.
    Hope this will help.
    Thanks
    Ashok

  • I installed firefox 10 - it was offered on startup. I absolutely does not work with a cloud based program I use (corecon) and I want to GO BACK TO FIREFOX 9. how do i do this?

    firefox 10 ABSOLUTELY does not work with a cloud based program, Corecon. I want to UNINSTALL firefox 10 and GO BACK TO FIREFOX 9 . How do I do this? This is a subscription service, you may not be able to try it. v9 works fine.

    http://support.mozilla.com/en-US/kb/Installing+a+previous+version+of+Firefox
    http://www.mozilla.com/en-US/firefox/

  • Adobe Staff Please Read - Tab Key Not Working in InDesign HTML5 based panel

    Tab Key Not Working in InDesign HTML5 based panel
    Instead of changing focus to next entry field when the tab key is pressed it hides the panel instead.
    UI Nightmare.

    I’m using editable text fields. When I hit tab nothing happens. Focus stays on current text field.
    Mike Baugh • Creative
    Director, Digital Production
    +1 240-662-4442 office
    +1 410-807-1633 mobile
    [email protected]<mailto:[email protected]>
    agency.discovery.com<http://agency.discovery.com/>

  • Site not working again in Chrome based browser

    For the last few days I've noticed that this site is not working fully for Chrome based browsers. Reading the site is fie but clicking the Submit button to post an answer is not working! Any one else experiencing the same problem. Having to switch to IE
    just to post this question!
    The English Bob

    I am using Chrome and have no problems.
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • SAVE_TEXT for long error Message not working.

    Hi Experts,
    I am Using SAVE_TEXT FM to Dynamically Change Long Text for  a message.
    1. i am able to run succesfully SAVE_TEXT with SY-SUBRC = 0.
    2. I can see the entry in STXH.
    3. I have also performed COMMIT_TEXT with all the parameters and COMMIT_WORK.
    4. I am able to See the changed Text using READ_TEXT FM.
    but if i go to SE91 to the message no. and see long text i am not able to see the changed text.
    also when change the long text of it in a program and call the error message we should be able to see the changed long text on click of error message in status bar but it shows the same message as in SE91.
    Earlier for this Text Object & Text ID in SE75 Save mode was SPACE so i changed the same to Update still its not working.
    Following are the details  of my code-
    REPORT  YTEST_MES message-id ZFQM.
    parameters : p_text type c.
    at selection-screen.
    if p_text <> 'C'.
    data: HEADER  LIKE  THEAD.
    data: t_lines type standard table of TLINE.
    data: ls_lines like line of t_lines.
    ls_lines-TDFORMAT = ' '.
    ls_lines-TDline   = 'TEST1 TEST2 TEST3'.
    append ls_lines to t_lines.
    Header-TDOBJECT   = 'DOKU'.
    Header-TDNAME     = 'ZFQM093'.
    Header-TDID       = 'NA'.
    Header-TDSPRAS    = 'EN'.
    Header-TDFORM     = 'S_DOCU_SHOW'.
    Header-TDSTYLE    = 'S_DOCUS1'.
    Header-TDLINESIZE = '72'.
      CALL FUNCTION 'SAVE_TEXT'
        EXPORTING
         CLIENT                = SY-MANDT
          header                = header
         INSERT                = 'X'
      tables
          lines                 = t_lines
       EXCEPTIONS
         ID                    = 1
         LANGUAGE              = 2
         NAME                  = 3
         OBJECT                = 4
         OTHERS                = 5
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    CALL FUNCTION 'COMMIT_TEXT'
    EXPORTING
       OBJECT                = 'DOKU'
       NAME                  = 'ZFQM093'
       ID                    = 'NA'
       LANGUAGE              = SY-LANGU
    COMMIT WORK AND WAIT.
    message e093 with 'C'    'XXXX'.
    endif.
    I have tried calling SAVE_TEXT will possible combination's of  INSERT  = 'X' or space  or
    SAVEMODE_DIRECT       = 'X' or Both Space or 'X'.
    I know i am missing a small thing...but was unable to figure out the same.
    Please Help.
    Regards,
    Akash

    Hi  Keshav.T ,
    Thanks for your answer, but all the above FM u provided-
    read_text
    init_text
    edit_text
    Cannot be used as-
    Read_TEXT - I want to change Text not read it.
    INIT_TEXT- this cannot be used to change texts.
    EDIT_TEXT- this function module Opens the Long text screen
                       and we have to manually save it, but i want to save the text automaticaly
                       all this is done using SAVE_TEXT.
    Only problem is I am missing something after the call of SAVE_TEXT because text is changed
    as i can see that using read_text FM but if i go to SE91 and see long text for the corresponding message no. i cannot see the
    changed text done bu SAVE_TEXT.
    Please help.
    Akash

  • error-page not working in J2EE SDK 5 Update 1

    I recently migrated from Tomcat 5 to J2EE SDK 5 Update 1, and since, have not been able to get my custom error page working. I have verified the path to the error page by testing the link directly in a browser, but still see the default gray and white error page anytime an error occurs. This exact xml worked perfectly in tomcat 5 - am I missing something?
    I have the following in my web.xml:
      <!-- Http error -->
      <error-page>
        <error-code>500</error-code>
        <location>/error.faces</location>
      </error-page>
      <!-- java exception -->
      <error-page>
        <exception-type>java.lang.Exception</exception-type>
        <location>/error.faces</location>
      </error-page>
      <!-- page not found -->
      <error-page>
        <error-code>404</error-code>
        <location>/error.faces</location>
      </error-page>

    Hi, Here is a link from Mozilla that addresses this : http://support.mozilla.com/en-US/kb/Managing+the+Flash+plugin
    Page down to "Flash does not work properly and /or will not update."
    When you have two SWF installed the websites use the old one, not the new one. Don't ask me why, I often wonder that myself. That's why when you disabled the old one, Flash didn't work.
    Hope this solves the issue.
    Thanks,
    eidnolb

  • ADF Custom error handler not working.

    Hi All,
    i am using jdev version 11.1.1.5.0. i have created one custom error handler class in model layer which extend DcErrorHandlerImpl class.
    and do the entry in Databinding.cpx file
    *<Application ErrorHandlerClass="mypackage.classname"/>*
    i have override getDisplayMessage(BindingContext ctx, Exception ex) method to show SQL Exception which comes from database table trigger.
    code is following-
    package com.in.jagran.view.services;
        import java.sql.SQLException;
        import oracle.adf.model.BindingContext;
        import oracle.adf.model.binding.DCErrorHandlerImpl;
        import oracle.jbo.JboException;
        public class AclasErrorHandler extends DCErrorHandlerImpl {
          public AclasErrorHandler(boolean setToThrow) {
            super(setToThrow);
            System.out.println("Inside Error Handler class");
          public AclasErrorHandler() {
              super(true);
           // this(true);
           * Returns the message that will be reported to JSF for each error that occurs.
           * Returning "null" is the way the custom error handler signals that a given exception
           * should not be reported to the client.
          @Override
          public String getDisplayMessage(BindingContext ctx, Exception ex)
            if (ex instanceof oracle.jbo.ValidationException) {
              return super.getDisplayMessage(ctx, ex);
            else {
              // Extract and return the error message that has to be displayed
              Exception exception = ex;
              String message = "";
              // If this exception is an instance of JboException,
              // try to find the cause by recursing over the eventual causing exceptions
              if (exception instanceof JboException)
                Throwable[] exceptionList = ((JboException)exception).getExceptions();
                while (exception instanceof JboException
                        && exceptionList != null && exceptionList.length > 0)
                  exception = (Exception)exceptionList[0];
                  if (exception instanceof JboException) {
                    exceptionList = ((JboException)exception).getExceptions();
              // *** Special processing of SQLExceptions
              if (exception instanceof SQLException) {
                message = exception.getMessage();
                // Ignore the lines in the error message that indicate the line number in the PLSQL code that the error resulted on.
                int ind = message.indexOf("ORA-06512");
                if (ind > 0)
                  message = message.substring(0, ind);
              // *** If the the reason for the JboException was data creation exception then display the message
              // of the top JboException (i.e. JBO-*****: Invalid numeric value, date format or time format)
              else if (exception instanceof NumberFormatException || exception instanceof IllegalArgumentException) {
                // Report the top exception
                message = ex.getMessage();
              // Otherwise report the message of the lowest exception in the hierarchy
              else {
                message = exception.getMessage();
              return message;
        }but it is not working for me.
    thanks in Advance.

    yes i have used dubugger.
    i have set break point to following line-
    return super.getDisplayMessage(ctx, ex);
    if (ex instanceof oracle.jbo.ValidationException) {
            return super.getDisplayMessage(ctx, ex);   
    }when atttribute validation done like i have attribute of type number and i have done the validation "must be greater than 0" now when i have given negative value control go to above line.
    and i have added following code also in handler class
            @Override
               public void reportException(DCBindingContainer dCBindingContainer,
                                           Exception exception) {
    System.out.println(exception.getMessage());
                       super.reportException(dCBindingContainer, exception);
                   }now when i have done commit operation control go to here and println statement print follwoing error on log window.
    JBO-26041: Failed to post data to database during "Rollback to Savepoint": SQL Statement "null".

  • Displaying error messeges in MONITOR/Error Stack not working in 2004s

    This trick is not working for me. I couldn't see the error messages in the error stock & temp storage. Am i missing anything here? Please advise. Thanks.
    CASE SY-SUBRC.
    WHEN 0.
    RESULT = VALUE.
    WHEN 1.
    CLEAR MONITOR.
    MONITOR_REC-msgno = '005'.
    MONITOR_REC-msgid = 'SDBW'.
    MONITOR_REC-msgty = c_msgty_e.
    MONITOR_REC-msgv1 = SOURCE_FIELDS-VBELN.
    MONITOR_REC-msgv2 = SOURCE_FIELDS-VDATU.
    MONITOR_REC-msgv3 = SOURCE_FIELDS-WAERK.
    MONITOR_REC-msgv4 = SOURCE_FIELDS-HWAER.
    APPEND MONITOR_REC TO MONITOR.
    RAISE EXCEPTION TYPE CX_RSROUT_ABORT.
    WHEN 2.
    CLEAR MONITOR.
    MONITOR_REC-msgno = '006'.
    MONITOR_REC-msgid = 'SDBW'.
    MONITOR_REC-msgty = c_msgty_e.
    MONITOR_REC-msgv1 = SOURCE_FIELDS-VBELN.
    MONITOR_REC-msgv2 = SOURCE_FIELDS-VDATU.
    MONITOR_REC-msgv3 = SOURCE_FIELDS-WAERK.
    MONITOR_REC-msgv4 = SOURCE_FIELDS-STWAE.
    APPEND MONITOR_REC TO MONITOR.
    RAISE EXCEPTION TYPE CX_RSROUT_ABORT.
    ENDCASE.

    GK, have you gotten the monitor messages to work?
    I applied Note 1005975, and we are also on ABAP SP11, but I can't get any messages to display in the monitor.  When I use the
    "raise exception type CX_RSROUT_ABORT" statement, I get an error message
    "Exception CX_RS_STEP_FAILED logged", but none of my MONITOR_REC entries.
    If I don't raise CX_RSROUT_ABORT, I get nothing.
    I can create entries in the job log by the following:
    MESSAGE E001(ZBW) with MONITOR_REC-MSGV1,
    so I know my SE91 definition is correct, but this is not the same as writing to the monitor, as I understand it.

  • Controller  Error  is not working for Custom Responsibility

    Hi All
    I create a controller , Its working with Standard Responsibility. I am Setting two Values , One from database Column and other from calling a custom funciton . Its working in Standard Responsibilty.
    But same thing I am trying in Custom Responsibility , Its showing One value ie database value, But not The function return value.
    Is it the issue with security?

    hi Gyan,
    ex;
    XXResp is custom Resp : Profile attach is HR Security Profile
    If you remove this Security Profile , the Controller Works.
    But if u set the Controlller it does not work.
    Thanx

  • Uncaught error handler (global error handling) not working in Chrome FP 10.1.103.22

    A few days ago I very happily discovered the new global error handling available in flash-player (FP) 10.1
    Now while all works well in Firefox (using Adobe's FP 10.1.102.64), nothing happens in Chrome (using Google's FP 10.1.103.22).
    I can disable Google's FP using the "about:plugins" page in Chrome, restart the browser, and then everything works since the browser falls back to the other flash plugin installed, which is again Adobe's FP 10.1.102.64.
    Is this a known bug?

    Don't tell me the uncaught error handler only works for a debugger version....??
    The documentation, which I read quite carefully, doesn't have a word on this. It suggests rather the opposite:
    "When content is running in a debugger version of the runtime, such as the debugger version of Flash Player or the AIR Debug Launcher (ADL), an uncaught error dialog appears when an uncaught error happens. For those runtime versions, the error dialog appears even when a listener is registered for the uncaughtError event. To prevent the dialog from appearing in that situation, call the UncaughtErrorEvent object's preventDefault() method."

  • Buttons not working on updateable SQL report

    Hello
    I have created an updateable SQL report using the wizard but for some reason none of the buttons (Add Row, Delete, Submit) are working.
    When I click on 'Submit', the changes aren't saved.
    When I click on Add Row I get 'Page cannot be displayed error with the URL 'http://rthuas11:7781/pls/htmldbcdbs/wwv_flow.accept'
    When I select a few rows by clicking on the checkbox by each row then click 'Delete' , no rows are actually deleted!
    Any ideas what is going wrong? Do I need to create extra processing? The buttons were created by the wizard
    Thanks
    Simon

    Hi Umry,
    Welcome to the HP Forums!
    I see that your buttons on the left of the screen are not working with your HP Deskjet Ink Advantage 4645. I am happy to help you with this issue!
    Please take a look through this guide. The HP Printer Won't Turn On or Respond When the Power Button is Pressed.
    If that does not fix the issue, please call our technical support at 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region. Country-language selector.
    Hope this information helps, and have a great day!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

Maybe you are looking for

  • Bill doc could not be released to accounting automatically

    I have a problem on a particular billing type (document category P u2013 debit note) where the billing document could not be released to accounting automatically upon saving. The message VF050 is shown with Document xx saved (no accounting document g

  • Envelope size

    How do I print an envelope that is not a standard size as set in the printer.  I have envelopes that ate 5 3/4 x 8 3/4 inches for greeting cards.  The C5180 will not print on them, and I do not have the menu stated in the help file to make the change

  • Size or number limit for Outlook emails archived to PDF package

    I am trying to convert a folder of emails in my Outlook to a indexed PDF package. However, I am getting an error message: "You have chosen to convert a very large number of email messages. Please try again with a folder or selection having fewer mess

  • Premiere CC 2014 continuously generating peak files

    Hey all, I have a problem that seems to have started last week, when I finally had the time to upgrade to 2014 (was in the middle of a few projects and did not want any 'new software issues' to us slow down). I expect the generation to happen upon im

  • The new Contacts in Version 2.0.1 does nor recognize mt E-mail Account

    Hi, When trying toadd my e-mail address to the Email, Calendar and Contacts list in the new version (2.0.1) I get the message "Start TSL is configured with server imap.bellaliant.net for IMAP, but the connection attemp failed.  Change SSL to ON or OF