FRM - 40735:KEY - NEXT-trigger POINT raised unhandled exception ORA-20400


Hi am having this error in my KEY-NEXT-ITEM trigger code was developed in 6i get this error when you call another procedure within these proceedings I have exception

the form has been improved to 11g, the database is also in 11g

Check how message ora-20400 supprise

Hamid

Tags: Oracle Development

Similar Questions

  • FRM - 40735:WHEN - BUTTON-trigger PRESS raised unhandled exception ORA-06503

    Hi all...
    I develop a form on the form 6i like a registration form...

    Suppose emp_name is a text element...

    I need to validate that the point that the number, the null characters and special should not be allowed.

    I created a function to check these postings

    function v_check (p_item_name varchar2)
    return a Boolean value is
    Start

    I'm in 1.length (p_item_name)
    loop
    If substr(p_item_name,i,'1') in ('1','2','3','$','%','@','!','#') then
    Returns false;
    end if;
    end loop;
    end v_check;


    When I click on the save_Record button it commit the form I'm checking the field emp_name with this validation by calling the above function.

    save_Record button, I wrote this WHEN BUTTON PRESSED to code trigger

    declare
    a number;
    Start

    If: iptable.ip_name is null or (not v_check(:iptable.ip_name)) puis)
    set_alert_property ('alert', title, 'validation of name');
    set_alert_property ('alert' ', alert_message_text, ' years spl char null is not allowed ');
    a: = show_alert ('alert');
    go_item ('iptable.ip_name');
    raise form_trigger_failure;
    end if;
    If: system.form_status = 'CHANGED' then

    set_alert_property ('alert', title, 'Save box');
    set_alert_property ("alert", alert_message_text, "Save");
    a: = show_alert ('alert');
    If a = alert_button1 then
    commit_form;
    on the other
    raise form_trigger_failure;
    end if;
    on the other

    set_alert_property ('alert', title, 'Save box');
    set_alert_property ("alert", alert_message_text, "Noting the box save");
    raise form_trigger_failure;

    end if;
    end;


    But I get this
    FRM - 40735:WHEN - BUTTON-trigger PRESS raised unhandled exception ORA-06503

    exception

    How I can fix this error... help me

    Thank you...

    Published by: maddyd2k on November 25, 2010 10:37

    Hello

    Actually your v_check function may return a null value, that is not TRUE nor FALSE.

    Modify your function like this:

    function v_check (p_item_name varchar2)
    return a Boolean value is
    Boolean l_return: = true;
    Start

    I'm in 1.length (p_item_name)
    loop
    If substr(p_item_name,i,'1') in ('1','2','3','$','%','@','!','#') then
    l_return: = false;
    end if;
    end loop;
    Return l_return;
    end v_check;

  • FRM - 40735:when - button-trigger pressed raised unhandled exception ORA-24247

    Hi all

    I use the 10g release2 form I'm having a problem
    When I use the following stored procedure in form so I get this
    error.
    FRM - 40735:when - button-trigger pressed raised unhandled exception ORA-24247
    but the same code works fine when I use in SQLPLUS.
    CREATE OR REPLACE PROCEDURE mail_attach (dir1 VARCHAR2, filename VARCHAR2)
    AS
      l_output  utl_file.file_type;
      l_file       RAW(32767);
      l_size       NUMBER;
      BLOCK       NUMBER;
      b          BOOLEAN;
      l_start NUMBER := 1;
      TYPE ARRAY IS TABLE OF VARCHAR2(255);
      l_data ARRAY := ARRAY([email protected]');
     BEGIN
      UTL_FILE.FGETATTR(dir1, filename, b, l_size, BLOCK);
      l_output := utl_file.fopen('BACKUP', 'code.txt', 'r' );
      utl_file.get_raw(l_output, l_file, l_size);
      utl_file.fclose( l_output );
      FOR i IN l_start .. l_data.COUNT
      LOOP
        UTL_MAIL.SEND_ATTACH_RAW (
            sender   => 'Mailer',
            recipients => l_data(i),
            subject   => 'Data for ' || TO_CHAR((SYSDATE-1),'DD-MON-YYYY'),
            attachment => l_file,
            message   => 'Dear User, Please find attached the upload
    data for the period mentioned in the subject line.',
            att_inline => FALSE,
            att_filename => filename);
           l_start := l_start + 1;
      END LOOP;
     END;
    and it is used in form release button when pressed.
    BEGIN
      mail_attach('UTL_PATH','code.txt');
      
         message('FIle send successfully');
         message('File send successfully');
    
    END;

    Hello

    Try the following...

    SQL> show user;
    USER is "SYS"
    SQL> GRANT EXECUTE ON DBMS_FGA TO MAIL;
    
    Grant succeeded.
    
    SQL> GRANT CREATE PROCEDURE, DROP ANY PROCEDURE TO MAIL;
    
    Grant succeeded.
    
    SQL> GRANT EXECUTE ON UTL_TCP TO MAIL;
    
    Grant succeeded.
    
    SQL> GRANT EXECUTE ON UTL_SMTP TO MAIL;
    
    Grant succeeded.
    
    SQL> GRANT EXECUTE ON UTL_ENCODE TO MAIL;
    
    Grant succeeded.
    
    SQL> GRANT EXECUTE ON DBMS_NETWORK_ACL_ADMIN TO MAIL;
    
    Grant succeeded
    

    Sarah.

  • FRM - 40735:when - button-trigger pressed raised unhandled exception ORA-01841

    Hi all
    I m this error FRM-40735: when pressed to shutter raised unhandled exception ORA-01841
    and relaxation that I wrote is like that: -.

    DECLARE
    CURSOR I IS SELECT SANCDATE, REFNO, PRINCIPALAMT, SANCAMT, TOTINSTALMENT, RATERECOVERY, AMTRECOVERED, INSTALMENTRECOVERED,.
    STARTYEARMM, ENDYEARMM
    OF PRMALOAN
    WHERE EMPNO =: PRMALOAN. EMPNO
    AND EARNINGDEDUCTION =: PRMALOAN. EARNINGDEDUCTION
    AND PAYCALPERIOD IS SET TO NULL;
    d date: = to_date('200908','yyyymm');
    date of s;
    f date;
    BEGIN
    go_block ('prmaloan2');
    OPEN I;
    LOOP
    I GET: PRMALOAN2. SANCDATE,: PRMALOAN2. REFNO,: PRMALOAN2. PRINCIPALAMT,: PRMALOAN2. SANCAMT,: PRMALOAN2. TOTINSTALMENT,
    : PRMALOAN2. RATERECOVERY,: PRMALOAN2. AMTRECOVERED,: PRMALOAN2. INSTALMENTRECOVERED,: PRMALOAN2. STARTYEARMM,: PRMALOAN2. ENDYEARMM;
    s: = to_date (':prmaloan2.startyearmm ','yyyymm ');
    e: = to_date (':prmaloan2.endyearmm ','yyyymm ');
    If
    e a null value
    then
    : prmaloan2. TEXT_ITEM164: = MONTHS_BETWEEN (d, s);
    exit when I % notfound;
    next_record;
    end if;
    end loop;
    proximity I;
    END;

    Please help me to remove this error

    Hello!

    s:=to_date(':prmaloan2.startyearmm','yyyymm');
    e:=to_date(':prmaloan2.endyearmm','yyyymm');
    

    won't. Replace:

    s:=to_date( :prmaloan2.startyearmm, 'yyyymm' );
    e:=to_date( :prmaloan2.endyearmm, 'yyyymm');
    

    Concerning

  • FRM-40735 when-pressed to release raised unhandled exception ora-06502 button?

    I write the following procedure

    PROCEDURE p73_fragment_metar (p_metar in varchar2, varchar2, out p_dy Code_P varchar2, p_hr out varchar2,)
    p_dd number, p_ff series, p_tt number of p_dp number, p_qnh number.
    p_mn out varchar2, p_year out varchar2)
    IS
    -p_metar varchar2 (500);
    str_date_code Varchar2 (500);
    code varchar2 (10);
    DY varchar2 (10);
    HR varchar2 (10);

    str_dd_ff Varchar2 (500);
    JJ varchar2 (10);
    VARCHAR2 (10) FF.;

    str_tt_dp varchar2 (500);
    TT varchar2 (10);
    VARCHAR2 (10) DP;

    qnh_str varchar2 (500);
    QNH varchar2 (10);

    DAT varchar2 (20);
    MNTH varchar2 (20);
    VARCHAR2 (10) years;


    BEGIN
    -p_metar: = 'OJAM 171600Z 32010KT 5000 HZ SCT030 11/05 Q1023 NOSIG';
    str_date_code: = substr (p_metar, 1, length (DelimStr.GetString (p_metar, 1, FALSE, 'Z')) + 2);
    Code: = substr (str_date_code, 1, length (str_date_code)-9);
    Code_P: = code;

    dy: = substr (str_date_code, length-7 (str_date_code), 2);
    p_dy: = dy;

    HR: = substr (str_date_code, length-5 (str_date_code), 4);
    p_hr: = h;


    -- --------------------------------------------------------------------------------------
    -str_dd_ff: = substr (p_metar, 1, length (DelimStr.GetString (p_metar, 1, FALSE, 'KT')) + 0);
    -dd: = substr (str_date_code, length-5 (str_dd_ff), 3);
    DD: = substr (p_metar, 14, 3);
    p_dd: = to_number (dd);

    FF: = substr (p_metar, 17, 2);
    p_ff: = to_number (ff);

    -- --------------------------------------------------------------------------------------
    str_tt_dp: = substr (p_metar, 1, length (DelimStr.GetString (p_metar, 1, FALSE, ' /')) + 3);

    TT: = substr (str_tt_dp, length-5 (str_tt_dp), 3);
    p_tt: = to_number (tt);

    DP: = substr (str_tt_dp, length (str_tt_dp)-1, 3);
    p_dp: = to_number (dp);
    -- -------------------------------------------------------------------------------------
    qnh_str: = substr (p_metar, 1, length (DelimStr.GetString (p_metar, 1, FALSE, 'Q')) + 5);
    QNH: = substr (qnh_str, length (qnh_str)-3, 5);
    p_qnh: = to_number (qnh);

    -- -------------------------------------------------------------------------------------
    Select to_char (sysdate) in DUAL from SWD;
    month: = substr (dat, length (dat)-5, 3);
    p_mn: = mnth;
    years: = '20'. substr (dat, length (dat)-1, 3);
    p_year: = years;
    -- ---------------------------------------------------------------------------------
    / * p05_show_alert_message (code);
    p05_show_alert_message (dy);
    p05_show_alert_message (HR);
    p05_show_alert_message (DD);
    p05_show_alert_message (FF);
    p05_show_alert_message (TT);
    p05_show_alert_message (DP);
    p05_show_alert_message (QNH);
    p05_show_alert_message (MNTH);
    p05_show_alert_message (years); * / This loaded message to be sure and beach t each variable is it has the correct value


    END;


    I try to call hollow a trigger when the button as follows

    Declare
    p_metar varchar2 (500);
    Code_P varchar2 (10);
    p_dy varchar2 (10);
    p_hr varchar2 (10);

    p_dd number (4.4);
    p_ff number (4.4);

    p_tt number (4.4);
    p_dp number (4.4);
    p_qnh number (4.4);

    p_mn varchar2 (20);
    p_year varchar (10);

    Begin
    p_metar: = 'OJAM 171600Z 32010KT 5000 HZ SCT030 11/05 Q1023 NOSIG';

    p73_fragment_metar (p_metar, Code_P, p_dy, p_hr, p_dd, p_ff, p_tt, p_dp, p_qnh, p_mn, p_year);

    END;


    When the p73_fragment_metar PROCEDURE is called, I receive the following error message:
    FRM-40735 when-pressed to release raised unhandled exception ora-06502 button?

    Don't know if this is the reason, but are you sure that it is correct

    p_dd number (4.4);

    This means that you put a number with no figures before the commae and 4 digits after the decimal point, means you can't store something like 1 in it.

  • FRM-40735: WHEN PRESSED to SHUTTER raised unhandled exception ORA-06502

    I am set_element-property when button pressed but lov get this error

    I whated this

    BEGIN

    copy (: cal_erd.copyobjid,'c)

    al_erd.obj_child');
    go_item('cal_erd.) DISPLAYNAME');
    do_key ('List_values');
    copy ('0', 'GLOBAL.save_mouse_record');
    END;

  • FRM-40735 WHEN-PRESSED TO SHUTTER RAISED UNHANDLED EXCEPTION ORA-01422

    declare
    number of in_h;
    number of in_mi;
    number of out_h;
    number of out_min;
    number of diff_hr;
    number of diff_min;
    Start
    : THE CUSTOMER. OUT_TIME: = to_char(sysdate,'hh24:mi:ss');
    update the journal set out_hr = round (to_number (to_char (sysdate, 'HH24')));
    out_min = Round (TO_NUMBER (to_char (sysdate, 'mi'))) where lower (loguser) = "2010u1";
    Select in_hr, in_min, out_hr, out_hr, in_h, in_mi, out_h, out_min of the newspaper;
    diff_hr: = out_h-in_h;
    diff_min: = out_min-in_mi;
    set a day of the journal set dayhr = diff_hr, daymin = diff_min where lower (loguser) = "2010u1";
    : THE CUSTOMER. TIME_DIFF: = diff_hr | diff_min;
    commit;
    end;

    Hello

    Add the following after validation...

    COMMIT;
    EXCEPTION
    WHEN OTHERS
    THEN
    ............................
    

    and please also refer to the following link...

    http://www.DBA-Oracle.com/sf_ora_01422_exact_fetch_returns_more_than_one_requested_number_of_rows.htm

    Sarah

  • FRM-40735 WHEN-PRESSED to release raised unhandled exception ORA-305550 BUTTON

    I have a form that exports data from forms in MS Excel using OLE. Everything in my development environment, but when I put the FMX on the server of forms I get this error in the title. In Forms Developer I have WEBUTIL attached under libraries of objects, which is an olb file. Im guessing in the need to add WEBUTIL on Forms Server?

    Looks like the db-webutil objects are missing. Please make sure that WEBUTIL installed after installation guide http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil_manual.pdf

  • FRM-40735: trigger ERROR raised unhandled exception ORA-06508

    I am having this error when executing my form this error before the page load screen I have not een know what trigger causes error

    FRM-40735: trigger ERROR raised unhandled exception ORA-06508'm in oracle 11 g 2 of the form how to find on which trigger causes error

    Hello

    Below is the cause of the error and for more information, see the link below.

    Question: An attempt was made to call a stored program that cannot be found.

    ORA-06508: PL/SQL: not found unit of programs called tips

    Oracle/PLSQL: ORA-06508

  • FRM-40375:-trigger INSERT raised unhandled exception ORA-04062

    Hi all:
    Error is received in the analytical Segment window: FRM-40375:-INSERT trigger raised unhandled exception ORA-04062, when I check the Note 136102.1 he tell me to define the "set security Type in the series of value, FNDFFMVS, no security."

    I don't know where to set the Type of security in the window series value.





    Respect of
    Terry

    Terry,

    Connect to SQL * more as a user of applications and run the scripts.

    $ sqlplus apps/
    
    SQL>@AFFFVLSB.pls
    
    SQL>@AFFFVLSS.pls
    

    Thank you
    Hussein

  • Error:-frm 40735 Trigger error raised unhandled exception ora-06508

    Hi all

    I'm new to EBS and I'm trying to compile EBS CUSTOM.pll file in which integrating AXF for the functionality of the Imaging, zoom button but when I followed the Oracle for the same documentation I am facing frm 40735 error when opening workbench.

    Link to the Oracle documentation file:- Configuration of the E-Business Suite components

    Note:-compiling all have passed without error.

    Please guide me.

    Thanks, Vikrant, it helped & I managed to solve this problem

  • Error FRM-40735: trigger ON-ERROR raised unhandled exception ORA-01001

    When I want to create a new project the form send this error message:

    FRM-40735: trigger ON-ERROR raised unhandled exception ORA-01001

    I already compile forms, they ran autoconfig and has no

    Forms is: PAXPREPR

    the module is: projects

    EBS version: 11.5.10.2

    DB: 11.2.0.3.0

    Please see:

    PAXPREPR - creating a project gets error FRM-40735: error Trigger & ORA - 01001 (Doc ID 417218.1)

    PAXPREPR - FRM-40735 when you try to copy the project template after you have entered a fast entry (Doc ID 417537.1)

    Thank you

    Hussein

  • FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-06508

    Hi all

    Pending Production, we have a problem on invoice AP Workbench, gives an error (FRM-40735 after query Trigger on level Bill) when we recover the existing data of the invoice is entered.

    For this we have compiled the invalid objects and applied the patch according to metalink id [ID 1209736.1]

    After that we came up with new error FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-06508.

    Can someone help us

    Thank you
    SAI

    SAI,

    Thanks for the update and share the solution.

    Hussein

  • FRM-40735: trigger for INSERTION after raised unhandled exception ORA-25207

    Hello
    I am trying to create custom applications. In that when creating custom responsibility I get the following error
    FRM-40735: trigger for INSERTION after raised unhandled exception ORA-25207

    I know ORA-25207 is related to the activation of the queues, but how do I find out which queue this error is ponting at.

    File alertlog Checked, $APPLCSF / $APPLLOG found nothing.

    Any help is appreciated

    Concerning
    Taher

    PL see if the steps described in MOS Doc 211095.1 (11, 5 - AP: Frm-40735: trigger of sur-Commit not triggered managed Ora - 25207 Exception on APXPAWKB) can help.

    It is an odd error and should not occur when you create custom responsibilities. You have customizations/triggers/customizations enabled on the form of accountability?

    HTH
    Srini

  • FRM-40735: trigger ON-ERROR raised unhandled exception ORA-01001

    Hi Hussein.

    I tried to interview as a summary transaction for AR

    Superuser of receivables > Transactions > summary of the operation > and request date of the operation "5 June 09.
    the process lasted until after a long period, it displays error > FRM-40735: trigger ON-ERROR raised unhandled exception ORA-01001

    But all the other dates are OK for the query. :(


    What is the problem with this operation? My delete tables interfaces affected it? :((


    Thank you very much

    Hello

    I can make this comment: first 445166.1? It's short and easy to follow. Another note is too long and complicated.

    Yes, you can.

    For removing the transaction from the backend, I don't recommend it unless you are prompted to do so by the Support of Oracle.

    Kind regards
    Hussein

Maybe you are looking for

  • How downgrade to ios to 9.1.2

    I have downgrade my iOS to 9.1.2. Please guide me the procedure

  • HP Officejet Pro 8600 Plus - Duplex printing problem

    I use a printer Officejet Pro 8600 Plus (what is the best printer I've ever had, apart from this problem!).  I use it with Windows 8.1. He struggles for more than a few pages print using duplex.  The problem seems to get worse when I print a pdf file

  • I have a dell inspiron 640 m and I want to reset it.

    I have not all discs then how I do it and is at - it risk

  • J611 for the all-in-one Deskjet 3050 series has

    I want to download the software for my printer on my laptop. But the CD for the printer cannot download because it does not support Windows 8.1. So I thought that I can just download the software from this site, but I do not know what to use because

  • What is remengine.exe?

    I have a new computer, HP Pavilion a6750t, window Vist Home Premium. I wanted to make a recovery disc for my system, I go to PC Action Center, the recovery of the system and follow the directions to start or run, the first step to make the discs and