Error: FRM-40743  on a view based form - EBS

Hello,
I have a form that requires DML operations. This form is an EBS form will run in an 11.5.10.2 environment and developed using 6i. I am getting following error persistently
FRM-40743 - This operation with no base table requires the ON-LOCK trigger The form has one data block that is based on the view. The view is joined and based on following tables.
Hz_Parties Hp,
Hz_Cust_Accounts
Hz_Cust_Acct_Sites_All
Hz_Party_Sites
Hz_Locations
Ra_Salesreps_All
Hz_Cust_Site_Uses_All
Ar_Vat_Tax_All
xx_custom_table t
The data block has following property set at block level
Key Mode - Non Updatable
DML Data Target Type - Table
DML Data Target Name - Custom_View1
Query Data Source Type - Table
Query Data Source Name - custom_view1
Also - One item under this block is set to Primary Key Yes.
As you can see, all settings are right. But still above error is persistent. Can any one shad light on why is this happening?
Thanks,
R

Hi,
Can you check this,
Create a ON-LOCK Trigger in form level and put null and check this issue still exist.
Thanks & Regards
Srikkanth.M

Similar Messages

  • View based form updation in 6i and 10g forms.

    Hi All,
    I am facing a strange problem.
    I created a form based on a view, which is based on a single table. i made a copy of the form and converted it to 10g.
    When running in 6i, i can update the data through forms. But in 10g, its showing FRM-40602: Cannot insert into or update data in a view.
    Can anyone tell what is wrong?
    Thanks & Regards,
    Manu.

    hi Manu
    How to insert new record or update existing record using a complex view?
    to make dml against a complex view with instead of triggers a reality. There should be no need to write an on-update trigger in your form. Indeed, the reason for a view and instead-of-trigger on that view is so that you do not require additional coding in your form.
    1) you need the instead-of-trigger on the view (confirm it is there)
    2) you need to change the locking mode in the form for the block based on your view so that it uses the logical key for locking purposes. There is a lock mode setting somewhere in the block properties page, find it, understand the differences and pick the righ tone (I forget at this moment which on it is, try them all if necessary).
    3) #2 will involve selecting those fields that map to the business identifier/primary key you want to you use for finding rows. You need to visit each field's property page and set the appropriate attribute to indicate that is is part of the key used to find rows. It is there on the properties page but not having forms available at the moment I cannot give you the property name. You will have to do a little exploring to find it.
    If you do these things, the error should go away and the view become updatable via oracle forms without the need to write any on-update trigger.
    Do some testing at the database level first. Make sure you can update the view directly via sqlplus first with the instead-of-trigger before you attempt it in the form. This will ensure that your issue is forms related and not database related. This is an important step because the database will return a similar error to what you have reported if the instead-of-trigger does not exist on the view.
    sarah

  • Error FRM-50027 returning during compiling a form on AIX 5.3

    Hello,
    We are using designer and generator (10.1.2.0.2) to generate the forms (Forms Version 10.1.2.0.2) on Windows XP SP2.
    On the windows environment everything, the generation and compilation, seems to be correct and running this form locally is no problem.
    After this the form is deployed to the IBM/IAX server and compiled using f90cmp amd athe below error is received:
    FRM-50027: Invalid format mask for given datatype.
    Edit Item: BLNG_DATINGANG
    Item: BLNG_DATINGANG
    Block: BLNG
    Form: RLBLNG1M
    FRM-30085: Unable to adjust form for output.
    Form not created
    The item indicated is defined as a DATE item witrh a format mask 'DD-MM-RRRR'. The initial value is $$date$$ .
    Can anybody give me a clue what is going wrong. Are there also some setting on the UNIX server which should be set of checked.
    regards
    Franc

    Hi,
    this was also the first thing i thought about. But setting NLS_LANG (AMERICAN_AMERICA.WE8ISO8859P15) to the same value of my client is no solution. Bye the way i'm using the frmcmp_batch.sh to compile.
    Regards,
    Geert

  • Frm-40505:ORACLE error: unable to perform query in oracle forms 10g

    Hi,
    I get error frm-40505:ORACLE error: unable to perform query on oracle form in 10g environment, but the same form works properly in 6i.
    Please let me know what do i need to do to correct this problem.
    Regards,
    Priya

    Hi everyone,
    I have block created on view V_LE_USID_1L (which gives the error frm-40505) . We don't need any updation on this block, so the property 'updateallowed' is set to 'NO'.
    To fix this error I modified 'Keymode' property, set it to 'updatable' from 'automatic'. This change solved the problem with frm-40505 but it leads one more problem.
    The datablock v_le_usid_1l allows user to enter the text (i.e. updated the field), when the data is saved, no message is shown. When the data is refreshed on the screen, the change done previously on the block will not be seen (this is because the block updateallowed is set to NO), how do we stop the fields of the block being editable?
    We don't want to go ahead with this solution as, we might find several similar screens nad its diff to modify each one of them individually. When they work properly in 6i, what it doesn't in 10g? does it require any registry setting?
    Regards,
    Priya

  • FRM-40209 Field must be of form . - for a non-based text item

    Hello,
    When I try querying using a VARCHAR2 non-based text item in a table-based block, setting dynamically in PRE-QUERY trigger the DEFAULT_WHERE property for its block, in case I use characters > or < (for bringing values greater or smaller than the one in the field, as in a standard Oracle query) error message is raised: 'FRM-40209 Field must be of form .' The issue has nothing to do with the error itself (usually related to erronated format mask of the field), and it is known as an Oracle Forms bug: I found it as bug 851153 - which appears on execute query if you enter in a non-base-table-item and the block has a pre-query trigger. The bug has been solved later in Oracle Developer Forms Builder 6i, or so I've been reading, problem is the application I'm working to requires Forms Builder 6.0.5.
    I am trying to find an workaround for this situation and these are the info I managed to discover myself on the topic:
    - if I fill the field with '>value instead of >value, query works fine, bringing only values greater than the specified value. (So far, this and inactivating the FRM-40209 error in ON-ERROR trigger seems like the best I can do)
    - if I only use > (without '), I cannot use an auxiliar variable/global in which to store the actual value written in the field, I also cannot print the value in a message, because trying to use the exact string, it is shown as null (even though when the error is raised, value is still shown on the screen in the text item).
    Maybe someone could help with an idea for an workaround in order to copy the content of the text field before it actually becomes null…
    Thank you in advance.

    I have already tried that... but for some reasons the field already appears as null, when I try to use it.

  • Document Output - PDF-based forms - output log (error)

    Hello,
    Ever since activating the PDF-based form for BUS2201 the following error shows via viewing the 'output log':
    E     Business AddIn Was Not Called     http://srm7.atosorigin-ica.com:80/sap/ebp/docserver?msgdocuget&MsgId=SPPF_MEDIA&MsgNo=038&Langu=EN&sap-client=100
    E     Printing Error
    E     Action could not be succesfully executed
    Anybody else has experienced the error 'Business Addin Was Not Called' before? What does it mean? I know there is _SF badi active but it doesn't really contain anything apart from
    check = check
    statement
    Kind regards,
    Tim

    Hi,
    launch following in INTERNET explorer.
    http://sapjavahost:50<instance_nr>0
    where sapjavahost = hostname of you SAP java stack host
             <instance_nr> = instance number of Java system
    this open sap j2ee engine start page.
    click on system information, login with administrator user and password
    under Software Components  you will find version and patch level.
    regards,
    kaushal

  • Error: FRM-40657, Block based on Procedure

    Hi,
    I have a detail block, its Qry Data Source is Procedure, and the DML is to a table,
    The data is loading from two table say A and B, but the DML is to table B only.
    The pblm is when editing the data from A(if the data loaded from the Table A satisfy certain condition then I have to store that data into Table B along with other data selected from table B, i am getting the error FRM - 40657.
    Thanks in advance

    Hi,
    You are running into the error because you are trying to change or delete a record when you have already 'locked' it by viewing it in your form.
    If you do need to do it this way, you will have to clear data from table B and then do the updates/inserts and then requery the data.
    Hope I've understood what you mean!
    L :-)

  • Error in generating PDF Based form - SUI Report

    Hi,
    We are running Quarterly reports for Unemployment reporting at USA using tax reporter.
    We are not able to see the complete spool output for the Wage Type Listings but only just 1 page. In the tax reporter log we get the error "Error in generating PDF Based form HR_F_WLIST_CA" for respective states.
    Any idea how to resolve this.
    We are on ERP 6.04.
    Thanks,

    Hi,
    I think its  Basis problem.Ask basis gyus to repair the connection and try again.
    Regards,
    Manoj.

  • Oracle forms 6i error FRM-42401

    i have created a master detail module and when trying to run it, it doesn't come with data when clicking on "execute query"
    Instead it displays error
    "FRM-42401 Performing program trigger ON_CLEAR_DETAILS on form"
    can someone pls help to get rid of this error

    Try out,
    after you compile all again your form:
    in WHEN-NEW-FORM-INSTANCE
    Go_block('your-MASTER-block');
    Execute_query;
    and see what happen(I think, your focus go on Detail-block and when you click F8(excute-query) error happen )
    Regards .. hope helps

  • FRM-10242:  Cannot call linked-in Forms from Form Builder. error

    FRM-10242: Cannot call linked-in Forms from Form Builder.
    Cause: The menu designer specified a call to linked-in Forms from within Form Builder.
    Action: Notify your DBA.
    does anyone know why this happens.
    I have this main-menu.. and when i click on one of the submenus which should call the form....i get this error.

    Same issue here... Been trying to get this working since a week now. I tried all the solutions like memory heap and all but no luck.
    One thing that I would like to know is that, in some threads the resolution was to recompile the INS_FORMS.MK file under /forms/lib32 but with my installation I don't have that "lib32" folder under /forms/ and I can not even find that file anywhere in my entire installation.
    I am using 12.1.1 on Windows Server 2008.
    Any help or guidelines is greatly appreciated.
    Santhosh.

  • Forms 6i error FRM-41351 Cannot navigate out of current form

    Does anybody know why this error occurs?
    I have an ordinary Forms 6i module, running in 2-tier (client-server) mode. When I try to do an EXIT_FORM, I get an error:
    "FRM-41351: Cannot navigate out of current form"
    My form is called from a top-level form, but plenty of other forms are also called in exactly the same way from the top-level form, and none of them causes this error, and I can see no other reason why this form should produce this error.
    The Forms 6i help entry for this error is meaningless, and I can find no information about it on the web or on the Oracle TechNet, so any advice would be very welcome!
    Thanks,
    Chris

    You may be hitting Bug:1632441, which is fixed in patchset 12. If either form has a When-Window-Deactivated trigger, try disabling that and see if you still have the problem. If not, then as a workaround you may be able to put that logic in a when-form-navigate trigger instead. Or you can programmatically trap the error in an On-Error trigger if you are actually able to navigate out of the form. See the bug for more details.

  • Error Handling on procedure based forms

    Hi all,
    I have seen examples of error handling on table based forms like
    the following:
    begin
    doInsert;
    exception
    when others then
    --redirect to some error page
    I have tried the same with a procedure based form by wrapping
    the doSubmit procedure, but when the procedure returns an
    exception, it doesn't execute my exception handling code.
    Any ideas on why this is happening or at least how I can catch
    these exceptions with my own exception handler?
    Thanks,
    Curt

    Chetan, Antonio,
    I opened a TAR on this issue with Oravle and they got the same
    results. Thay suggested a work around of creating an error table
    that gets written to and then dispaly and new page to retrieve
    the error from the table.
    What I ended up doing is creating a dummy procedure that does
    nothing (NULL). The form based on the dummy procedure allows me
    to get the values I need from the user.
    The procedure always returns succesful since it doesn't do
    anything. So in the form success code area I call the real
    procedure, check the return value, and now I can redirect back
    to the orignal form on error, or direct to another paqe on
    success.
    Not the most elegant solution, but it is working for now.
    Curt

  • I get an error FRM-92101:There was a failure in the Forms Server

    I get an error FRM-92101:There was a failure in the Forms Server during startup. This could happen due to invalid configuration. Please look into the web-server log file for details, when i open the form
    it's a fresh installation for the oracle application 12.1.1 vis on linux redhat 5

    Hi;
    Please check below note:
    FRM-92101: There Was a Failure in the Forms Server During Startup After Fresh R12 Installation [ID 429627.1]
    R12 fresh install FORMS DO NOT LAUNCH - FRM-92101/500 [ID 427714.1]
    FRM-92101: Forms Server oracle.forms.net.ConnectionException: Forms session <1> failed during startup: no response from runtime process [ID 880088.1]
    Also check:
    Re: R12 database and JRE Issue
    Regard
    Helios

  • Forms 10g: error FRM-92101: There was a failure in the Forms Server during

    AS10g (9.0.4.1) on windows 2000 with 2 GB of ram
    We have an application with 10 - 15 users. Sometimes,when users exit from forms with the command exit_form, in a randomic way the form hangs with the error FRM-92101: There was a failure in the Forms Server during startup.....
    After the users have to close the browser and open another sessione of explorer.
    In the same time other users work fine.
    The problem happens more then 10 times a day.
    Is there a solution ?

    I have also run into similar problem.
    In my case, this problem has been carried over from Forms 6i to Forms 10g. In forms 6i it wrote an error file in the same folder where *.fmx file was stored.
    For 10gAS, look into <ORACLE_HOME midtier>\forms90\trace folder for a file *.trc. Open it up in notepad. It will tell you which trigger was being executed when the form failed.
    Put any comment in the PL/SQL of that trigger, recompile the form and the problem will go away.
    I usually put something like:
    dummy statement for FRM-92101.
    I do not know why it works but in my case it has.
    Good luck !!!
    Would like to know if it works for you.
    Suresh

  • Handling oracle forms errors (frm-nnnnn) locally

    is there a way to handle an oracle form error (e.g. frm-40508) locally in a way similar to handle oracle database errors.
    e.g.
    procedure insert_something is
    insert_error exception;
    pragma exception_init(insert_error,-40508);
    begin
    :c1.a := 1;
    :c1.b := 2;
    commit_form;
    exception
    when insert_error then
    <handle insert error on c1 block>;
    end;
    Edited by: mojo on Oct 7, 2008 4:34 AM

    by locally i mean within the pl/sql block that will have raised the error.
    an example i encoutnered recently, but by no means the only occasion i have wished such things:
    function mseRecStatus returnvarchar2 is
    rtnChar varchar2(32);
    begin
    rtnChar := get_record_property(mouseRec,mouseBlock,status);
    return rtnChar;
    end;
    This is called from a pre-pop-menu trigger. mouseRec and block are calculated previously. A right-click on a record item below the last record raises error frm-40741 (unable to locate record on block). it would be nice to be able to do something like the following without incolving an on-error trigger:
    function mseRecStatus returnvarchar2 is
    rtnChar varchar2(32);
    non_record_clicked exception;
    pragma exception_init(non_record_clicked,-40741);
    begin
    rtnChar := get_record_property(mouseRec,mouseBlock,status);
    return rtnChar;
    exception
    when non_record_clicked then
    return null;
    end;

Maybe you are looking for