Need to show frm-40400 message

Hi,
I would like to show this FRM-40400 message for non database field update to another table .
Message should display in the status bar as "Frm-40400 Transaction Complete. 1 record applied and saved"
Please tell me how can i handle this issue.
Thanks in advance,

Hi
While updating the table, counts the record saved to a variable SQL%Rowcount;
Like below
Declar
Cts number ;=0;
Begin
Update Table..
cts := Sql%rowcount;
Message('Total Record Affected is '||CTS);
End ;

Similar Messages

  • Replacing FRM-40400 message

    My user doesn't want FRM-40400 'Transaction completed ...' in an alert. I've added the message to the Headstart message table to override the default and made it a severity Message. But now I don't know how many records were inserted or changed.
    Is there another possibility ?

    Gerrit,
    If you are on headstart version 5 or above, do the following:
    Open your application library and change the line
    -- show oracle messages in alert
    qms$forms_errors.set_oracle_message_target('A');
    into
    -- show oracle messages in console
    qms$forms_errors.set_oracle_message_target('M');
    Now this message pops up in the console instead of in an alert that the user has to acknowledge (only when forms needs to display another message after the first one, the first message will still pop up in an alert).
    Regards, Marc Vahsen
    Headstart Team

  • FRM-40400 No changes to apply

    Dear friends,
    I'm using a button to do a commit_form, i have 3 blocks (2 database blocks, 1 non database block).
    when ever i push the button for the first time it commits the form without any messages, but after that it always shows (FRM-40400 No changes to apply).
    i used :system.message_level like following:
    N:= :SYSTEM.MESSAGE_LEVEL;
    :SYSTEM.MESSAGE_LEVEL := 0;
    COMMIT_FORM;
    CLEAR_FORM(NO_VALIDATE);
    :SYSTEM.MESSAGE_LEVEL := N;
    but the message still appears after 1st push for the button.
    can any one help me on this issue.
    Please note that this issue happens only if i open the form using open_form method, but if i use new_form it works without any messages.
    Best Regards
    I found the solution, if you use call_form, you will be able to set the message level as you want. without being overridden by the calling form.
    Edited by: Mohammad1981 on Feb 12, 2010 1:23 PM
    Edited by: Mohammad1981 on Feb 12, 2010 1:28 PM

    i'v found the answer after posing the question. you can find it above.

  • No commit-message (FRM-40400) == Bug in Headstart

    Hello,
    On committing on or more business rules are violated the 'message-window' appear.
    After correcting the errors and committing the changes i'm not getting the usual
    'commit-message' (FRM-40400). This only happens after on or more business rules are violated.
    This is caused by a bug in the procedure 'QMS$FORMS_ERRORS.PUSH'. Below the solution i have implemented (the complete procedure is displayed). I'm using version 6.5.4.0 of the library 'qmslib65.pll.
    PROCEDURE Push
    ( p_msg IN VARCHAR2
    , p_error IN VARCHAR2 DEFAULT 'I'
    , p_msg_type IN VARCHAR2 DEFAULT ''
    , p_msgid IN NUMBER DEFAULT 0
    , p_loc IN VARCHAR2 DEFAULT '') IS
    -- Purpose Show message to the end-user, standard procedure for the Oracle Forms
    -- Generator of Designer/2000 to pass the display and handling of a message
    -- to a user created procedure.
    -- Usage Called by the Oracle Forms Generator code
    -- Parameters : msg Text message
    -- error ERRor or WARNing
    -- msg_type ORA, API or user TLA
    -- msg_id Id of message
    -- loc Location where error occured
    -- Remarks
    v_msg VARCHAR2(2000) := p_msg;
    v_error VARCHAR2(2000) := p_error;
    v_servermsg VARCHAR2(2000) := DBMS_ERROR_TEXT;
    l_empty_errorrec hil_Message.message_rectype;
    BEGIN
    IF p_msgid != 0
    THEN
    g_errorrec.severity := p_error;
    ELSIF ((SUBSTR (v_msg, 1, 11) = 'API Error: ')) OR
    ((INSTR (v_servermsg, 'ORA-20999') <> 0) AND (v_msg IS NULL)) OR
    (INSTR (v_msg, 'ORA-20999') <> 0)
    THEN
    -- error returned from the API, just display no further action required ?
    HandleServerAPIError (p_msg);
    -- M. Kappel
    /* 11-apr-2001
    - Allow check of v_servermsg even if v_msg contains data.
    - With new-style cdm ruleframe, v_msg contains 'ORA-20998'.
    We never looked at v_servermsg because v_msg was not null.
    - With old-style database trigger business logic, v_msg contains only text.
    If we still never look at v_servermsg, we don't identify that the error is
    a 20998 and therefore we raise an alert 'Transaction Failed' instead of
    showing the 'Errors in this Transaction' window.
    -- ELSIF ((INSTR (v_servermsg, 'ORA-20998') <> 0) AND (v_msg IS NULL)) OR
    -- (INSTR (v_msg, 'ORA-20998') <> 0)
    -- THEN
    On committing on or more business rules are violated the 'message-window' appear.
    After correcting the errors and committing the changes i'm not getting the usual
    'commit-message' (FRM-40400). This only happens after on or more business rules are violated.
    When one or more business rules are violated application error ORA-20998 is raised. To
    detect this DBMS_ERROR_TEXT is used ==> DBMS_ERROR_TEXT contains ALWAYS the text of the
    LAST (dbms-)error (the text contains 'ORA-20998').
    Even when no business rules are violated it's possible that DBMS_ERROR_TEXT contains 'ORA-20998'.
    In that case no FRM-, MNU-, PLS-, SRW-, ORA- or REP-messages are displayed, because the error is
    treated as a voilation of one or more business rules. To avoid this 'v_error = E' is added to the IF-clause:
    when one or more business rule are violated this procedure is called to display an error (p_error ==> E);
    for displaying the FRM-, MNU-, PLS-, SRW-, ORA- and REP-messages this procedure is called to display an
    information (p_error ==> I).
    When Designer generates code to validate p.e. check-constraints it will call this procedure too. See the example
    below:
    IF (:FUNCTIES.MIN_LEEFTIJD < :FUNCTIES.MAX_LEEFTIJD) THEN
    NULL;
    ELSE
    qms$forms_errors.push('CBB-00219', 'E', 'OFG', 0);
    qms$forms_errors.raise_failure;
    END IF;
    In this case the procedure is called to display an error. To avoid that the error is incorecctly treated as a
    violation of one or more business rules '(p_msg_type != 'OFG' or p_msg_type is null)' is added to the IF-clause.
    ELSIF v_error = 'E'
    AND (p_msg_type != 'OFG' or p_msg_type is null)
    AND ( INSTR (v_servermsg, 'ORA-20998') <> 0
    OR INSTR (v_msg, 'ORA-20998') <> 0
    THEN
    HandleServerApplError (p_msg);
    -- error returned from the API, just display no further action required ?
    ELSIF ((INSTR (v_servermsg, 'ORA-20000') <> 0) AND (v_msg IS NULL)) OR
    (INSTR (v_msg, 'ORA-20000') <> 0)
    THEN
    -- error was raised by old Headstart code with raise_application_error
    -- strip ora-20000 : , check if code (get message) or message
    HandleOldHeadstart (v_servermsg);
    ELSIF (SUBSTR (v_msg, 1, 3) IN ('FRM', 'MNU', 'PLS', 'SRW', 'ORA', 'REP'))
    THEN
    HandleOracleError (v_msg, v_error);
    ELSE
         HandleApplError(v_msg, v_error);
    END IF;
    Display_Error (g_errorrec);
    g_errorrec := l_empty_errorrec;
    END Push;

    you can create a KEY-COMMIT form level trigger with the following :
    declare
    msglvl varchar2(3) := :system.message_level ;
    begin
    :system.message_level := 5 ;
    commit_form ;
    :system.message_level := msglvl ;
    end ;
    or put instruction : clear_message; before the commit_form ;

  • Hello, my iphone for several times shows me this message "this iphone can't be used because the Apple Mobile Device service not started". I need help because i'm enable do download the new update. Thanks

    Hello, my iphone for several times shows me this message "this iphone can't be used because the Apple Mobile Device service not started".
    I need help, because i'm enable do download the new update.
    Thanks

    Type "Apple Mobile Device service" into the search bar at the top of this age by "Support" and read the resulting help articles.

  • Error message "don't show me this message again", I need it back!!!

    Stupidly I click "don't show me this message again" when itunes couldn't locate my music on an external hard drive. Apple help couldn't helped, so does anyone know how I can get this error message back so I can so itunes where to locate my music.

    It's application specific. You can re-enable the warnings in your preferences by clicking the Reset All Warning Dialogs button.
    Bob

  • Display the FRM-40400 at the bottom not with popup

    Hi,
    I need help with one form i have to modify, after modifiying the form, i noticed that the message FRM-40400 is displayed as popup but i just want this message to be displayed at the bottom of the form. Do you have any idea?
    Thanks.

    What version of Forms are you using?  What changes did you make to the form?  Did you make changes to the ON-MESSAGE or ON-ERROR triggers?
    The most likely cause of the FRM-40400: Transaction Complete message being promoted to the Default Alert is that you are writting a new message to the status bar but you didn't call the CLEAR_MESSAGE() built-in first.  It is always good (and recommended) practice to call the CLEAR_MESSAGE() built-in before displaying a new message with the MESSAGE() built-in; this ensures the status bar is clear before the message is displayed.  If there is a message already displayed in the status bar when a new message is sent to the status bar then the current message is promoted to the default Alert so the new message can be displayed.
    What message is in the status bar after you click OK on the popup (default Alert)?
    Craig...

  • Show custom Error message in MB_CHECK_LINE_BADI

    Hi to all!
    I'm using MB_CHECK_LINE_BADI to make some validation before posting the document.
    The problem is this:
    When I try to show an E message from a Z message ID, te message isn't shown correctly.
    For example:
    if sy-subrc <> 0.
    v_txt = 'ERROR'.
        message E001 (Z_MSG) with v_txt.
    endif.
    Message ID Z_MSG, Message Number 001 = 'This is an example of an'.
    The message is show like this: S:Z_MSG: ERROR
    instade of This is an example of an ERROR.
    I realize that the only E messages that are shown correctly are those which Message ID and Message number are in the T159F table.
    Does any one knows if I have to update tihs standard table and how?
    Or how can I do to show my E messages correctly?
    Thanks a lot!
    Nico.-

    Hi,
    Yes, you can do that. You would need to create a page validation that loops through the records in the tabular form, checks the values entered and then returns an error message.
    Create a new validation. Set it to a Page level validation, select PL/SQL and then Function returning error text, then give it a name. The PL/SQL will be something like:
    BEGIN
    FOR i IN 1..APEX_APPLICATION.G_F01.COUNT
    LOOP
      IF TO_NUMBER(APEX_APPLICATION.G_F04(i)) > 100 THEN
       RETURN 'Item ' || TO_CHAR(i) || ' - DEPTSAL must not be greater than 100';
      END IF;
    END LOOP;
    RETURN NULL;
    END;This will loop through the records in column 4 and check the amount. If it is greater than 100, an error message is generated displaying the row with the error. This will stop the process on the first error. If there are no errors NULL is returned which indicates that the validation test has passed.
    You should replace G_F04 with the correct column for your page - do a View Source on the loaded page and check for the "name" attribute for the column. G_F04 is for "f04", G_F05 is for "f05" etc.
    Andy

  • Getting FRM-40400 but data is not in table

    I have a form with three data blocks. The first one is Database Data Block = no because it is used for query purposes only. The second one is Database Data Block = yes and is the only data block in which data gets entered into a table. The final data block is Database Data Block = no because it is a control block that houses my display items and buttons. Now, I am trying to get the data to save by way of a SAVE button. On the button I have code to GO_BLOCK() to the second database block and then perform a commit; I get a message back FRM-40400 which says Transaction complete: 1 records applied and saved. However when I open up the table in the database, nothing is there.... I imagine that this tells me that the form is not actually committing as it says. So, how do I find out what exactly my form is doing?
    Thanks!

    I've modified my form a bit since I posted this...I created a master-detail relationship between my first data block and the second one. I had a suggestion from someone else on this topic that when I press the save button, I should go_block('detail block') before performing the commit and that should work. Well, that didn't work either. It's still trying to commit the first data block. I used commit and commit_form because I wasn't sure which one was appropriate for my form.

  • How to show execution error message from a Process

    hi
    i have a requirement like to display the error messsage returned by the proceure.
    I have a process with point After Submit and validations, where i am calling a procedure which returns the execution status with SUCCESS or FAILURE;
    and if it FAILURE, it will return the error_message also, how can i show this message to the user just like how we are showing the process success message/validation message.
    And i need to stop the process execution there itself once its got failed;
    how can i achieve these two? anyone can give some inputs....
    thanks in advance
    renjish

    paul and denes, thanks for the quick reply...
    i tried the both option the message is coming properly. but the thing is i want to stop the execution there itself where i got the error from the procedure and the page should be remained in the same page.
    currently i have a page 10(customer search screen), from there i called page 102 (customer edit screen) and in the page 102 i attached the process which includes the procedure to update the customer details;
    Normally if update is success, the procedure will return SUCCESS and its navigating to the page 10(customer search screen.). so here if FAILURE is returning by procedure, i need to be in the same page i.e 102(customer edit) by showing the error message..just like a validation message...
    currently whatever the procedure returns either SUCCESS or FAILURE, it goes to previous screen, but i need the method just like how the validation works if it fails.
    hope you got....
    regards
    renjish

  • In Mail on my iPhone I have selected show 200 recent messages but only 10 appear how can I fix this?

    Hello,
    I have just recently noticed that in my Mail inbox on my iPhone 5 it is only showing 10 or so previous messages. I have turned my phone on and off, reset mail settings and made sure I have selected show 200 recent messages but still only a few show up. I have also just added my Uni email account to my iPhone and it hasn't loaded any previous emails, it's just an emty mailbox. I really need to be able to search for my previous emails so if someone knows how to fix this please help!

    salsagirljennifer wrote:
    Hi-I got an email saying my icloud was almost full (using 4.8 of 5.0 gb) but when I got to the icloud settings on my iphone it shows I have 200 gb and am only using 19gb. How can I fix this?
    Maybe you have two icloud accounts?

  • I just brought a apple protection plan as my phone warranty is going to end in a day, when i am trying to enter the protection plan code and my phone serial no its showing an error message try after some time is there any solution to that?

    i just brought a apple protection plan as my phone warranty is going to end in a day, after entering the protection plan code and my phone serial no its showing an error message "technical error try after some time", is there any solution for that?
    As i need the warranty to extend for another year please help me regarding this issue.
    When i bought a new iphone5 in Inda after using it for three days lock button was not working properly and it was warranty claimed and exchanged from apple service center in India, for the same phone I want to extend the warranty but its showing a error message is there any solution?

    Here is some information on the applecare +:
    http://www.apple.com/support/products/iphone.html
    It appears that you have to buy the applecare within 30 days of buying your phone - you said that your phone warranty is almost over, so when did you buy it??? That could be the explanation for the error.

  • Need to show popup when the Submit button is clicked for the second time ..

    Hi guys,
    I have a requirement where i need to show a popup or alert when the submit button is clicked twice . When it is clicked for the first time one method is been called and its process starts. When the user clicks the submit button for the second time they should be shown a popup stating "Submit button already been clicked, please clicked OK to continue".
    Can anyone help with this please , its really urgent requirement ?
    Thanks in advance

    Hi,
    I dont have any sample code to give you now. For quick reference, I can advice some psuedo steps to achieve your requirement. I dont have access to JDEV to test this. If any syntax errors then pls correct yourself.
    1. Extend Controller since it is standard page ( Refer Anil Passi site for steps to extend seeded ontroller)
    2. Write below logic in your Process Request method
    super.processRequest(oaPageContext, oaWebBean);
    pageContext.putSessionValue("status", "notInitiated");
    3. Include below logic in your PFR method
    if(pageContext.getSessionValue("status")!=null){
    if("notInitiated".equals(pageContext.getSessionValue("status")))
    super.processFormRequest(oapagecontext, oawebbean);
    pageContext.putSessionValue("status", "initiated");
    else
    String message = "Display error message as required";
    throw new OAException(message, OAException.ERROR);
    You may need to import required packages ( Related to OAException).
    Remeber, to sumbit the request, user need to refresh the page again so that "status" variable will be refreshed.
    Hope it helps.
    Thanks
    venkat

  • How to show a success message in a dialogue at the top of the page

    Hi,
    Can someone please tell me how to show the dialogue message at the top of the page on successfully inserting a record in the database. Current I have 2 pages from first page user navigates to the second page where the information entered on the page is saved in the database on successful commit I am forwarding back to the first page where I need to show a message a record saved successfully. Can someone tell me how to do that. Currently in my second page I have the following
    OAException confirmMessage = new OAException("Record has been added successfully.",
                                                           OAException.CONFIRMATION);
              pageContext.putDialogMessage(confirmMessage);
              pageContext.forwardImmediately("OA.jsp?page=<back_to_first_page>",
                                  null,
                                  OAWebBeanConstants.KEEP_MENU_CONTEXT,
                                  null,
                                  null,
                                  true, // Retain AM
                                  OAWebBeanConstants.ADD_BREAD_CRUMB_NO);but I don't see a message at the top of the first page. Any help is appreciated.
    Thanks

    Hi guru,
    forwardImmediately or setForwardURL would not swallow any messages.
    The folllowing code works in create page of toolbox tutorials.
    MessageToken[] tokens = { new MessageToken("EMP_NAME", employeeName),
    new MessageToken("EMP_NUMBER", employeeNum) };
    OAException confirmMessage = new OAException("AK", "FWK_TBX_T_EMP_CREATE_CONFIRM", tokens,
    OAException.CONFIRMATION, null);
    pageContext.putDialogMessage(confirmMessage);
    pageContext.forwardImmediately("OA.jsp?page=/<yourname>/oracle/apps/ak/employee/webui/EmpSearchPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Safari won't start after showing an error message: Safari can't use the extension "Omnibar" because the extension is no longer valid.

    Since yesterday evening (19-01-2015) safari won't start. After clicking the safari application it shows an error message: Safari can't use the extension "Omnibar" because the extension is no longer valid.
    This message almost directly disappears whereupon the Problem Report opens. I've tried to find a solution on the web but without succes.
    I'm running OS X Yosemite version 10.10.1 and Safari version 8.0.2 on a:
    MacBook Pro (Retina 13-inch, Mid 2014)
    Processor 3 GHz Intel Core i7
    Memory 16 GB 1600 MHz DDR3
    Graphics Intel Iris 1536 MB
    Since I updated to Yosemite I've been having multiple problems. I already read a clean install will solve most of them. But till then I would love safari to work again.
    Thanks!

    There is no need to download anything to solve this problem.
    If Safari crashes on launch and you don't have another web browser, you should be able to launch Safari by starting up in safe mode.
    You may have installed the "Genieo" or "InstallMac" ad-injection malware. Follow the instructions on this Apple Support page to remove it.
    Back up all data before making any changes.
    Besides the files listed in the linked support article, you may also need to remove this file in the same way:
    ~/Library/LaunchAgents/com.genieo.completer.ltvbit.plist
    If there are other items with a name that includes "Genieo" or "genieo" alongside any of those you find, remove them as well.
    One of the steps in the article is to remove malicious Safari extensions. Do the equivalent in the Chrome and Firefox browsers, if you use either of those.
    After removing the malware, remember to reset your home page in all the web browsers affected, if it was changed.
    If you don't find any of the files or extensions listed, or if removing them doesn't stop the ad injection, then you may have one of the other kinds of adware covered by the support article. Follow the rest of the instructions in the article.
    Make sure you don't repeat the mistake that led you to install the malware. Chances are you got it from an Internet cesspit such as "Softonic" or "CNET Download." Never visit either of those sites again. You might also have downloaded it from an ad in a page on some other site. The ad would probably have included a large green button labeled "Download" or "Download Now" in white letters. The button is designed to confuse people who intend to download something else on the same page. If you ever download a file that isn't obviously what you expected, delete it immediately.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.

Maybe you are looking for

  • Search for text in a PDF

    Is there a Livecycle component that will help me find the pages where a phrase is found?  If so, what is it?  And, can you provide an example?

  • Why do I keep getting new pins sent to me?

    I downloaded the Messages app on my wife's phone and it keeps sending new pins and saying it failed the security. What do we need to do?

  • Ping but no client response

    I am using ARD 3.3 to manage the Macs in my building. I am having troubles with 11 out of 21 of the MacBook 4,1 model computers that are not showing up on the Scanner / All Computers list with ARD. Those not on the list show up as black icons with IP

  • How to change layer name with Wacom pen?

    Anyone have any good tips on this? 50% of time I do this the style menu come up instead. With mouse, no problem, with Wacom pen, this happens. I don't see a right click option to change a layer name, maybe I don't see it? That would help a lot. thank

  • HT203421 There was an error

    There was an error in the App Store. Please try again later. (100)