Form on a view

Hello,
I created a view on a remote database. This view contains a calculated column. I created a tabular form based on the view. When I try to cheange and update a record I receive the following message:
Error      Unable to process update.
Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "DCB52C5A42FDFE11B8ECB36A0AFC9CB5", item checksum = "17BB996EFA972A345ED87CA7B0EC1450"., update "DEVELOPER"."SALARY_VU" set "ONGOING" = :b1, "NAMEV" = :b2, "SALARYV" = :b3, "PROVISIONV" = :b4
Changing and updating the records in the view by using isql*plus isn't a problem.
Adding a record isn't possible either. However, deleting a record succeeds.
A form based on a similar view without a calculated column works without problems.
Any ideas?
James

I created a simple view on a table (local, remote) doesn't metter. Then I created a form on this view. Updating the view through a form is not an issue. I can even use the calculated columns in the form. They need to be set on "display only". And it works now.
I didn't use any instead of trigger. The only trigger you need is the trigger for updating the primary key on the source table which uses an existing sequence.
James

Similar Messages

  • ORA-01445 error when creating a form on a view

    Hi,
    I am attempting to create a form on a view - the view is a simple select from three tables that are connected to each other via foreign key relationships. When I attempt to submit data via this form, I get the ORA_01445 error. The Oracle8i Error Documentation says that this error is caused when a SELECT statement attempted to select ROWIDs from a view derived from a join operation. Because the rows selected in the view do not correspond to underlying physical records, no ROWIDs can be returned. The solution is to remove ROWID from the view selection clause, then re-execute the statement.
    I did not include the rowid when I created my view so I went to look at the package that is generated by Portal to create the form. Sure enough, rowid was appended to the select statements.
    Are there any workarounds for this? Why is the rowid appended to the select statement? Do I need to build my view another way? We cannot use master-detail forms because the nature of the data does not allow it. We would like to be able to use just one form to update several tables.
    I read in an earlier post that forms cannot be created on views that have DISTINCT, AVG, COUNT, MAX, MIN, GROUP BY, HAVING, START WITH, or CONNECT BY. My view has none of these. It is just a simple select * from a, b, c.

    Melissa,
    This is the current limitation of the forms, we do not support non-updatable views, we expect to have the rowid available, if you want to access non-updatable views, please create a QBE report. If you think this is a very important feature, please file a bug.
    Thanks,
    Dmitry

  • Some users not seeing all of a web form in Smart View Excel 11.1.2?

    I am on Planning 11.1.2 and I have an end user who, when he opens a web form in Excel using Smart View, he only sees about 1/3 of the entire form. If in the Oracle/Planning web, the form is fine. When he uses my machine, he sees the entire web form in Smart View Excel. Is there a setting on his Excel I need to change?
    Thanks.

    It's a limitation, if you will, of the way JDeveloper works. It essentially runs your JSF page in order to get the rendering. At design time, the phase listener is obviously messing things up since you're not in a proper secured environment - hence the workaround to bypass your phase listener at design time.

  • Error opening form in Smart View??

    I have recently installed smart view client on my machine.
    After establishing connection,if I am opening a form in smart view it is giving something:
    Response contains following unexpecyed tags(s):cellcolor

    * Was the form created by editing another existing form, and saved using the 'Save as' option?
    * Do the forms have Dynamic Time Series (DTS) members displayed in the columns or rows?
    * Do these forms have '&' in the form name?
    HTH-
    Jasmine.

  • Any reasons why the content of a fillable form cannot be viewed or printed?

    I have created a 2-page form on Adobe Acrobat XPro. I emailed it to specific people and they filled it out, saved it and emailed it back. I am able to view what they typed in my monitor only, when I click on the field, but it will not print the content. Any reasons why the content of a fillable form cannot be viewed or printed?

    That's what I asked the people I emailed the form to and someone just emailed me saying: "I'll check my adobe. It keeps asking me to update and I keep ignoring it so maybe it was my fault". So there is the answer I guess. I saved the document as an Extended PDF and selected Enable Additional Features. Is there anything else I should consider?

  • Data Forms in Smart View - Add Members

    We have data forms with Add Member functionality. When opening that data form using Smart View it puts red border around top member but then instead of allowing user to select a member it lists all of them in the rows. A good example is ICP data form where user can select partner to report balance. The data form online allows selection of individual partners but when same data form opened in Smart View it lists all 1,000+ ICP True entities.
    Is syntax different when data form to be used with Smart View?
    We have V11.1.1.3.

    You have to suppress no data/zeros in SmartView and refresh the form to see the rows collapsed. I had created an enhancement request for this and it is currently under review by development. I would suggest you do the same if you'd like to see this fixed.
    The bug is listed as 13878488 - SUPPRESS ROWS IS NOT ENABLED WHEN OPENING FORM IN SMARTVIEW

  • Using Adobe Forms in Webdynpro views

    Hi,
    I'm learning Abap-webdynpro, in this i've worked on some sample applications(tutorials) given in the help library. I need to learn using Adobe forms in the views of the webdynpro components. I tried with help library, but not so clear about how to use forms in views,
    So can u please send me some links or materials which describe how to use adobe forms  in webdynpro applications..
    Thanks in Advance,
    Sachi

    Hi ,
      I hope this link will be usefull
    <u>https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/f057d803-3c53-2910-db92-a6a2f1cc7334 [original link is broken]</u>
    Here are some very useful links on Adobe Software for Forms.
    http://www.adobe.com/enterprise/partners/pdfs/sap_datasheet.pdf
    http://www.adobe.com/enterprise/partners/sap.html
    http://www.sap.info/public/INT/int/printout/article/Category-28943c61b1e60d84b-int/0/articleContainer-18393415bdc39551ae/
    http://sdn.sap.com/irj/sdn/adobeforms
    Thanks and Rgds,
    Kamal<a href="http://">http://</a>

  • Interactive form in a view for displaying pdf

    Hi
    I am getting this error when deploy and run an application with an interactive form in a view. I need to get the pdf in the interactive form. can anyone help me.
    com.sap.tc.webdynpro.services.sal.core.DispatcherException: Wrong Web Dynpro URL: "../WebDynpro/Servlet/<deployableObject>/<application>/xx?..". xx is not allowed without exchange key. Retrieved URI path: /local/Case/Employee/@acf_empty.

    <b>Hi
    Please Check This for Adobe Requirements in Web Dynpro Applications
    To be able to use PDF forms in Web Dynproapplications:
    1.SAPNetWeaverDeveloper Studio(minimum SPS 11) is installed
    2.Adobe LiveCycleDesigner7.0 is installed
    3.Adobe Reader7.0.x is installed
    4.SAP NetWeaverWeb AS Javacompatible with the DevStudiois installed
    5.The Adobe Document Servicesare deployed and configured on the SAP J2EE Engine.
    6.The Active Component Framework(ACF) of the Interactive Forms integration is installed. (not mandatory)
    7.Internet Explorer(version 6)
    Check this links.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2b6db1c4-0801-0010-faa5-ff4b4df55b45
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/63f09fc2-0401-0010-1482-dbf9891e7613
    /thread/104121 [original link is broken]
    Regards
    Chandran</b>

  • Can we display attributes when opening a form in smart view

    Hi Everyone,
    If a form has attribute members in a row, the web view displays the attributes, but smart view doesn't. Is this a bug?
    Thanks,
    Sayantan

    Hi Kiran,
    I am not quite sure about what you meant actually. I simply have a form which has some attributes for each member in rows. I can see the attributes for in the web view. However, when opened in Smart View, the attributes are not shown (the columns themselves are missing).
    Can you please explain in detail? It would be really helpful if I can find an answer to this.
    Thanks,
    Sayantan
    PS: Why would a user need to create an ADHOC query for viewing a form in Smart View?

  • Cannot build form off from view?

    Is this true because when I try to Add a Page to a new application I dont seem to be able to see any of my views on the list of values but my tables. Opened up a TAR and here was the response
    To implement the solution, please execute the following steps:
    Use workaround listed in Bug 4719289 - CANNOT BUILD FORM OFF FROM VIEW
    1. Create Application
    2. Give Application a name, the "From Scratch" option is selected, our
    desired
    schema is selected.
    3. Add Blank Page, select theme, etc, application is created.
    4. From Blank page, Add Form Region based on existing table, followed the
    resulting steps in the Wizard, etc.

    Please share your first name and put it into your profile to help us.
    You can create a form based on ("off from") a view after an application is created using the create page or create region wizards.
    Scott

  • Why do I need to declare "defaultButton" ? (In a component form part of view stack)

    After doing some research and some help from FlexGuy in another thread, I realize that I need to make sure I have custom components initialized before accessing parts of the component.  Just recently I was thrown for a long time when I tried to first click on a form field that was part of a component in my view stack, I'd get:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at mx.managers::FocusManager/focusInHandler()[C:\autobuild\galaga\frameworks\projects\framew ork\src\mx\managers\FocusManager.as:601]
    With the debugger it's occuring in the focusInHandler method of FocusManager.as: (apparently _defaultButton is null.)
    // restore the default button to be the original one
                    if (defButton && defButton != _defaultButton)
                        defButton.emphasized = false;
                        defButton = _defaultButton;
                       _defaultButton.emphasized = true;
    This prompted me, on a whim, to delcare a defaultButton:
    <mx:Form id="empForm" defaultButton="{submitButton}">
    which refers to my submit button:
    <mx:Button id="submitButton" click="submitEmployee()" label="{submitLabel}"/>
    My question, is why is this necessary? In some examples I don't see this declared at all, but I seem to need it? (I'm calling creationPolicy="all" to make sure my components are initialized but I still seem to have to this defaultButton declared?)

    It's a way of proving that you are able to purchase content from that country's store i.e. that you have a valid billing address in it
    From Why can’t I select None when I edit my Apple ID payment information? - Apple Support :
    If you changed your country or region
    When you change the country or region of an existing Apple ID, you must provide a payment method and update your billing options. If you want to remove your payment method after you change the country or region, you can change your payment information to None.

  • Insert Print button on Infopath form for particular view

    Hello,
    I want to insert "Print" button on my InfoPath form, by clicking on it which can give print preview with print option.
    I am publishing my form through SharePoint Server into one form library.
    So unable to edit using site actions > Edit page.
    Could you please guide me how to it in simple way....not with customization.
    Thanking you in advance.
    Regards,
    Jayashri

    Hi Jayashri,
    I may not make myself clear. If we can get friendly print view of form, then we can use IE browser print option to print the form: IE gear settings > Print.
    If you need to seperate print button on form, you could edit form web parts > edit page then insert content editor web part with:
    <input onclick="window.print();" type="button" value="Print"/>
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Tabular form on a view :ORA-01446: cannot select ROWID from, or sample...

    Hi,
    I have two tables
    CUSTOMERS
    ===========
    Name Null Type
    ======================
    CUST_UID NOT NULL NUMBER(4)
    CUST_NAME VARCHAR2(50)
    ITEM_PRICES
    ===========
    Name Null Type
    ======================
    IP_UID NOT NULL NUMBER(4)
    IP_ITEM_DESC VARCHAR2(50
    IP_COST_PRICE NUMBER(6,2)
    IP_SELL_PRICE NUMBER(6,2)
    I have a view IPS_VW which is the cartician product of CUSTOMERS and ITEM_PRICES, and an instead of trigger for UPDATE on this view which either inserts or updates data in the following third table
    ITEM_PRICES_SPECIAL
    ===========
    Name Null Type
    ======================
    IPS_UID NOT NULL NUMBER(4)
    CUST_UID NUMBER(4)
    IP_UID NUMBER(4)
    IPS_SELL_PRICE NUMBER(6,2)
    The following is my view
    SELECT 'A'||ROWNUM AS "IPSVW_UID",
    0 AS "IPSVW_IPS_UID",
    "CUSTOMERS"."CUST_UID" AS "IPSVW_CUST_UID",
    "ITEM_PRICES"."IP_UID" AS "IPSVW_IP_UID",
    "ITEM_PRICES"."IP_SELL_PRICE" AS "IPSVW_IPS_SELL_PRICE"
    FROM "CUSTOMERS" "CUSTOMERS",
    "ITEM_PRICES" "ITEM_PRICES"
    WHERE NOT EXISTS
    (SELECT 1
    FROM "ITEM_PRICES_SPECIAL" "ITEM_PRICES_SPECIAL"
    WHERE "ITEM_PRICES_SPECIAL"."IP_UID" ="ITEM_PRICES"."IP_UID"
    AND "ITEM_PRICES_SPECIAL"."CUST_UID" ="CUSTOMERS"."CUST_UID"
    UNION
    SELECT 'B' ||ROWNUM AS "IPSVW_UID",
    "ITEM_PRICES_SPECIAL"."IPS_UID" AS "IPSVW_IPS_UID",
    "ITEM_PRICES_SPECIAL"."CUST_UID" AS "IPSVW_CUST_UID",
    "ITEM_PRICES_SPECIAL"."IP_UID" AS "IPSVW_IP_UID",
    "ITEM_PRICES_SPECIAL"."IPS_SELL_PRICE" AS "IPSVW_IPS_SELL_PRICE"
    FROM "ITEM_PRICES_SPECIAL" "ITEM_PRICES_SPECIAL";
    And this is the instead of trigger
    CREATE OR REPLACE TRIGGER "TRG_IPSVW_UPDATE" INSTEAD OF
    UPDATE ON IPS_VW REFERENCING NEW AS N FOR EACH ROW
    BEGIN
    IF :N.IPSVW_IPS_UID = 0 THEN
    INSERT INTO ITEM_PRICES_SPECIAL
    ( CUST_UID, IP_UID,IPS_SELL_PRICE )
    VALUES
    ( :N.IPSVW_CUST_UID,:N.IPSVW_IP_UID, :N.IPSVW_IPS_SELL_PRICE );
    ELSE
    UPDATE ITEM_PRICES_SPECIAL
    SET IPS_SELL_PRICE = :N.IPSVW_IPS_SELL_PRICE
    WHERE IPS_UID = :N.IPSVW_IPS_UID;
    END IF;
    END;
    Everything works fine in SQLPLUS, if i update a rate in this view, a record is either inserted or updated in the third table.
    But when i try to create a tabular form based on this view, i get the error
    ORA-01446: cannot select ROWID from, or sample, a view with DISTINCT, GROUP BY, etc.
    Could someone help me please?
    Thanks,
    Allen

    I think The tabular form needs to be able to identify some primary key and using a rownum concatenation cannot provide that.
    Cheers
    Kofi

  • HFM Data Form in Smart View - Improper Suppression

    We have several data forms that are opened by a group of controllers every month to load forecast information to HFM. This data form is opened by all of these users in Excel and submitted back to HFM via Smart View.
    We have instructed all of the users to turn off ALL suppression while working with the data forms because there are some invalid intersections for ICP based on the input entity. The form is rendering properly for all users but one. When he opens the data form it appears to show all of the lines, but then once it fully loads, it is removing/suppressing one line that is an invalid intersection. In checking his Smart View options, I can clearly say that he does not have ANY of the suppression options in use.
    Has anyone experienced this issue? Are there any workarounds? Why would this only happen for one user when 10 others have no issue when using the same file/form/options?
    Your help is appreciated, as always!
    Scott

    Hi Scott,
    If this is only for one user, I doubt something wrong in his profile.
    Ask your IT to have his profile recreated to see if the issue disappears.
    Hope this helps,
    Thank you,
    Charles Babu J

  • Error entering data in a data form using Smart View

    One of my user is facing an issue while entering data in a data form through Excel, if she uses the same data form in workspace she is able to enter data. She is facing the issue while entering in a specific column, for all other columns she is able to enter data in the data form. It is only one column for which she is facing issue while using smart view/excel and not workspace, as in workspace she is able to enter data.
    Thanks,

    Hi
    Check they have the "Data Form Write Back from Excel" role in Shared Services.
    See p.133 of the security guide for more info -
    http://docs.oracle.com/cd/E17236_01/epm.1112/hss_admin_1112200.pdf
    Regards
    jpr

Maybe you are looking for