Error message not descriptive FRM-40509

Hi,
Whenever i have any update error, i get this error as FRM-40509 error: unable to update record. I can see this error only when i click on f1 or show error key.
How can can i display actual message without going to click on on f1 or show error
appreciate your help
regards
ahmed

Yes, i tried with on-error. below is the code
BEGIN
DECLARE
err_code CONSTANT NUMBER := ERROR_CODE;
err_type CONSTANT VARCHAR2(3) := ERROR_TYPE;
server_err NUMBER := abs(DBMS_ERROR_CODE);
server_msg VARCHAR2(2000) := DBMS_ERROR_TEXT;
constraint_name VARCHAR2(61);
BEGIN
IF (err_type = 'FRM' AND
err_code IN (40506, 40508, 40509, 40510, 40702) ) THEN
/* Remove recursive errors from the top of the stack */
WHILE (server_err = 604) LOOP
CGTE$POP_ERROR_STACK(server_err, server_msg);
END LOOP;
/* Check and report the generic constraint violations */
IF ( CGTE$CHECK_CONSTRAINT_VIO(server_err, server_msg) ) THEN
ep_form_errors.RAISE_FAILURE;
END IF;
/* Check and report the constraint violations specific to this block */
constraint_name := TST_CONSTRAINT(server_msg);
/* FK - Parent key not found */
IF (server_err = 2291) THEN
IF (constraint_name = 'TST_L1323_FK') THEN
ep_form_errors.PUSH(ep_form_errors.MSGGETTEXT(13, 'This <p1> does not exist', 'Tool Name'), 'E', 'OFG', 13);
ELSIF (constraint_name = 'TST_L1325_FK') THEN
ep_form_errors.PUSH(ep_form_errors.MSGGETTEXT(13, 'This <p1> does not exist', 'Measure Type' ), 'E', 'OFG', 13);
ELSIF (constraint_name = 'TST_L1326_FK') THEN
ep_form_errors.PUSH(ep_form_errors.MSGGETTEXT(13, 'This <p1> does not exist', 'Probe Type' ), 'E', 'OFG', 13);
ELSIF (constraint_name = 'TST_L1324_FK') THEN
ep_form_errors.PUSH(ep_form_errors.MSGGETTEXT(13, 'This <p1> does not exist', 'Run Type)' ), 'E', 'OFG', 13);
ELSIF (constraint_name = 'TST_SVC_FK') THEN
ep_form_errors.PUSH(ep_form_errors.MSGGETTEXT(13, 'This <p1> does not exist', 'Service company Code' ), 'E', 'OFG', 13);
ELSE
ep_form_errors.PUSH(server_msg, 'I', 'OFG', 0);
END IF;
ep_form_errors.RAISE_FAILURE;
END IF;
/* FK - Child record found */
IF (server_err = 2292) THEN
IF (err_code = 40510) THEN
ep_form_errors.PUSH(server_msg, 'I', 'OFG', 0);
ELSIF (err_code = 40509) THEN
ep_form_errors.PUSH(server_msg, 'I', 'OFG', 0);
END IF;
ep_form_errors.RAISE_FAILURE;
END IF;
END IF;
IF (err_type = 'FRM' AND
err_code IN (41105, 41106, 40702) ) THEN
IF (err_code = 41105) THEN
ep_form_errors.PUSH(ep_form_errors.MSGGETTEXT(35, 'Query of <p1> must be in context of <p2>', 'Tests'), 'E', 'OFG', 35);
ep_form_errors.RAISE_FAILURE;
ELSIF (err_code = 41106) THEN
ep_form_errors.PUSH(ep_form_errors.MSGGETTEXT(36, 'Insert of <p1> must be in context of <p2>', 'Tests' ), 'E', 'OFG', 36);
ep_form_errors.RAISE_FAILURE;
END IF;
END IF;
IF (err_type = 'FRM' AND
err_code = 40735 AND
server_err != 0 ) THEN
/* Remove recursive errors from the top of the stack */
WHILE (server_err = 604) LOOP
CGTE$POP_ERROR_STACK(server_err, server_msg);
END LOOP;
/* If error not found, issue default message */
ep_form_errors.PUSH(err_type||'-'||to_char(server_err)||': '||server_msg, 'I', 'OFG', 0);
ep_form_errors.RAISE_FAILURE;
END IF;
/* If error not found, issue default message */
ep_form_errors.PUSH(err_type||'-'||to_char(err_code)||': '||ERROR_TEXT, 'I', 'OFG', 0);
ep_form_errors.RAISE_FAILURE;
END;
END;
Message was edited by:
user642673

Similar Messages

  • I get error message: not enough space to download when I try to buy a tv series on Itunes. It tells me to delete photos or videos to make space, but I have no photos and videos. Help?

    I get error message: not enough space to download when I try to buy a tv series on Itunes. It tells me to delete photos or videos to make space, but I have no photos and videos. Help?

    I would guess that a TV series takes up a fair amount of storage capacity. It is just a standard message I think that may indicate that you are actually running low on storage space.
    If you go to Settings>General>About how many GBs are specified as being available?  If you are low on space maybe deleting some apps may help.

  • I keep getting error message "not enough space on startup disk" on my macbook 10.6, even though I've deleted and compressed many files. Could something else be the problem?

    Somehow 1500 web pages were downloaded into my iphone app! That's when the trouble began Now, I keep gettig error message"not enough  room on your start up disc. "So I deleted most of theml, but when I compress/delete files, it doesn't help. Now i'm unable to back up to a disc, because I get a similar message about lack of room.. I can't download apple updates or printer updates. My computer is almost unusable. When I took it to the Apple store they had no idea what was wrong.
    I bought an external hard drive-Free Agent Go Flex which doesn't seen to function, and has no user interface and apparently little tech support. My cursor is all over the place. No one at Apple seems to be able to fix this computer. Any suggestions for my next move?
    Thank you.

    See Here for Troubleshooting
    Free Disc Space
    http://www.thexlab.com/faqs/freeingspace.html
    See Here for Resolving Startup Issues
    http://support.apple.com/kb/ts1417

  • Version 31.3, error in upadting RSS feeds. Error Message - not a valid feed.

    After upgrading to version 31.3, error in updating RSS feeds.
    Error message - not a valid feed.
    Unable to Attach screen shot of feed validator results

    The answer is in the guide, please read it carefully:
    https://support.mozilla.org/en-US/kb/how-subscribe-news-feeds-and-blogs
    You can turn on extreme debugging as well. The problem is always with the publisher failing to follow specs; inform them to do so.

  • QAAWS error message "not a valid query"

    Hi,
    When I'm trying to connect to QAAWS I get this error message: "not a valid query. FWB 00025".
    Does anyone know how to solve this problem?
    The server where the BOE is installed on has been restarted a couple of times but it doesn't help.
    Universe Designer and WebI work fine.
    Thanks!

    Is QaaWs running properly on your system?
    To validate the installation, open a browser and type the following URL
    http://[server]:[port]/dswsbobje, where [server] corresponds to
    your web server address and [port] corresponds to the port where you
    set up in your web server. The default used by Tomcat is 8080. dswsbobje
    is the default name of the Web Service provider web application. Then Validate.

  • HT1923 got notification that new Itunes version is available, once i installed it I'm no longer able to open Itunes, I get the error message, Not installed properly. Reinstall itunes. Error 7(Windows error127),

    got notification that new Itunes version is available, once i installed it I'm no longer able to open Itunes, I get the error message, Not installed properly. Reinstall itunes. Error 7(Windows error127), I tried repairing itunes, Apple Aplication support, apple mobile device support, bonjour and I even uninstalled and reinstalled Itunes and still problem exist, any solution?
    I have windows 8

    I got this message today too. I understand that my music is stored on my computer, however I want to be certain that if I re-install iTunes, it won't erase my library....playlists, playcounts, checked songs, etc.

  • I can not take pictures or back up my phone due to error message not enough storage.I have all of my data turned off and still can not back phone up.? I have deleted lot of pics and messages and still get message..

    I can not take pictures or even back my phone up due to error message not enough storage I have went into manage storage and turned all my apps to off and I still get error. I also have deleted a ton of pictures and apps.

    Hi there mistib,
    You may find the information in the article below helpful.
    iOS: "Not enough free space" alert when trying to sync
    http://support.apple.com/kb/ts1503
    -Griff W.

  • Text messages on iphone 5s getting error message not delivered

    when attempting to send a text messages on iPhone 5s getting error message not delivered with a red explanation mark. I have filed cases with carrier and it comes back as device, some messages do go thru fine and then it will give the error for several message and then back to working again. Please Help.

    Hi
    I am NOT trying to be mean or patronizing so my apologies if this comes across that way
    That said
    SMS texts are sent on a part of the same carrier wave that carries voice calling and conversation as opposed to data - which is why even non smart phones can text - it is the unused portion of the spectrum that initially carriers were making money off of
    http://computer.howstuffworks.com/e-mail-messaging/sms.htm
    In other words - to be able to text - one has to have a plan that supports that
    Also that is why in some plans international texts have a cost whereas one can merrily iMessage from anywhere in the world and get away with it free
    So - if the texts are not leaving your phone - chances are that they do not have a channel to do that - that is an AT&T issue

  • Error Message: Not enough memory for operation.

    Hi All,
    I'm having problem when try to connect to Oracle DB, check my details as below :
    Connector : Microsoft ODBC for Oracle
    Database Expert : Using Stored Procedure to populate data to excel.
    Server Used: DBCCSWST125.reportjobserver 
    Error Message: Not enough memory for operation
    Problem occurred when I tried to use stored procedure in my rpt file.
    Thanks.

    You are using multiple versions and it's still not clear what is happening but the CR 2008 reports should not be published to BusinessObjects Enterprise XI R2. CR 2008 has functionality that XI R3 does not support.
    Create reports in CR XI R2 for BOE R2.
    Also, your version of Enterprise has not been patched. You should have a Support contract which will allow you to get into our Gated site and update BOE. Then it may work but check with your administrators first before patching BOE.
    Thank you
    Don

  • HT4859 I have the error message "Not enough storage. Cannot backup, not enough backup space in ICloud . . . ", but now the "close" and "settings" buttons don't respond and I cant get the IPad to open so I can go change settings. What do I do?

    I have the error message "Not enough storage. Cannot backup, not enough backup space in ICloud . . . ", but now the "close" and "settings" buttons don't respond and I cant get the IPad to open so I can go change settings. What do I do?

    For a "hard" restart of your iPad just press the home and power button at the same time and hold it for at least 10-15 sec. until it restarts.

  • Error message "not digitally signed or not signed in the appropriate manner

    My computer keeps crashing and I discovered that it is not recognizing a hardware device.  The device is the printer.  When I check further, it asks for driver updates and when I try to do that, I get an error message "not digitally signed or not signed in the appropriate manner.  
    I have no idea how to fix this since I am the administrator and I have an HP laptop too.  Any help is great.
    Thanks,
    Sonja

    Welcome to the community, Sonja! Aka @sonipsl 
    I have personally ran into the error message you are receiving before that states "not digitally signed or not signed in the appropriate manner", and I had posted a solution to it as well. I would like for you to see the steps that had fixed the problem in my first link below. You will notice that you will have to download the correct drivers for your printer, the Photosmart B210a model, and that link is also below.
    Click this link and try the steps in my post: Solution! Re: Getting Error when updating Driver for D110a
    This is link to get your drivers for your printer model: HP Photosmart Full Feature Software and Drivers
    I hope this does the trick! Please write me back to let me know the outcome
    Enjoy the rest of your Tuesday
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Error Message:Not enough balance in bond/UT1

    Dear Expert,
    I am creating ARE1 document excise under Running bond through tr cd J1IA101 in development client but at the time of posting ARE1 document system is giving error message" Not enough balance in bond/UT1: 0000010019 / 2010" Message no. 4F227 (error)
    and "Reservation amount is greater than the balance in the bond!"(warning)
    I checked the balance in bond it is really less but my client some times creating ARE1 document with negative bond balance because of delay in proof of export document for previous ARE1 documents and now we are implemening the ARE1 generation through sap.
    i want to know is it possible to change this error message to warning message or is their any other way to allow the system to generate ARE1 document with nagative bond balance.
    thanks in advance
    warm regards
    ravi

    HI
    this is to inform you that
    LSEUAF04                          1207         MESSAGE I200 WITH FINDOBJECT MESSAGESTRING SCOPEOBJECT
                                                                         RAISING NOT_FOUND.
                                      1258       MESSAGE I200 WITH FINDOBJECT MESSAGESTRING SCOPEOBJECT
                                                                       RAISING NOT_FOUND.
                                      1273         MESSAGE I200 WITH FINDOBJECT MESSAGESTRING SCOPEOBJECT
                                                           SCOPE_OBJ RAISING NOT_FOUND.
    the error which you are showing in the thread is dynamicall called from other program through the variables.
    convert this error message to warning message
    hope this clears your issue.
    balajia

  • Error Message "Not Enough Memory to Open Illustrator"

    Hi,
    Im running adobe illustrator cs5 on windows 7 and have previously had no problems. Today however when I opened a pdf I got the error message "Not enough memory to open illustrator" I have searched and cannot find a reason for this error. It now happens nearly every time I open a pdf. I increased my windows 7 virtual memory, however, this does not seem to have any effect. Any assistance would be appreciated.

    Something is blocking PDF handling (a security tool) on the system level and/or one of the shared Adobe components for PDF handling has been updated/ changed, most likely. Do the PDFs properly open in Acrobat/ Adobe Reader? Investigate these things. Also of course simply trash your AI prefs to make sure you are not a victim of tainted config data...
    Mylenium

  • Error message "Not Well Formed." Can this be repaired?

    Help!
    I have been attempting to open an InCopy (CS6) file, but it will not open. Instead, I get this error message:
    "Not Well Formed"
    Is there any way to repair this file? It was checked in and saved normally. If it cannot be repaired, I will lose about 1 month's worth of work because my backup has failed. I would appreciate any guidance

    Firefox has no built-in email features, if you are using Firefox to access your email it will be a web based email service and email features will be part of the email service. You will need to check with the support for the email service for how to do this.
    If this questions is about Thunderbird, for Thunderbird support you can ask in one of these forums:
    * http://forums.mozillazine.org/viewforum.php?f=39
    * http://getsatisfaction.com/mozilla_messaging

  • Error Message: Not Supported Method

    I have been trying to access my email via Verizon.net all day and get the following error message: Not Supported Method. Does anyone have any insight????
    Thanks. 
    Solved!
    Go to Solution.

    I have been signing in fine forever.  Just got this message today.  Have gotten it all day.  I am using Google Chrome.  I said, let me try signing in through Internet Explorer......guess what!  It worked fine.  Wonder if it has some thing to do with Google Chrome?  It just doesn't make sense.  I could sign it to the forum just fine.....

Maybe you are looking for

  • IOS 8 upgrade gone wrong - how do I get my data back?

    I was upgrading my iPhone 5S to iOS 8 today using iTunes. Halfway through iTunes through an "unknown" error and recovered my phone back to the factory settings. I don't have any backups on either iTunes or iCloud (don't ask why). I did a search for d

  • How to integrate and index SAP R/3 Office documents into  resp. through KM

    Hi, Is there a way to integrate an existing store of SAPOffice documents on R/3, stored by default in the SAP R/3 table SOFFCONT1 (KPro repository SOFFDB), into the KM on the portal, so that these documents can be indexed and searched through TREX fr

  • SELECT from table vs. CALL FUNCTION

    Hello, I have always wondered what the "best practice" is in this case, so I am looking for input.  When writing custom reports etc. in SAP, is it generally regarded as better practice to write a SELECT statement to get a line from say a Txxx configu

  • NAC problem with Samsung Galaxy Grand (Android)...!!!

    I tried accessing wifi though my Android mobile in my college, which is NAC installed. The mac address of my device was successfully added to the portal, but I'm not able to connect my device to the respective wifi network. Can anyone suggest what's

  • Connect to Oracle Database Server.

    how can i connect to Oracle Database Server without Oracle Client?