Entity rule violations: more descriptive error messages

We have several BC4J entity objects, view objects and a JSP application. The entity objects contain rules like mandatory attributes, validation rules at the attribute level, etc. If the user enters invalid data in an HTML form and submits, the errors are generally cryptic and difficult for the user to understand. For example, if the user misses a required field, the exception indicates that "JBO-12345 ... ReqTypeId is required" (for example). It would be ideal if the message could be changed to include the label hint in the message. For example, "Requirement Type is required", where "Requirement Type" is the label hint that is displayed on browse, edit and query pages.
Validation rules (e.g. range rule) applied at the attribute level have a similar issue. Custom rules in validateEntity() do not have this issue because they are custom and we can throw whatever exception we want, with a detailed, user-friendly message.
If this is not possible in JDeveloper 9.0.2 (without extensive custom coding), will it be possible in a future release?
Thanks,
Bill

We have several BC4J entity objects, view objects and a JSP application. The entity objects contain rules like mandatory attributes, validation rules at the attribute level, etc. If the user enters invalid data in an HTML form and submits, the errors are generally cryptic and difficult for the user to understand. For example, if the user misses a required field, the exception indicates that "JBO-12345 ... ReqTypeId is required" (for example). It would be ideal if the message could be changed to include the label hint in the message. For example, "Requirement Type is required", where "Requirement Type" is the label hint that is displayed on browse, edit and query pages.
Validation rules (e.g. range rule) applied at the attribute level have a similar issue. Custom rules in validateEntity() do not have this issue because they are custom and we can throw whatever exception we want, with a detailed, user-friendly message.
If this is not possible in JDeveloper 9.0.2 (without extensive custom coding), will it be possible in a future release?In 9.0.2 you can route all JboExceptions at the JSP level via a handle-all-jbo-exceptions method where you may perform such 'message conversions'. IN general that's the practice most apps have to implement to wrap framework exceptions into user-level exceptions. IN JCLient that's the paradigm followed so that applications can funnel all exceptions via a single handler and perform any exception message massaging.
However you suggestion about involving control-hints into messages by default is a good one and I'd log an Enhancement #2623360 to track this idea.
Thanks,
Bill

Similar Messages

  • Getting more detailed error messages from Adobe Acrobat

    Hi
    Is there a way to get more detailed error messages from Adobe Acrobat reader when he detecs an error in a PDF file?
    My program generates PDF files. There is one that throws an error in Acrobat while GhostScript and Google Chromes PDF Reader display it correctly.
    I wonder where the error is, but the error message is just "expected dictionary", when I hold CTRL and press "OK".
    GhostScript usually gives useful error messages, but it has no error this time.

    More specifically, Acrobat Pro!
              - Dov

  • What does 'Start up disk no more space' error message mean?

    I use a pre 2009 2 x 3 GHz Quad-Core Intel Xeon with 3 GB 667 MHz DDR2 FB-DIMM
    Mac OS X.6.3
    Error message pops up whenever I shut down as follows: "Start Up Disk has no more space available for application memory."
    I have more than 265 GB on my startup disk. Currently I'm running FCP, Firefox, itunes. FCP is running a little slow lately and the system did a gray box crash once a few days ago while I was in FCP. Related?
    I ran a disk repair permissions on the start up disk and even a verify/repair. Operation was successful.

    3GB is very very minimal. Even more so when you factor in what you are running.
    And quad channel symmetrical memory = 4 x 1GB for starters, or 4 x 2GB.
    So you have 256GB FREE on your startup boot drive?
    Do you ever clone and erase/restore?
    Have you upgraded the hard drive in the last year or two, something new would be faster mainly.
    Run disk repair and maintenance from another drive, one that has same version OS X (10.6.3), and ideally with Disk Warrior 4.2 or TechTool Pro 5.
    That "gray box" could mean you have directory problems, but that Apple verify/repair can't recognize (or fix).
    More RAM, clone the system (SuperDuper, CCC 3.x), repair with Disk Warrior...

  • Cannot convert character sets for one or more characters Error message

    Hello,
    I am getting this error message "Cannot convert character sets for one or more characters" when i try to transfer the data from Application server file as CSV to PSA.
    Using T-code AL11
    Under SAP Directory I open my file I  can able to see all contents of my file right?
    But i can't able to see all my data because of this I am getting ths error message?
    I am loading Master data attribute
    Is there any limitation on record length?
    Please share your thought..
    Thansk

    Which length should not exceed 60.
    When i load the same file from local workstation I can able to load no error message
    Why I am getting if i load same file from application server?
    Thanks

  • Removing descriptive error messages?!?

    How do I remove the "Build Date/Time" and "Change Number" fields from error messages?
    Can the build date of say Oct 3 2003 provide someone information as to what version
    I am running?

    I see this error messages in the client browser. I see them when the ISAPI plugin
    can't see the backend server temporarily or if there is an Internal Server Failure,
    ISAPI plugin. I believe this is in the WebLogic IIS Bridge.
    "Don Gohn" <[email protected]> wrote:
    Could you provide more information about where you see these error messages?
    Are they in log files, the console, or somewhere else?
    Thanks,
    Don
    "AMS" <[email protected]> wrote in message
    news:4057ebe3$[email protected]..
    How do I remove the "Build Date/Time" and "Change Number" fields fromerror messages?
    Can the build date of say Oct 3 2003 provide someone information asto
    what version
    I am running?

  • How to get more detailed error messages when using Oracle JDBC

    Here are some typical Oracle error messages that leave you guessing :
    "ORA-01722: invalid number"
    "ORA-00904: invalid column name"
    Is there any way to find out which number or which column name is invalid ?
    Why doesn't Oracle include this information in the error messages ? If it knows the number or column is invalid, it must know the number or column name !

    Launch the query under sqlplus, it'll tell u :
    SQL> select user_id, userna from dba_users ;
    select user_id, userna from dba_users
    ERROR at line 1:
    ORA-00904: invalid column name

  • Icloud 'Buy More Storage error message 'an unknown error has occurred."

    I'm getting this error message, "an unknown error has occurred." when trying to buy extra storage space from my iPad. I have money on my itunes account. What am I doing wrong??

    You must have a valid credit or debit card account to purchase iCloud storage.
    Can't be done with a gift card.

  • Does anyone know VISS Workflow? More about error messages?

    Hello all,
    i was wondering if someone had some knowledge about the VISS Workflow.
    VISS is a vendor invoice scanning system to visualize invoices.
    If you know what it's about, can you help me to understand this error message: "no work items found - dialog release workflow was not started (yet) for this object."
    Help is much appreciated.
    Kind regards,
    Pamela.

    You didn't write what software.
    Google curve adjustments. There are 3,310,000 to choose from. The first 10 choices are very detailed.

  • Business Rule Not Deploying - Receiving Error Message

    while trying to launch a business rule that I had updated this morning. This business rule is in the OH plan type. I was able to hit launch and even though I could see the calc running in EAS, I received this error
    Rule was validated with no potential errors, the rule could not be validated against the deployed application as connection information could not be found.
    looking for the assistance.
    Thanks
    Kiran.Kolli

    If restarting the calc manager services does not help, increase the JDBC connection time-out.
    1. Open CalcMgrConfig.properties present in calc-mgr deployment folder (WEB-INF\conf)
    2. Increase the value of property 'DB.timeout' to 60000.
    3. Remove the starting '#' for this property.
    4. Re-start calc-mgr service.
    HTH-
    Jasmine.

  • Can't seem to purchase more storage -- error message

    I have repeatedly tried to buy more iCloud storage, to no avail. I've tried to make the purchase both from my iPad 2 and from my iPhone 4s, always without success. 
    After selecting "Buy" and then entering my iTunes password as usual, I receive a window-message as follows: 
    "MZCommerce.Could
    NotGetRefundTXNFrom
    PayService_message"
    (Extremely un-Apple-ish jargon, this, by the way!)
    Every time I get the message, I receive an email iTunes receipt a few moments later for $40.00—as well as an email Refund Notice from iTunes for the same $40.00!
    So, Apple, why won't you take my money?
    Thanks for your help.
    Andrew Marvick
    [email protected]

    And I have had no problems whatsoever and I think that the majority of iPad users have had success with thenew iOS update. But it is really a decision that only you can make.
    This iOS update address a few things .....
    The update is available for the iPhone 4S, iPhone 4 and iPhone 3GS, third- and fourth-generation iPod touch, and all iPad models. The full list of changes in iOS 5.1.1, as noted by Apple, are:
    Improves reliability of using HDR option for photos taken using the Lock Screen shortcut
    Addresses bugs that could prevent the new iPad from switching between 2G and 3G networks
    Fixes bugs that affected AirPlay video playback in some circumstances
    Improved reliability for syncing Safari bookmarks and Reading List
    Fixes an issue where 'Unable to purchase' alert could be displayed after successful purchase
    You can try temporarily disabling your firewall and antivirus software and see if it will work.

  • BPC 7.5NW SP08: "unknown MDX error" message for simple dimension formula

    Hi everyone!!
    We are facing many different issues concerning dimension formulas and
    script logic. Maybe it's something related to SP08. For instance,
    consider the following:
    - there is a dimension named P_Account, with members Price, SalesCost,
    and others
    - there is a dimension named P_Product, which consists of a hierarchy,
    for instance: Prod1 with two children, Prod1A and Prod1B
    We want to set the following dimension formula in P_Product for Prod1 member:
    IIF([P_Account].CURRENTMEMBER.PROPERTIES("ID") = "Price", Null, 1)
    that is, we wanted to try to be able to avoid summing Price, returning
    Null for (Price, Prod1). Later we would try to replace "1" with the
    appropriate formula to sum children of Prod1 for all other members of
    P_Account. The result is an odd error: "MDX statement error: unknown MDX
    error" (or something similar, since I get the error message in portuguese).
    We have spent almost two days studying alternatives in SDN Forum, blogs,
    google, etc, trying to find a reason for the error but couldn't find it.
    Could anyone help on this one?
    Thanks!
    Luigi

    Hi everyone!
    After contacting SAP, we were asked to try to reproduce the error in APSHELL. I did the following:
    1) created another application set, copying APSHELL, named it TESTAPPSET;
    2) added two members to dimension P_ACCT (ID, ACCTYPE, SCALING, RATETYPE):
       (PRICE, INC, Y, END)
       (SALESCOST, INC, Y, END)
    3) saved to server and processed P_ACCT dimension successfuly
    4) added a UD dimension copied from P_Activity, named P_Product
    5) deleted all members of P_Product, processed the dimension sucessfuly
    6) added FORMULA property to P_Product, with size 200
    7) added three members to P_Product (ID, PARENTH1)
       (Prod1, "")
       (Prod1A, Prod1)
       (Prod1B, Prod1)
    8) saved to server and processed the dimension successfuly
    9) edited P_Product members and added the following as FORMULA for Prod1:
    IIF([P_ACCT].CURRENTMEMBER.PROPERTIES("ID") = "PRICE", Null, 1)
    Result was sucess!!
    10) edit P_Product again and removed the formula, saved to server and processed dimension successfuly;
    11) created an Application named SALES, type Financial Report, copied from PLANNING with dimensions
    12) edit dimensions, removed P_Activity and added P_Product to the list
    13) went back to step (9) and tried to add the formula again, saved to server and processed P_Product dimension. Result was success again!!
    So I imagined the issue might be caused by the user I was log in with. I went back to our application set, logged in as BPC_SYSADMIN and tried to set the formula again and it didn't work. User was not the problem.
    Since I had tried all the above creating everything with all UPPERCASE, I decided to try the following Formula
    IIF([P_ACCOUNT].CURRENTMEMBER.PROPERTIES("ID") = "Price", Null, 1)
    that is, P_ACCOUNT instead of P_Account. Result: success in processing dimension!!! And the formula worked as expected when I opened an Input Schedule to test it.
    When I check my dimension list in BPC Admin it says P_Account (mixed case), instead of P_ACCOUNT (all uppercase) since it was the way we created it.
    So, I spent 1hour to do the whole test, but it worked. I sent two questions/requests for correction or improvement to SAP:
    I) which case should be used in formulas? given I see P_Account in Dimension list, how should I know that I should write formulas with P_ACCOUNT, all uppercase?
    II) could BPC provide more descriptive error messages when processing dimensions and validating script logic? a simple error message such as "unidentified command or reference at P_Account" or anything similar would have saved us 4,5 days of work! it's a lot!
    Thank you guys for your support!!

  • More precise JDBC driver error messages?

    Hi,
    is there a way to tell the Oracle JDBC driver (9.0.2.3) to provide more detailed error messages in an SQLException message string when a table cannot be found? The usual message "Table or view does not exist" does not provide information on the actual table or view that was missing. I would like the table or view name to be included in the message provided by the SQLException.
    (In general I would appreciate more detailed error information in the Oracle JDBC driver exception messages.)
    Best regards Uwe

    perhaps this might help:
    * Get error message of an SQLException with the following form:
    * <p>
    * <code>Code=&lt;Vendor-specific error code&gt;:'&lt;error message&gt;':SQLState=&lt;SQLState&gt;</code>
    * <code>
    * Note: SQLState "S1000" is returned for general errors or if driver does not support SQLState.
    * @param sqlException SQLException to create error code from.
    * @return Specific error message or null if <i>sqlException</i> not available.
    public static String toString(SQLException sqlException) {
    String result = null;
    if (sqlException != null) {
    StringBuffer sb = new StringBuffer();
    while (sqlException != null) {
    sb.append("RDBMS Vendor Code ");
    sb.append(sqlException.getErrorCode());
    sb.append(": \"");
    sb.append(sqlException.getMessage());
    sb.append("\" : SQLState=");
    sb.append(sqlException.getSQLState());
    sqlException = sqlException.getNextException();
    result = sb.toString();
    }//else: input unavailable
    return result;
    }//toString()
         * Get string representation of a SQLWarning.
         * @param sqlWarning
         * @return Specific error message or null if <i>sqlWarning</i> not available.
         public static String toString(SQLWarning sqlWarning) {
    String result = null;
    if (sqlWarning != null) {
    StringBuffer sb = new StringBuffer();
    while (sqlWarning != null) {
    sb.append("errorCode=");
    sb.append(sqlWarning.getErrorCode());
    sb.append(", SQLState=");
    sb.append(sqlWarning.getSQLState());
    sb.append(",message=");
    sb.append(sqlWarning.getMessage());
    sb.append(",cause=");
    sb.append(sqlWarning.getCause());
    sb.append(";");
    sqlWarning = sqlWarning.getNextWarning();
    }//next subsequent warning
    }//else: input unavailable
    return result;
    }//toString()

  • Error occurred in derivation rule. See long text ; Message no. K/110

    I am facing the below error when posting document in FI
    Error occurred in derivation rule. See long text
        Message no. K/110
        CO-PA Characteristic Derivation
    Diagnosis
        Step 0166 5400: Profit Center in Inventory Posting
        No derivation rule entry was found for the specified source values valid
        on 02.04.2014.
        The derivation rule was defined so that an error message is displayed
        when this occurs.
        The system could not find a rule entry valid on 02.04.2014 for the
        following source fields:
         Product Group
    Procedure
         Create a rule entry for these source values and make sure that rule
         entries exist for all the source values.
         If you do not want the derivation to be performed in every instance, you
         can also change the derivation rule so that no error message is
         displayed if a rule entry is missing.
         Maintain entries
         Maintain derivation strategy
    In KEDE:
    In KEDR:
    Please help me what might be the reason.

    Hi Thanga,
    I don't think this is the right group to ask questions relevant to Controlling-Profitability Analysis.
    otherwise, it seems in your 'Characteristic Derivation/ Display Rule values' you are missing an argument 'to Product Group', therefore the system gives you this error 'The system could not find a rule entry valid..'.
    hope this will help you.
    Kind regards,
    Renatas

  • Error occurred in derivation rule. See long text, Message no. ABADR100,

    Hi
    I am making some testing and I have the following message , which is about the functional area. I did not use the FM derive:
    Error occurred in derivation rule. See long text
    Message no. ABADR100
    Diagnosis
    SAP - Original Generic 4.7 Ver: Funded Program fro
    No derivation rule entry was found for the specified source values valid on 22.06.2011.
    The derivation rule was defined so that an error message is displayed when this occurs.
    The system could not find a rule entry valid on 22.06.2011 for the following source fields:
    Financial Management Area/Functional Area
    Z001/6000
    Procedure
    Create a rule entry for these source values and make sure that rule entries exist for all the source values.
    If you do not want the derivation to be performed in every instance, you can also change the derivation rule so that no error message is displayed if a rule entry is missing.
    please help

    Hi Thanga,
    I don't think this is the right group to ask questions relevant to Controlling-Profitability Analysis.
    otherwise, it seems in your 'Characteristic Derivation/ Display Rule values' you are missing an argument 'to Product Group', therefore the system gives you this error 'The system could not find a rule entry valid..'.
    hope this will help you.
    Kind regards,
    Renatas

  • Dimension Entity  - Invalid Parent (error message)

    Hi friends,
    when we tried to create a new Entity dimension we got a error message, please can you help us in solving this.
    Below is the data, we fed into the system (under "MAINTAIN DIMENSION MEMBERS")
    ID                evdescription                                                                   parenth1
    a1                a1                                                                                AAA
    a2               a2                                                                                AAA
    The error message was
    Dimension 'ZENTITY1's member A1 has a invalid hierarchy parent 'AAA'
    why this error message, please can you help us.
    and in the property Name,we do not have a property for "PARENTH1",  WHEN we tried to create e new property "PARENTH1"
    the system was throwing error message
    "Attribute name 'PARENTH1' is invalid, please choose another one!"
    Thank you and kindest Regards
    Srikaanth
    Edited by: E.S.Srikaanth Srikaanth on May 1, 2011 11:43 PM
    Edited by: E.S.Srikaanth Srikaanth on May 1, 2011 11:45 PM

    Hi My Dear Friend,
    what I have understood from you explanation is,
    Point No. 1)     Hierarchy can be created, by directly adding a column in excel.
                                           and
    Point No. 2)     It is not at all possible to add a "PARENTHn" in property name directly. If I try to do so I will be
                               getting an error message.                      
    Please let me know whether above two points are correct, if not please correct us.
    Point No. 3) In your point 2, you speak about valid member id, please can you educate us about the prerequisites of a valid member ID. please
    Thank You and Kindest Regards
    Srikaanth

Maybe you are looking for

  • Indesign CC 10.0.0.70 can't undo

    Hi, i am using Indesign CC for a while now. While an upgrade of Indesign on mac was needed to open CC files, from pac,  in another CC version (thx Obama) i now lost the undo function in Indesign CC 10.0.0.70 for mac OSX 10.9.5). Did anyone run into t

  • How to clear a master detail form in adf

    hi I am using j developer 11 g (ADF). I have a master detail page. i want to clear all data when the form loading first time I used an lov for searcching the data. here am called createInsert method for clearing the data from form on pageload, but am

  • Relationship contact person BUR001

    Hi, When I create a new contact person in IC Webclient, by default it is creating a relationship BUR001. How can I change this to create a other relationship, or add matchcode for selection? Thanks,

  • SQL connection using "FREE" IP address

    we have a server running CF MX (6.1), making SQL requests to another server on the network. The strange thing is, when viewing the active connections on the SQL server, the CF server is listed using an unassigned IP address on the CF server. How does

  • Accessing iCal through web doesn't provide "Delegates"

    I'm trying to create an easy way for 40-50 people to access the same calendar, without making directory users for everyone. I've created a generic user/password that will be given out. Calendars are shared with this user as "Read Only" On the iCal ap