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

Similar Messages

  • ORA-20001 error when creating Tabular Form or Form and Report

    Whenever I try and add a Tabular Form or Form and Report to my application i am getting the following error at the end of the Wizard.
    ORA-20001: Unable to create updateable report. ORA-20001: Error creating shortcut id="" ORA-00001: unique constraint (APEX_030200.WWV_FLOW_SHORTCUT_IDX1) violatedIt's not a problem I have seen when building other apps and clearly I have managed to corrupt this application somehow.
    I have loaded the problem onto apex.oracle.com for those that have access. The application number is 20325.
    Any help would be very much appreciated.
    Cheers Shunt

    Thanks! Never thought of that.
    --Andy                                                                                                                                                                                                                       

  • Error when creating the form in Salary Statement of ESS

    Dear All,
    We are implementing ESS and MSS,
    when i try to select ESS>Benfits and Payment>Salary statement, it shows the error as <b>com.sap.pcuigp.xssfpm.java.FPMRuntimeException: Error when creating the form</b>.
    We have configured ADS in our ERP system as per the ADS config guide.
    Landscape is, NW04s ,ECC5.0 integration, corresponding ESS and MSS versions.
    <u><i>Complete Error is:</i></u><b>com.sap.pcuigp.xssfpm.java.FPMRuntimeException: Error when creating the form
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111)
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:121)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.reportBapiRet2Error(FcRepFramework.java:495)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.callRfcGetForm(FcRepFramework.java:366)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.processFollowingActions(FcRepFramework.java:454)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.callRfcExecAction(FcRepFramework.java:350)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.initModel(FcRepFramework.java:264)
         at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFramework.initModel(InternalFcRepFramework.java:243)
         at com.sap.xss.hr.rep.fcrfw.FcRepFrameworkInterface.initModel(FcRepFrameworkInterface.java:136)
         at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFrameworkInterface.initModel(InternalFcRepFrameworkInterface.java:196)
         at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFrameworkInterface$External.initModel(InternalFcRepFrameworkInterface.java:256)
         at com.sap.xss.hr.rem2.selection.VcRem2Selection.onInit(VcRem2Selection.java:217)
         at com.sap.xss.hr.rem2.selection.wdp.InternalVcRem2Selection.onInit(InternalVcRem2Selection.java:238)
         at com.sap.xss.hr.rem2.selection.VcRem2SelectionInterface.onInit(VcRem2SelectionInterface.java:161)
         at com.sap.xss.hr.rem2.selection.wdp.InternalVcRem2SelectionInterface.onInit(InternalVcRem2SelectionInterface.java:144)
         at com.sap.xss.hr.rem2.selection.wdp.InternalVcRem2SelectionInterface$External.onInit(InternalVcRem2SelectionInterface.java:220)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:466)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:354)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:179)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)</b>
    your input will be appreciated,
    please do the needful.
    Regards,
    Sireesha.

    hi Sandip
    I clear the temporary files, but the error persist.
    I think so,  my error is because otherwise customizing the salary statement is seen in ERP (Back-End) but I can not see through the sap portal (Error: Salary Statement http://img153.imageshack.us/img153/3007/payroll2.jpg)
    thanks for your post and helps,
    Ivan

  • "Error When Creating the form" in "Salary Statement"-Benefits and Payments

    hi
    When I enter the option "Salary Statement" (in "Benefits and Payment")  shows me the error "Error When Creating the form"
    http://img571.imageshack.us/img571/9986/payroll1.jpg (in "Salary Statement")
    http://img153.imageshack.us/img153/3007/payroll2.jpg  (My Error -  "Error When Creating the form")
    but, my sap system has Payroll customized, check it entered this tcode RPCEDTE0 I also put the appropriate values to obtain a good result.
    http://img716.imageshack.us/img716/2544/payroll5.jpg (screen RPCEDTE0)
    http://img541.imageshack.us/img541/1593/payroll6.jpg (result RPCEDTE0, Remuneration Statement correctly)
    What I must customize addition to Payroll(back-end) to run this option of "Salary Statement"?
    I hope for posts and helps,
    Ivan

    hi Sandip
    I clear the temporary files, but the error persist.
    I think so,  my error is because otherwise customizing the salary statement is seen in ERP (Back-End) but I can not see through the sap portal (Error: Salary Statement http://img153.imageshack.us/img153/3007/payroll2.jpg)
    thanks for your post and helps,
    Ivan

  • ESS Payslip : Error when creating a form

    Hi Experts,
    Please help me on this issue.
    The payslip is not getting generated in QA portal. I have checked everything, feature, report variant. The payslip is getting generated from the back end.
    But I have not checked from PZ11_PDF, becz of authorisation issue.
    Can anyone guess what could be the problem?
    thanks
    Jay

    Here is the error
    Critical Error
    A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.
    Please contact your system administrator.
      Error when creating the form   
      Error when creating the form:com.sap.pcuigp.xssfpm.java.FPMRuntimeException: Error when creating the form
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:112)
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:122)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.reportBapiRet2Error(FcRepFramework.java:525)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.callRfcGetForm(FcRepFramework.java:394)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.processFollowingActions(FcRepFramework.java:484)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.callRfcExecAction(FcRepFramework.java:378)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.initModel(FcRepFramework.java:292)
         at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFramework.initModel(InternalFcRepFramework.java:256)
         at com.sap.xss.hr.rep.fcrfw.FcRepFrameworkInterface.initModel(FcRepFrameworkInterface.java:136)
         at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFrameworkInterface.initModel(InternalFcRepFrameworkInterface.java:198)
         at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFrameworkInterface$External.initModel(InternalFcRepFrameworkInterface.java:258)
         at com.sap.xss.hr.rem2.selection.VcRem2Selection.onInit(VcRem2Selection.java:245)
         at com.sap.xss.hr.rem2.selection.wdp.InternalVcRem2Selection.onInit(InternalVcRem2Selection.java:249)
         at com.sap.xss.hr.rem2.selection.VcRem2SelectionInterface.onInit(VcRem2SelectionInterface.java:161)
         at com.sap.xss.hr.rem2.selection.wdp.InternalVcRem2SelectionInterface.onInit(InternalVcRem2SelectionInterface.java:144)
         at com.sap.xss.hr.rem2.selection.wdp.InternalVcRem2SelectionInterface$External.onInit(InternalVcRem2SelectionInterface.java:220)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:564)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:756)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:291)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:869)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:229)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1344)
         at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:356)
         at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)
         at com.sap.portal.pb.PageBuilder.wdDoRefresh(PageBuilder.java:593)
         at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:865)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:684)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

  • Payslip - Error when creating the form

    Hi,
    I have an error with the Paylsip iview in ESS WebDP version backed by ECC5. I get 'Critical Error' in the iview and the following stack trace in the defaultTrace.trc.
    Not really sure even where to start looking.  Any help greatly appreciated.
    #1.5#00156056B38B006F0000001F0000265800041F985F051B79#1160639196531#com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent#sap.com/tcwddispwda#com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent#522046#102##sapt156z.bdn.neas_NPT_8144550#522046#2502ee2159c511dbc22e00156056b38b#ID\#(J2EE8144500)ID1747837850DB00989374704737658807End.WID1160638913529##0#0#Fatal#1#/Applications/Xss#Java###Error when creating the form
    [EXCEPTION]
    #1#com.sap.pcuigp.xssfpm.java.FPMRuntimeException: Error when creating the form
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111)
    TIA
    J

    Fixed it.  We were missing the Variant backing the payslip which hadn't been transported.

  • Error when creating the form Pay ESS "Salary Statement"-Benefits and Payments

    Dear All.
    I have a issue when genere the PayError when creating the form Pay ("Salary Statement"-Benefits and Payments)
    Thanks in advance
    Regards

    Hi Juan,
    This is a very common problem.
    refer the following thread ESS EHP5 Payslip form error
    Thanks,
    Aashima

  • Error when create adobe form

    Hi,
    When i created adobe form, i found an error :
    Could not start Layout Designer (see long text)
    Message no. FPUIFB086
    Diagnosis
    The forms design tool for developing the form layout could not be started; either it is not installed or there are errors in the installation.
    Procedure
    Make sure that you have the forms design tool installed on your desktop (the tool is part of the SAPGUI installation).
    Also read SAP Note 801524.
    In my computer Adobe Life Cycle Designer 8.0 installed, why it happen?
    Please help me.
    Thank you.
    regards,
    Ferry

    Good to know  — there is no such application as "Adobe XI".
    "Adobe" is the name of the company.
    "XI" is indicative of the use of either Acrobat XI or Reader XI.
    Neither Acrobat XI Pro (for which Adobe provides a free, fully functional 30-day trial) nor Adobe Reader XI (the free to download and use PDF viewer that Adobe provides) have  an "Export PDF" entry under "File".
    "Export PDF" only is present in Adobe Reader XI over on the right on the "Tools" panel.
    The "Tools" panel provides a way for a user of Adobe Reader XI to connect to various By Subscription online services (gotta pay eh).
    Export PDF is one of these. A subscription lets you send a PDF file to the online internet service (aka "cloud" service). The service then exports to a supported file format (Word / Excel / ...) and the user selects / directs where the output file is to be saved on the user's local machine.
    Of course to use any of the online subscription services one must have an active (paid up in full) subscription to the service.
    So ---- As described the puzzle pieces don't fit eh.
    What specific Adobe (the company) applications are you using?
    Acrobat XI Pro? Adobe Reader XI? Both? 
    Be well....

  • ORA-20001 Error when creating a new application

    Hi,
    I am trying to create a new application of an existing table in the database and I get the following error. The application is created using the wizard (app type Database, from scratch, Report and Form page)
    ORA-20001: Unable to create modules. ORA-20001: Create pages error. ORA-20001: Unable to create form page. ORA-20001: Error page=2 item="P2_NON_ORACLE_EMPLOYEE_SPEAKER" id="1975288532127294112" ORA-20001: Error page=2 item="P2_NON_ORACLE_EMPLOYEE_SPEAKER" id="1975288532127294112" has same name as existing application-level item. ORA-0000: normal, successful completion
    The table I am creating the app on is defined like this:
    CREATE TABLE  "TABLE_1"
       (    "ID" NUMBER,
            "SESSION_EXTERNAL_PAPER" VARCHAR2(30),
            "OWNER_CFP_SUBMITTER1_FULL_NA" VARCHAR2(255),
            "OWNER_CFP_SUBMITTER1_COMPANY" VARCHAR2(255),
            "STATUS" VARCHAR2(30),
            "SESSION_ID" NUMBER,
            "TITLE" VARCHAR2(255),
            "ABSTRACT" VARCHAR2(4000),
            "SESSION_TYPE" VARCHAR2(30),
            "SESSION_CATEGORY" VARCHAR2(30),
            "STREAM" VARCHAR2(30),
            "PRIMARY_TRACK" VARCHAR2(255),
            "OPTIONAL_TRACK" VARCHAR2(255),
            "CROSS_STREAM_TRACK" VARCHAR2(30),
            "SUPPORTING_VIDEO" VARCHAR2(4000),
            "ATTENDEE_ROLE" VARCHAR2(255),
            "TO_RATING" VARCHAR2(30),
            "TO_COMMENTS" VARCHAR2(4000),
            "COMMENTS" VARCHAR2(4000),
            "ORACLE_PARTNERNETWORK" VARCHAR2(30),
            "IS_YOUR_OPN_MEMBERSHIP_UNDER_A" VARCHAR2(255),
            "ORACLE_PARTNER_TYPE" VARCHAR2(255),
            "OPN_MEMBERSHIP_LEVEL" VARCHAR2(30),
            "ORACLE_REGION_BASED" VARCHAR2(30),
            "ORACLE_VALIDATED_INTEGRATION" VARCHAR2(30),
            "HAS_YOUR_COMPANY_ACHIEVED_SPEC" VARCHAR2(4000),
            "PLEASE_DESCRIBE_THE_VALUE_OF_O" VARCHAR2(4000),
            "INCLUDE_CASE_STUDY" VARCHAR2(30),
            "PROVIDE_NAME_OF_THE_CUSTOMER_F" VARCHAR2(255),
            "PLEASE_PROVIDE_A_BRIEF_DESCRIP" VARCHAR2(4000),
            "NON_ORACLE_EMPLOYEE_SPEAKER1_F" VARCHAR2(255),
            "NON_ORACLE_EMPLOYEE_SPEAKER1_C" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER1_FULL" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER1_COMPA" VARCHAR2(255),
            "NON_ORACLE_EMPLOYEE_SPEAKER2_F" VARCHAR2(255),
            "NON_ORACLE_EMPLOYEE_SPEAKER2_C" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER2_FULL" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER2_COMPA" VARCHAR2(255),
            "NON_ORACLE_EMPLOYEE_SPEAKER3_F" VARCHAR2(255),
            "NON_ORACLE_EMPLOYEE_SPEAKER3_C" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER3_FULL" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER3_COMPA" VARCHAR2(255),
            "NON_ORACLE_EMPLOYEE_SPEAKER4_F" VARCHAR2(255),
            "NON_ORACLE_EMPLOYEE_SPEAKER4_C" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER4_FULL" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER4_COMPA" VARCHAR2(255),
            "CREATED" DATE,
            "CREATED_BY" VARCHAR2(50),
            "LAST_UPDATE" DATE,
            "LAST_UPDATED_BY" VARCHAR2(50),
             CONSTRAINT "OOW_PAPER_PK" PRIMARY KEY ("ID") ENABLE
       ) ;I am using APEX version 4.0.2.00.07
    Any idea what could be wrong and what can be done to resolve the problem?
    Cheers,
    Andy

    Thanks! Never thought of that.
    --Andy                                                                                                                                                                                                                       

  • HTMLDB Newbie: ORA-01658 error when creating new app or table from sprdsht

    Hey there. I'm new to HTML DB and trying to create a new app (or even a new table) from a simple spreadsheet. I've tried both comma and tab delimited, but get the same error message every time. This is in my workspace on htmldb.oracle.com.
    "ORA-20001: create_table error: ORA-20001: Excel load run ddl error: ORA-01658: unable to create INITIAL extent for segment in tablespace FLOW_693"

    Scott,
    Thanks, but I don't think that's the problem. My workspace is 100Mb, and it's almost empty. I can install & run sample apps just fine, but not create a new app from a spreadsheet. The spreadsheet is small, to: nine columns and about 50 rows.
    Any ideas?

  • Error when creating tabular form with wizard Apex 4.01

    Hi,
    I just created a tabular form using the page creation wizard on a table and am showing 50 rows at a time and am getting error:
    mod_plsql: /pls/apex/wwv_flow.accept HTTP-400 Too many arguments passed in. Got 2225 parameters. Upper limit is 2000
    It doesn't matter how much data I put in --even just a couple rows updated.  I also reduced rows to 20 and still get same message.
    Anyone else seen this error?
    Pat

    Hi Jari,
    It returns about 1100 records which i think is not much.
    But even when i narrow the amount of records the problem is not solved.
    it this a bug?
    Best
    Hugo

  • Security problem? (ORA-00942 error when creating procedure)

    First, in SQL*Plus connect as system user:
    SQL&gt;connect system/oracle
    Then, create table proctest for user scott and insert records:
    SQL&gt;create table scott.proctest ( name varchar2(10)) ;
    SQL&gt;insert into scott.proctest values ( 'bigboy' ) ;
    SQL&gt;select * from scott.proctest ;
    NAME
    bigboy
    Then, create procedure testproc for user system using table scott.proctest:
    SQL&gt;CREATE OR REPLACE PROCEDURE testproc AS
    2 v_name VARCHAR2(10) ;
    3 BEGIN
    4 SELECT Name INTO v_name FROM scott.proctest WHERE rownum &lt; 2 ;
    5 DBMS_OUTPUT.PUT_LINE( 'Name: ' || v_name ) ;
    6 END ;
    7 /
    Then, errs report:
    SQL&gt;show err;
    LINE/COL ERROR
    4/2 PL/SQL: SQL
    4/2 PL/SQL: SQL Statement ignored
    4/37 PL/SQL: ORA-00942: Table or view does not exist
    Then, explicitly grant select privilege on proctest to system:
    SQL&gt;grant select on scott.proctest to system ;
    And at this time compile the above precedure again, there's no errors.
    I have got some instruction that if a procedure wants to use some table,
    the owner of this procedure has to have corresponding privileges to use this table and
    these privileges have to be granted directly to the user. It doesn't work if
    the privileges are granted i.e. through roles.
    And in the example above the user has select on scott.proctest privilege but
    this privilege is granted through DBA role. So it doesn't work if
    I do not explicitly grant select privilege to system.
    My question is:
    Why does Oracle define this rule? Is it a kind of security consideration?

    Since stored procedures rely on privileges that are granted directly to the user, Oracle only needs to re-validate stored procedures when direct grants to the schema owner change. In general, the rate at which the privileges assigned to roles are changed is much higher than the rate at which privileges assigned to a particular user are changed, so this cuts down on on the cost of revalidating procedures.
    More importantly, Oracle roles can be assigned to users, but a user can also have non-default roles and password-protected roles. If Oracle allowed privileges through roles to affect the privileges of a stored procedure, handling these sorts of cases would be quite difficult and would result in far more confusion than in today's implementation.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Version 3.1 fault - ORA-06502 error when creating SQL Report Region/Page

    I usually perfect my query in SQL*PLUS before I create a new report region.
    Consequently, I copy the code into the region wizard to create the new page. However, since we have upgraded to Version 3.1, virtually every report I have tried to create has created the following error:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    It would appear that a maximum of 960 characters can be used to create the region/page. Perversely, once the page/region has been created, I can then edit the source and include as much code as I want (so far I've not run up against a limit)
    As it's just annoying, but not stopping me doing what I wanted to do, I've not got around to mentioning this error previously, but it occurred to me that I should (so I am!)
    David

    Hi David,
    Thank you for reporting this. Unfortunately, this was a regression introduced in Application Express 3.1. The workaround is to edit the region, as you suggested. This has been filed as Bug 6956070 and will be corrected in the forthcoming Application Express 3.1.1 patch set.
    Joel

  • Getting ora-904 error when create objects for the 2DayPlus apex 3.1 demo

    Searched metalink and the forum and can't determine the cause of my error below.
    CREATE TABLE oehr_categories_tab OF oehr_category_typ
    ( category_id PRIMARY KEY)
    NESTED TABLE TREAT
    (OBJECT_VALUE AS oehr_leaf_category_typ).product_ref_list
    STORE AS oehr_prod_ref_list_ntab
    NESTED TABLE TREAT
    (OBJECT_VALUE AS oehr_composite_category_typ).subcategory_ref_list
    STORE AS oehr_subcat_ref_list_ntab
    ORA-00904: : invalid identifier
    DB Version: 9.2.0.7
    Any help would be appreciated.

    Hi,
    I believe the issue is with a new pseudocolumn reference introduced in 10gR2. Kindly refer to the Oracle Database SQL Language Reference on [OBJECT_VALUE Pseudocolumns.|http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/pseudocolumns006.htm]
    A quick workaround for those using Oracle Database 9iR2 or 10gR1 would be to edit the "Installation Script" (under "Supporting Objects"). Edit the "OEHR_CATEGORIES_TAB" DDL to the following:
    bq.      CREATE TABLE oehr_categories_tab OF oehr_category_typ \\     ( category_id PRIMARY KEY) \\     NESTED TABLE TREAT \\     (SYS_NC_ROWINFO$ AS oehr_leaf_category_typ).product_ref_list \\     STORE AS oehr_prod_ref_list_ntab \\     NESTED TABLE TREAT \\     (SYS_NC_ROWINFO$ AS oehr_composite_category_typ).subcategory_ref_list \\     STORE AS oehr_subcat_ref_list_ntab;
    Reinstall the Supporting Objects.
    Hope this helps.
    -Amitabh

  • ESS Payslip : Error when creating form

    Hello All,
    I get the following error when i click on
    ESS - Pay Information - Payslip - Payslip Inquiry Service.
    Please help !
    Full Stack Trace
    com.sap.pcuigp.xssfpm.java.FPMRuntimeException: Error when creating the form
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111)
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:121)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.reportBapiRet2Error(FcRepFramework.java:525)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.callRfcGetForm(FcRepFramework.java:394)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.processFollowingActions(FcRepFramework.java:484)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.callRfcExecAction(FcRepFramework.java:378)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.initModel(FcRepFramework.java:292)
         at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFramework.initModel(InternalFcRepFramework.java:256)
         at com.sap.xss.hr.rep.fcrfw.FcRepFrameworkInterface.initModel(FcRepFrameworkInterface.java:136)
         at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFrameworkInterface.initModel(InternalFcRepFrameworkInterface.java:198)
         at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFrameworkInterface$External.initModel(InternalFcRepFrameworkInterface.java:258)
         at com.sap.xss.hr.rem2.selection.VcRem2Selection.onInit(VcRem2Selection.java:245)
         at com.sap.xss.hr.rem2.selection.wdp.InternalVcRem2Selection.onInit(InternalVcRem2Selection.java:249)
         at com.sap.xss.hr.rem2.selection.VcRem2SelectionInterface.onInit(VcRem2SelectionInterface.java:161)
         at com.sap.xss.hr.rem2.selection.wdp.InternalVcRem2SelectionInterface.onInit(InternalVcRem2SelectionInterface.java:144)
         at com.sap.xss.hr.rem2.selection.wdp.InternalVcRem2SelectionInterface$External.onInit(InternalVcRem2SelectionInterface.java:220)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:564)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:754)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:289)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1288)
         at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:355)
         at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:548)
         at com.sap.portal.pb.PageBuilder.wdDoRefresh(PageBuilder.java:592)
         at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:864)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:319)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:684)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:215)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)

    Please check the user language setting in SU01. If no language is defined, the portal will use the browser to set the portal language. The payslip language is defined in feature HRFOR and must match the employee's molga. If the language defined for the employee's payslip is different from the user's, a dump will occur. Try changing the user's language setting.
    Best regards,
    Antonio

Maybe you are looking for

  • OBIEE 11G standalone isnatlaltion ISSUE

    Hi Experts, I installed 1) Database, RCU and then from OBIEE isntalaltion software I just installed BIPUBLISHER. After instalaltion xmlserver :7001 came up and I was able to open weblogic also But when I restarted the system and tried to acess the xm

  • Changing language of Final Cut Pro

    A friend gave me a computer that has Final Cut Pro 3 on it, but it is operating in French. Is there any way to change this? Thanks.

  • Predictive search in UCM

    Hi all, Can anyone tell me whether it is possible to have implement predictive/suggestive search in UCM like we have in google search? For example, if we type 'how to' in google search, it automatically predicts or suggests some search query like 'ho

  • Apple TV iPhoto slideshow

    Setting up my slideshow I adjusted the length of time per slide to 8 seconds in iPhoto but it seemed to default to 5 seconds when played on the Apple TV. Under photo settings in Apple TV I couldn't find a setting adjustment for time of slide. Also, t

  • Photoshop not found

    I've just installed LR, and am doing basic setup. In Preferences/External Editor, it says "Edit in Adobe Photoshop(not found)". We have a registered version of CS2 installed in the default location. We're running XP with fast user switching - could t