OWB10gR2 grant_upgrade_privileges.sql: EXECUTE ANY PROC & SELECT ANY TAB

Hi,
Has anyone an idear why the priviledges EXECUTE ANY PROCEDURE and SELECT ANY TABLE needs to be grated to target schemas (see script grant_upgrade_privileges.sql) ?
How do you convince your DBAs to run such a script on production DBs?
Thanks for any input
Maurice

Seems to me that this should simply be filed as a bug.
lucky for me, our DBA didn't notice :)

Similar Messages

  • ORA-27092 Error while executing any query from client

    Hello
    I am getting following error while executing any query from client remotly.
    IAMDBA@TEST_OAT.ABCD > select userid from dual;
    select userid from dual
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01116: error in opening database file 1
    ORA-01110: data file 1: '/u01/prod/system/system01.dbf'
    ORA-27092: size of file exceeds file size limit of the process
    Additional information: 131071
    Additional information: 286209
    But while local connection,its working.

    hi,
    ulimit command- Limit user resources
    su - oracle
    ulimit -n (this command will show you the current value for ulimit the default value is 1024)
    to increase its value:---
    ulimit -n <some value> ( this command will change value for current session only)
    example
    ulimit -n 101062
    once done check the value as:--
    ulimit -n( for verification)
    search in google for more explanation or revert back to me for any suggestions.... :)
    Edited by: varun4dba on Jan 31, 2011 4:09 PM

  • Why doesn't the "grant execute any procedure" work?

    Hi to all.
    I want to grant the execute privilege for all SYS schema functions/procedures. To achieve it I do the following:
    SQL> connect sys/*****@orcl
    Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    Connected as SYS
    SQL> create user test identified by test;
    User created
    SQL> grant create session to test;
    Grant succeeded
    SQL> grant execute any procedure to test;
    Grant succeeded
    According to the [http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_9013.htm] the "grant execute any procedure" - grants Execute procedures or functions, either standalone or packaged.
    So, the steps seem to be right. Then, I try to connect to the test user and execute any procedure from the SYS schema, for example, dbms_lock.sleep:
    SQL> connect test/test@dizzy/orcl
    Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    Connected as test
    SQL> begin
    2 sys.dbms_lock.sleep(1);
    3 end;
    4 /
    begin
    sys.dbms_lock.sleep(1);
    end;
    ORA-06550: line 3, column 1:
    PLS-00201: identifier 'SYS.DBMS_LOCK' must be declared
    ORA-06550: line 3, column 1:
    PL/SQL: Statement ignored
    So, the execution fails due to insufficient rights. However, the direct grant on the sys.dbms_lock works!
    SQL> connect sys/*****@dizzy/orcl as sysdba
    Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    Connected as SYS
    SQL> grant execute on dbms_lock; to test;
    grant execute on dbms_lock; to test
    ORA-00911: invalid character
    SQL> grant execute on dbms_lock to test;
    Grant succeeded
    SQL> connect test/test@dizzy/orcl
    Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    Connected as test
    SQL> begin
    2 sys.dbms_lock.sleep(1);
    3 end;
    4 /
    PL/SQL procedure successfully completed
    So, to be sure that the grant on any procedure from the definite scheme is given, should I avoid giving the execute any procedure grant?
    P.S. Is there any special tag for code?
    Thanks in advance.

    Sybrand, thank you for the reply.
    You are right. I tried to connect by another user NOT SYS and created the function:
    SQL> create user testic identified by i;
    User created
    SQL> grant create session, execute any procedure to testic;
    Grant succeeded
    SQL> create or replace function get1 return number is
      2  begin
      3  return 1;
      4  end;
      5  /
    Function created
    SQL> connect testic/i@orcl
    Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    Connected as testic
    SQL> select get1 from dual;
    select get1 from dual
    ORA-00904: "GET1": invalid identifier
    SQL> select kaisa_rgali.get1 from dual;
          GET1
             1Thank you for the tag. This's exactly what I asked about.
    Finally, I tried t open the hyperlink http://download.oracle.com/docgs/cd/B10501_01/server.920/a96521/privs.htm but it failed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to execute an sql function containing a SELECT query as paramete

    Hi
    I want to execute this sql query using JDBC methods , but could not be able to find any appropriate method to execute this query.
    select dbms_xmlgen.getxml(select * from departments) from dual
    please some one help with appropriate java code to execute it.
    Thank you

    >
    I want to execute this sql query using JDBC methods , but could not be able to find any appropriate method to execute this query.
    select dbms_xmlgen.getxml(select * from departments) from dual
    please some one help with appropriate java code to execute it.
    >
    Java code? You can't execute that query at all since it is invalid. The parameter needs to be a query string NOT a query.
    select dbms_xmlgen.getxml('select * from departments') from dual See the DBMS_XMLGEN package in the docs
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_xmlgen.htm#i1013206
    >
    Converts the results from the SQL query string to XML format, and returns the XML as a temporary CLOB, which must be subsequently freed using the DBMS_LOB.FREETEMPORARY call:
    DBMS_XMLGEN.GETXML (
    sqlQuery IN VARCHAR2,
    dtdOrSchema IN number := NONE)
    RETURN CLOB;
    >
    Then you execute that query like any other query that returns a result set. The result set will consist of one row and one column of CLOB datatype.
    See the JDBC Developer's Guide - it has examples of how to execute queries that return result sets.
    And this section shows how tow read/write CLOBs
    http://docs.oracle.com/cd/B28359_01/java.111/b31224/oralob.htm#sthref755

  • Do we need to run catbundle.sql for ANY new db we create after CPU's?

    We're in the middle of reviewing the JAN2009CPU readme, and found a curiosity in the patch notes.
    - Our platform is Oracle 10.2.0.4 Enterprise Edition on Solaris 10 64-bit.
    In the Post-Patch instructions for the CPU, we see the following clause
    {color:#3366ff} ...
    3.3.5, "Post Installation Instructions for New and Upgraded Databases"
    These instructions are for both non-RAC environments and RAC environments
    when a database is created or upgraded after the installation of CPUJan2009.
    You must execute the steps in Section 3.3.2.1, "Loading Modified .sql Files
    into the Database"" and Section 3.3.2.2, "Recompiling Views in the Database"
    for *any new database that was created* by any of the following methods:
    - Using DBCA (Database Configuration Assistant) to select a sample database (General, Data Warehouse, Transaction Processing)
    - Using a script that was created by DBCA that creates a database from a sample database
    - Cloning a database that was created by either of the two preceding methods,
    and if Section 3.3.2.1, "Loading Modified .sql Files into the Database"
    was not executed after CPUJan2009 was applied.
    Upgraded databases require no post-installation steps to be executed.
    {color}
    I don't understand -- does this mean we have to do the following any time
    we create a new database from now on?
    - run dbca
    {color:#ff0000} - run '@?/rdbms/admin/catbundle.sql cpu apply'
    - check $ORACLE_HOME/cfttoollogs/catbundle/catbundle_CPU_&lt;SID&gt;_APPLY_&lt;TimeStamp&gt;.log for errors
    - run '@?/cpu/view_recompile/view_recompile_jan2008cpu'{color}
    I would have thought that the new SQL scripts under $ORACLE_HOME are already
    upgraded, so that we do not *have* to do any extra work on top of simply running
    dbca to create a new DB.
    I see a similar phrase in the CPU2008JUL (patch 7150470):
    {color:#0000ff} "You must execute the steps in this section (Section 3.3.2.1,
    "Loading Modified .sql Files into the Database") for any new database you create
    or any database upgraded to this release since the CPUJul2008 patch was applied."
    {color}
    .. AND CPU2008OCT (patch 7375644):
    {color:#0000ff} You must execute the steps ... for any new database you create or
    any database upgraded to this release since the CPUOct2008 patch was applied.
    {color}
    .. but the April 2008 CPU (patch 6864068) doesn't have these clauses.
    Can anybody clarify this issue? Have you created DB's after the JAN2009 CPU
    and not run the catbundle.sql, had any problems?
    Edited by: lrp on Feb 4, 2009 2:45 PM

    lrp wrote:
    We're in the middle of reviewing the JAN2009CPU readme, and found a curiosity in the patch notes.
    - Our platform is Oracle 10.2.0.4 Enterprise Edition on Solaris 10 64-bit.
    In the Post-Patch instructions for the CPU, we see the following clause
    {color:#3366ff} ...
    3.3.5, "Post Installation Instructions for New and Upgraded Databases"
    These instructions are for both non-RAC environments and RAC environments
    when a database is created or upgraded after the installation of CPUJan2009.
    You must execute the steps in Section 3.3.2.1, "Loading Modified .sql Files
    into the Database"" and Section 3.3.2.2, "Recompiling Views in the Database"
    for *any new database that was created* by any of the following methods:
    - Using DBCA (Database Configuration Assistant) to select a sample database (General, Data Warehouse, Transaction Processing)
    - Using a script that was created by DBCA that creates a database from a sample database
    - Cloning a database that was created by either of the two preceding methods,
    and if Section 3.3.2.1, "Loading Modified .sql Files into the Database"
    was not executed after CPUJan2009 was applied.
    Upgraded databases require no post-installation steps to be executed.
    {color}
    I don't understand -- does this mean we have to do the following any time
    we create a new database from now on?
    - run dbca
    {color:#ff0000} - run '@?/rdbms/admin/catbundle.sql cpu apply'
    - check $ORACLE_HOME/cfttoollogs/catbundle/catbundle_CPU_&lt;SID&gt;_APPLY_&lt;TimeStamp&gt;.log for errors
    - run '@?/cpu/view_recompile/view_recompile_jan2008cpu'{color}
    I would have thought that the new SQL scripts under $ORACLE_HOME are already
    upgraded, so that we do not *have* to do any extra work on top of simply running
    dbca to create a new DB.
    I see a similar phrase in the CPU2008JUL (patch 7150470):
    {color:#0000ff} "You must execute the steps in this section (Section 3.3.2.1,
    "Loading Modified .sql Files into the Database") for any new database you create
    or any database upgraded to this release since the CPUJul2008 patch was applied."
    {color}
    .. AND CPU2008OCT (patch 7375644):
    {color:#0000ff} You must execute the steps ... for any new database you create or
    any database upgraded to this release since the CPUOct2008 patch was applied.
    {color}
    .. but the April 2008 CPU (patch 6864068) doesn't have these clauses.
    Can anybody clarify this issue? Have you created DB's after the JAN2009 CPU
    and not run the catbundle.sql, had any problems?
    Edited by: lrp on Feb 4, 2009 2:45 PMIt's pretty explicit:
    *You must execute the steps* in Section 3.3.2.1, "Loading Modified .sql Files
    into the Database"" and Section 3.3.2.2, "Recompiling Views in the Database"
    for any new database that was created <b><i><u>by any of the following methods</u></i></b>:
    - Using DBCA (Database Configuration Assistant) to select a sample database (General, Data Warehouse, Transaction Processing)
    - Using a script that was created by DBCA that creates a database from a sample database
    - Cloning a database that was created by either of the two preceding methods,
    and if Section 3.3.2.1, "Loading Modified .sql Files into the Database"
    was not executed after CPUJan2009 was applied.
    So, if you create a database by any of the explicitly listed methods (all of which are creating a database from a backup that my have been made of a database that was not patched to that level) then you need to run the scripts. If you create a database by some other method (about all that is left is a command line CREATE DATABASE) then part of that creation will necessarily include running the necessary cat* scripts, which will already be at the correct level.

  • Why does SQL execute inner selected functions again in the outer select?

    Hi,
    Why does SQL execute inner selected functions again in the outer select?
    Given:
    CREATE OR REPLACE FUNCTION K_TEST
    RETURN NUMBER IS
    BEGIN
    RETURN 1;
    END;
    SELECT K_TEST, K_TEST FROM DUAL;Will (logically) execute the function twice.
    SELECT intest, intest
    FROM (SELECT K_TEST intest FROM DUAL);Will execute the function twice too!
    Why can't SQL buffer the inner result?
    Does anyone have an idea on how to achieve executing the function only once? My original called function is quite heavy and returning a user defined type. Adding predicates, the function is executed 3 or 4 times!
    Thanks for any tips,
    K.

    Hello
    Depending on your version of Oracle, Sub query caching could help....
    XXXX> create sequence seq_1
      2  /
    Sequence created.
    Elapsed: 00:00:00.07
    XXXX> CREATE OR REPLACE FUNCTION K_TEST
      2  RETURN NUMBER IS
      3
      4      ln_Ret  NUMBER;
      5
      6  BEGIN
      7      SELECT
      8          seq_1.NEXTVAL
      9      INTO
    10          ln_Ret
    11      FROM
    12          dual;
    13
    14      RETURN ln_Ret;
    15  END;
    16  /
    Function created.
    Elapsed: 00:00:00.60
    XXXX>
    XXXX> SELECT K_TEST, K_TEST FROM DUAL;
        K_TEST     K_TEST
             1          2
    1 row selected.
    Elapsed: 00:00:00.06
    XXXX> SELECT K_TEST, K_TEST FROM DUAL;
        K_TEST     K_TEST
             3          4
    1 row selected.
    Elapsed: 00:00:00.01
    XXXX> SELECT intest, intest
      2  FROM (SELECT K_TEST intest FROM DUAL);
        INTEST     INTEST
             5          6
    1 row selected.
    Elapsed: 00:00:00.10
    XXXX> SELECT
      2      intest,intest
      3  FROM
      4      (
      5          SELECT (SELECT K_TEST FROM dual) intest
      6          FROM
      7          dual
      8
      9      )
    10  /
        INTEST     INTEST
             7          7
    1 row selected.
    Elapsed: 00:00:00.03
    XXXX> /
        INTEST     INTEST
             8          8
    1 row selected.
    Elapsed: 00:00:00.01THis last example takes advantage of a specific optimisation for calling functions in a subquery. Not sure if it would suit your circumstance though...
    Alternatively - again depending on your version - you might be able to look at function result caching...
    HTH
    David
    Edited by: Bravid on Feb 1, 2012 12:32 PM

  • Execute any procedure???

    Inorder to execute the job at the allotted time the user need to be able to create a procedure and execute it.
    but is execute any procedure privilege required to enable scheduling???
    what could be the reason??
    this allow the user to run procedures created by other users, right?

    Hi Visakh
    From my own notes here is what I have:
    Setting up Workbook Scheduling
    ==============================
    The workbook scheduling feature in Discoverer uses native features in the Oracle DBMS, and is therefore only available when running against the Oracle database. This feature uses the same highly scalable and reliable processing procedures within the kernel, since the summary management capability and the setup for both features is similar. These procedures use standard packages in the DBMS called DBMS_JOB.
    To enable the processing procedures for workbook scheduling in Discoverer, follow these steps:
    A. Grant Schedule Workbook Privilege to the user.
    B. Confirm that DBMS_JOBS has been installed.
    C. Specify result set storage.
    D. Set the time period at which the process kicks in.
    These procedures are described in the following sections:
    A.  Grant Schedule Workbook Privilege to the User
    The user must be granted the Schedule Workbooks privilege in the Privileges dialog. Connect to the Administration Edition, and grant the Schedule Workbooks privilege in Tools | Privileges dialog.
    B.   Confirming that DBMS_JOBS is Installed
    1. Log onto SQL*Plus as the Administrator, and execute the following SQL statement:
    SQL> select * from all_objects where object_name='DBMS_JOB' and object_type = 'PACKAGE';
    2. If you get no rows returned you need to install this package. Your DBA will know how to do it.
    C.  Specifying Result Set Storage
    When a scheduled workbook is run, the results are stored in database tables within the database. The resulting data created as part of the workbook scheduling process may be stored in one of two areas: the user's own schema or a centralized schema.
    User's Schema
    In order to enable workbook scheduling in the user's own database schema, the user requires the following database privileges:
    Create Procedure - needed to create the job
    Create Table - needed to create tenporary holding table(s) for the results, each run of the same scheduled worksheet produces a new temporary table - see general notes at end for more help
    Create View - needed to pull the results from the database
    You will also need these three grants:
    SELECT ON SYS.V_$PARAMETER;
    EXECUTE ON SYS.DBMS_JOB; won't be able to execute the job without this
    UNLIMITED TABLESPACE; needed to stop user's schema running out of space while creating the table(s) of results. Discoverer does not leave it to the DBA to set artificial limits. The only way it knows for certain that it will have enough is to have this privilese.
    As you can see, execute any procedure is not needed.
    When the schedule is first created a view is created. This allows Discoverer to run that view at the scheduled time using whatever conditions and parameters you have set. The results are populated into the table when the query is run. If you subsequently have multiple sets of results you will see them named T1, T2 and so on.
    To grant these privileges, do the following:
    1. Log onto SQL*Plus or SQLDBA as the Database Administrator.
    2. Type the following:
    SQL> Grant CREATE PROCEDURE to <USER>;
    SQL> Grant CREATE TABLE to <USER>;
    SQL> Grant CREATE VIEW to <USER>;
    where <USER> is the userid of the person who is to be allowed to schedule workbooks.
    These privileges must be granted directly to the user and not to a database role.
    Advantages: A database limit can be specified on the maximum amount of data a user can store in the database. If the result set is stored under the user's schema, then you keep control over the maximum amount of space one individual user can fill with result sets. If the user creates a scheduled workbook that fills that space, it affects only his/her own scheduled workbook.
    Disadvantage: The user is required to have the above privileges in the database.
    Repository User's Schema
    In order to enable workbook scheduling using a centralized repository user's schema, the SQL script batchusr.sql must be run in SQL*Plus or SQLDBA as a database administrator (such as, SYSTEM). This script creates a new user that is granted the above privileges.
    In addition, the administrator of the EUL must change the user so that the Repository User property is pointing to the repository user's schema just created. The centralized repository user's schema may be customized by the database administrator for space management purposes and underlying data access.
    NOTE: SELECT ANY TABLE access is given by the script batchusr.sql, but this may be limited provided the repository user's schema is granted access to the underlying data that will be accessed for workbook scheduling.
    The repository user created will not be able to directly schedule a workbook through the User Edition.
    Advantages: Each user does not need DML procedures to run scheduled workbooks.
    Disadvantages: One user can potentially run a scheduled workbook that fills the available result set space, preventing other scheduled workbooks from running until it is cleared.
    D.  Setting the Start Time for Workbook Processing
    The workbook processes run within the database on the server, and are controlled by parameters in the initialization file of the Oracle DBMS - the INIT<SID>.ORA file.
    To limit the number of processing requests that can run simultaneously:
    The parameter job_queue_processes specifies the number of concurrent processes to use to process DBMS_JOB. It controls the number of processing requests that can be handled simultaneously. The default value is zero, which means processing requests will not be created. You should set it to a minimum of 2 or more if you have any other applications that use DBMS_JOB.
    You need more than one job queue process, because if one job fails for any reason, it may keep getting re-submitted, and thus, prevent everything else in the queue from being completed. If you want to have 10 simultaneous processing requests handled, then you will need to set this to 10.
    The INIT<SID>.ORA parameter job_queue_interval is the time in seconds that controls how often the job processes wake up to process pending jobs. The default is 60, which is quite frequent. What you set this to depends on how frequently you want the process to wake up and serve the requests that have been made. Oracle recommends that you update the 60 seconds default to at least 10 minutes (a value of 600).
    NOTE: This parameter also affects summary management.
    To enable these parameters:
    1. Locate the INIT<SID>.ORA file.
    For example, on Personal Oracle7 the INIT<SID>.ORA file is held in <ORACLE_HOME>\database. Its default name is INITORCL.ORA where ORCL is the <SID> name.
    2. Enter 2 lines into the file. For example:
    job_queue_processes = 2
    job_queue_interval = 600 (equivalent to 10 minutes)
    GENERAL NOTES:
    The summary management and workbook scheduling features both use this scheduling capability within the Oracle DBMS. The interval you specify and the number of concurrent requests affect both features.
    The results from the worksheet are held in a temporary table until you remove the results or you delete the scheduled workbook.
    Tables look like this: EUL5_B060914015847Q1R1
    Views look like this: EUL5_B060914015847Q1V1
    These temporary tables are stored within the schema of the user who owns the workbook - not within the standard EUL schema. The format of the table is as follows:
    EUL5_B060914015847Q1R1 which can be broken into six separate pieces.
    These pieces are as follows:
    EUL5_ B YYMMDD HHMISS Q9 R9, where
    EUL5_ is a fixed name
    B means Batch and is a constant
    YYMMDD is the date that the worksheet was run,
    HHMISS is the time when the worksheet was run, the time is in the 24 hour clock format,
    Q9 means this is the letter Q followed by a number - E.g. Q1, which signifies the query number. I believe Oracle have some plans to allow multiple queries but for now this is always Q1,
    R9 means this is the letter R followed by a number - E.g. R1, R2 and so on. This is the run number.
    Using the above logic therefore, this is a valid example:
    EUL5_B090914015847Q1R1
    This means this is result set number 1 for query 1, run at 1:58:46 AM on 14th September 2009.
    So if you can figure out which worksheet was scheduled and when it was run you can build a view that sits on top of the latest table to give you the latest results. Something else which adds interest here is that the column names within the table do not match the column names as in your original query. The scheduled results column names use generic names such as BRVC1, BRVC2, BRD1, BRD2, BRN1 and BRN2.
    These are codes and can be interpreted as follows:
    BRCV1 and BRCV2 mean Batch Result Var Char 1 and 2,
    BRD1 and BED2 mean Batch Result Date 1 and 2,
    BRN1 and BEN2 mean Batch Result Number 1 and 2
    Best wishes
    Michael

  • Grant execute any function or package

    Hi,
    Does the below command give execute priviliges on functions and packages too ?
    grant execute any procedure to <user>;
    When i give same for fucntion it gives following error,
    SQL> grant execute any function to user2;
    grant execute any function to user2
    ERROR at line 1:
    ORA-00990: missing or invalid privilege
    Thanks.

    EXECUTE ANY PROCEDURE grants permission to all procedures and all functions, whether stand alone or packaged.
    Hopefully, you're well aware of this, but the various ANY privileges, like EXECUTE ANY PROCEDURE, are exceptionally powerful. You want to be very cautious about granting those privileges because they can introduce a number of security holes.
    Justin

  • DUMP when execute any tasks - OBJECTS_OBJREF_NOT_ASSIGNED_NO

    Hi Experts,
    I need help. When we try to execute any tasks at UCMON we have the following DUMP:
    Erro tpo.exec.         OBJECTS_OBJREF_NOT_ASSIGNED_NO                                              
    Exceção                CX_SY_REF_IS_INITIAL                                                        
    Data e hora            16.03.2011 11:53:29                                                         
    Dump breve ABAP não está complet.gravado (demas.extenso)                                           
    TxtBreve                                                                               
    Access with 'ZERO' object reference not possible.                                             
    O que aconteceu ?                                                                               
    Error in ABAP application program.                                                                               
    The current ABAP program "CL_UC_COMPOUND================CP" had to be                         
         terminated because one of the                                                                
        statements could not be executed.                                                                               
    This is probably due to an error in the ABAP program.                                         
    O que pode ser feito?                                                                               
    Print out the error message (using the "Print" function)                                      
        and make a note of the actions and input that caused the                                      
        error.                                                                               
    To resolve the problem, contact your SAP system administrator.                                
        You can use transaction ST22 (ABAP Dump Analysis) to view and administer                      
         termination messages, especially those beyond their normal deletion                          
        date.                                                                               
    is especially useful if you want to keep a particular message.                                
    Análise do erro                                                                               
    An exception occurred. This exception is dealt with in more detail below                      
        . The exception, which is assigned to the class 'CX_SY_REF_IS_INITIAL', was                   
         neither                                                                               
    caught nor passed along using a RAISING clause, in the procedure                              
         "GET_GUI_DATA_SELACC" "(METHOD)"                                                             
    Since the caller of the procedure could not have expected this exception                      
         to occur, the running program was terminated.                                                
        The reason for the exception is:                                                              
        There was an attempt to access a component using a 'NULL' object                              
        reference (points to nothing).                                                                
        An object reference must indicate an object (an instance of a class),                         
        before it can be used to access components.                                                   
        Either the reference was never set or it was set to 'NULL' using a                            
        CLEAR statement.                                                                               
    Notas p/eliminação de erros                                                                       
        Probably the only way to eliminate the error is to correct the program.                                                                               
    You may able to find an interim solution to the problem                                       
        in the SAP note system. If you have access to the note system yourself,                       
        use the following search criteria:                                                                               
    "OBJECTS_OBJREF_NOT_ASSIGNED_NO" CX_SY_REF_IS_INITIALC                                        
        "CL_UC_COMPOUND================CP" or "CL_UC_COMPOUND================CM00H"                   
        "GET_GUI_DATA_SELACC"                                                                         
        If you cannot solve the problem yourself and you wish to send                                 
        an error message to SAP, include the following documents:                                                                               
    1. A printout of the problem description (short dump)                                         
           To obtain this, select in the current display "System->List->                              
           Save->Local File (unconverted)".                                                                               
    2. A suitable printout of the system log                                                      
           To obtain this, call the system log through transaction SM21.                              
           Limit the time interval to 10 minutes before and 5 minutes                                 
           after the short dump. In the display, then select the function                             
           "System->List->Save->Local File (unconverted)".                                                                               
    3. If the programs are your own programs or modified SAP programs,                            
           supply the source code.                                                                    
           To do this, select the Editor function "Further Utilities->                                
           Upload/Download->Download".                                                                               
    4. Details regarding the conditions under which the error occurred                            
           or which actions and input led to the error.                                               
        The exception must either be prevented, caught within the procedure                           
         "GET_GUI_DATA_SELACC"                                                                        
        "(METHOD)", or declared in the procedure's RAISING clause.                                    
    Someone help me please?
    Thanks
    Marilia

    Is it a Groundhog Day again:
    TSV_TNEW_PAGE_ALLOC_FAILED - BCS load from data stream task
    Raise Exception when execute UCMON
    and this very thread
    in all these cases, IMHO, the proper way was the following:
    1. Try to find the proper OSS note
    2. if not succesfull - properly regenerate the data basis,
    3. if not succesfull - open a new OSS note to SAP.
    Edited by: Eugene Khusainov on Mar 16, 2011 10:42 PM

  • "GRANT EXECUTE ANY PROCEDURE TO " does not work in some cases

    Hello,
    I some of my PL/SQL-packages I'm using DBMS-packages.
    Because I don't want to grant access for every single package, I granted EXECUTE ANY PROCEDURE to the user/schema of my packages.
    This did work in several installation.
    But for what reason ever, in one installation DBMS_RANDOM cannot be used (DBMS_RANDOM must be declared). If I explicitly grant execute on this package, it works. When I revoke it and renew the ANY PROCEDURE, it doesn't again.
    What's wrong.
    Version 11.2.0.2 on Win2008R2
    Regards,
    Mynz

    Mynz wrote:
    Hello,
    I some of my PL/SQL-packages I'm using DBMS-packages.
    Because I don't want to grant access for every single package, I granted EXECUTE ANY PROCEDURE to the user/schema of my packages.
    This did work in several installation.
    But for what reason ever, in one installation DBMS_RANDOM cannot be used (DBMS_RANDOM must be declared). If I explicitly grant execute on this package, it works. When I revoke it and renew the ANY PROCEDURE, it doesn't again.
    What's wrong.privilege acquired via ROLE do NOT apply within named PL/SQL procedures/functions

  • When I try to execute any workflow I get the error "Something went wrong.."

    Hello,
    Last weekend I updated the servers farm and I executed "SharePoint 2013 products configuration wizard" But I had an error and the wizard showed this: Conpleted configuration settings will not be rolled back.
    From this moment when I try to execute any workflow in one of my site collections I always get the error "something went wrong.." Then I was checking the logs and I saw this:
    04/08/2015 08:12:18.82  w3wp.exe (0x1318)                        0x2070 SharePoint Foundation        
     General                        8nca Medium   Application error when access /_layouts/15/IniWrkflIP.aspx, Error=Requested
    registry access is not allowed.   at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)     at Microsoft.Win32.Registry.GetValue(String keyName, String valueName, Object defaultValue)    
    at Microsoft.Office.InfoPath.Server.Util.UrlManager.<>c__DisplayClass1.<OpenFileNameMap>b__0()     at Microsoft.Office.Server.Security.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)     at Microsoft.Office.InfoPath.Server.Util.UrlManager.OpenFileNameMap()    
    at Microsoft.Office.InfoPath.Server.Util.UrlManager..cctor() 539dfa9c-f4fc-b08b-bdb7-dca4cb91a7b5
    04/08/2015 08:12:18.82  w3wp.exe (0x1318)                        0x2070 SharePoint Foundation        
     Runtime                        6616 Critical Requested registry access is not allowed. 539dfa9c-f4fc-b08b-bdb7-dca4cb91a7b5
    04/08/2015 08:12:18.82  w3wp.exe (0x1318)                        0x2070 SharePoint Foundation        
     General                        ajlz0 High     Getting Error Message for Exception System.TypeInitializationException:
    The type initializer for 'Microsoft.Office.InfoPath.Server.Util.UrlManager' threw an exception. ---> System.Security.SecurityException: Requested registry access is not allowed.     at Microsoft.Win32.RegistryKey.OpenSubKey(String name,
    Boolean writable)     at Microsoft.Win32.Registry.GetValue(String keyName, String valueName, Object defaultValue)     at Microsoft.Office.InfoPath.Server.Util.UrlManager.<>c__DisplayClass1.<OpenFileNameMap>b__0()    
    at Microsoft.Office.Server.Security.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)     at Microsoft.Office.InfoPath.Server.Util.UrlManager.OpenFileNameMap()     at Microsoft.Office.InfoPath.Server.Util.UrlManager..cctor()    
    --- End of inner exception stack tra... 539dfa9c-f4fc-b08b-bdb7-dca4cb91a7b5
    04/08/2015 08:12:18.82* w3wp.exe (0x1318)                        0x2070 SharePoint Foundation        
     General                        ajlz0 High     ...ce ---     at Microsoft.Office.InfoPath.Server.Util.UrlManager.GetConverterGeneratedFilePath(ConverterGeneratedFile
    file, Document document)     at Microsoft.Office.InfoPath.Server.SolutionLifetime.ScriptIncludes.RenderCssLinksToHeader(Control ctrl, Document document, Boolean ribbonEnabled, Boolean isDisplayMode)     at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.TryToAddCssLinksToHeader()    
    at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.OnDataBindHelper()     at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.OnDataBinding(EventArgs e)     at System.Web.UI.WebControls.WebParts.Part.DataBind()    
    at System.Web.UI.Control.DataBindChildren()     at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)     at System.Web.UI.Control.DataBindChildren()     at Sy... 539dfa9c-f4fc-b08b-bdb7-dca4cb91a7b5
    04/08/2015 08:12:18.82* w3wp.exe (0x1318)                        0x2070 SharePoint Foundation        
     General                        ajlz0 High     ...stem.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)    
    at System.Web.UI.Control.DataBindChildren()     at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)     at System.Web.UI.Control.DataBindChildren()     at System.Web.UI.Control.DataBind(Boolean
    raiseOnDataBinding)     at System.Web.UI.Control.DataBindChildren()     at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)     at System.Web.UI.Control.DataBindChildren()    
    at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)     at Microsoft.Office.Workflow.IniWrkflIPPage.LoadFromWorkflowAssociation()     at Microsoft.Office.Workflow.IniWrkflIPPage.OnLoad(EventArgs ea)    
    at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean inc... 539dfa9c-f4fc-b08b-bdb7-dca4cb91a7b5
    04/08/2015 08:12:18.82* w3wp.exe (0x1318)                        0x2070 SharePoint Foundation        
     General                        ajlz0 High     ...ludeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 539dfa9c-f4fc-b08b-bdb7-dca4cb91a7b5
    But I cannot find any solution.
    Please Help!

    Hello,
    After some troubleshooting finally I opened a case to Microsoft, finally we solved the error:
    I cleared the configuration cache:
    http://blogs.msdn.com/b/jamesway/archive/2011/05/23/sharepoint-2010-clearing-the-configuration-cache.aspx
    With this I could execute the wizard without any problem and the problem was solved.
    But if with this the problem is not fix, Apart from that, you can check this:
    Apparently, Microsoft change the number version of the SP1, then if you have the first sp1 versión, you will have problems with the wizard because is looking for the newer version.
    The first SP1 number version was:
    15.0.4569.1506
    The currently SP1 version is:
    15.0.4571.1502
    You can check your versión with this script:
    http://blogs.technet.com/b/stefan_gossner/archive/2015/04/20/powershell-script-to-display-version-info-for-sharepoint-product-and-language-packs.aspx
    Finally if you have the first version the solution is download SP1 again (newer) and install it again (it is not necessary unistall the currently SP1) When you finish, try to execute wizard again and everything will work fine.
    Hope this helps!

  • SYNTAX_ERROR when executing any transaction

    Hi All,
        I am getting the following error as soon as I log in. I am not able to execute any transaction. The dump occured while I was applying Stack 10. The performance assistant ask to generate/activate the interface SAPLSRABAX_EXC using menu painter but I cant even get to SE41.
    Any ideas.
    Thanks in advance,
    Shabnam
    Performance Assistant:
    Status LIVE of the user interface SAPLSRABAX_EXC missing
    Message no. 00264
    Diagnosis
    The specified GUI status either does not exist or was not generated.
    Procedure
    Use the Menu Painter to check whether the status required actually exists. If it does, then generate the interface SAPLSRABAX_EXC (using the Menu Painter).
    Runtime Errors         SYNTAX_ERROR
    Date and Time          07.04.2007 12:26:38
    Short text
         Syntax error in program "SAPLSEUF ".
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "SAPLSHI1" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
         The following syntax error occurred in program "SAPLSEUF " in include
          "CL_ENH_TOOL_FUGR==============CU " in
         line 133:
         "Method "IF_ENH_TOOL~COMPARE_WITH" is not declared or inherited in clas"
         "s "CL_ENH_TOOL_FUGR" - - - - - - - - - - -"
         The include has been created and last changed by:
         Created by: "SAP "
         Last changed by: "SAP "
    Error analysis
         The following syntax error was found in the program SAPLSEUF :
         "Method "IF_ENH_TOOL~COMPARE_WITH" is not declared or inherited in clas"
         "s "CL_ENH_TOOL_FUGR" - - - - - - - - - - -"
    Runtime Errors         SYNTAX_ERROR
    Date and Time          07.04.2007 12:26:38
    Trigger Location of Runtime Error
         Program                                 SAPLSHI1
         Include                                 LSHI1U19
         Row                                     23
         Module type                             (FUNCTION)
         Module Name                             STREE_RESET_INTERNAL_TABLES
    Source Code Extract
    Line  SourceCde
         1 FUNCTION STREE_RESET_INTERNAL_TABLES.
         2 *"----
         3 ""Lokale Schnittstelle:
         4 *"       IMPORTING
         5 *"             VALUE(STRUCTURE_ID) LIKE  TTREE-ID
         6 *"----
         7 *
         8   DATA: FUNCTION_MODULE LIKE TFDIR-FUNCNAME.
         9   DATA: ACTIVE LIKE RS38L-GLOBAL.
        10 *
        11   CALL FUNCTION 'STREE_GET_FUNCTION_MODULE'
        12        EXPORTING
        13             STRUCTURE_ID        = STRUCTURE_ID
        14 *         DATABASE_IDENTIFIER =
        15             ACTION              = 'IT'
        16        IMPORTING
        17             FUNCTION_MODULE     = FUNCTION_MODULE
        18 *         DATABASE_IDENTIFIER =
        19 *         MESSAGE             =
        20        EXCEPTIONS
        21             OTHERS              = 0.
       22 *
    >>>>>   CALL FUNCTION 'RS_FUNCTION_ACTIVE_CHECK'
       24        EXPORTING
       25             FUNCNAME  = FUNCTION_MODULE
       26        IMPORTING
       27             ACTIVE    = ACTIVE
       28        EXCEPTIONS
       29             NOT_FOUND = 1
       30             OTHERS    = 2.
       31   IF ACTIVE EQ FALSE.
       32     EXIT.
       33   ENDIF.
       34 *
       35   CALL FUNCTION FUNCTION_MODULE
       36        EXCEPTIONS
       37             OTHERS = 0.
       38 *  reset also table with header information. This is necessary since
       39 * the header is important for comparison with buffer data
       40   CLEAR EXISTING_STRUCTURES.  REFRESH EXISTING_STRUCTURES.
       41   CLEAR STRUCTURE_TADIR_DATA. REFRESH STRUCTURE_TADIR_DATA.
       42 * reset context resolution buffer

    Hi Shabnam,
    You are right .When a support pack is being imported in the system for performance reasons SPAM is set up so that by default no screens  or ABAP programs can be generated..This needs to be changed  if you want to work during an SP import.
    Choose EXTRAS in SPAM initial screen choose SETTINGS and choose IGNORE GENERATION ERRORS.
    It is better to avoid workign during a SP import on the system
    Check the link for more details
    http://help.sap.com/saphelp_nw04/helpdata/en/d7/56e89a884b11d2b422006094b9ea64/frameset.htm
    *Reward points  if the asnwer was helpful

  • Error when I am executing any method in shopping cart

    Dear All ,
    I am getting following error when I am executing any method in shopping cart.
    *"No data found for contact person 0000000244 . Inform system administration . "*
    Please Can you help me with this error .

    Your error states:
    !syParameterNotFound,dDocTitle
    Can you confirm that your profile includes all required data, specifically, the dDocTitle? Fix this issue, then re-check your logs. if there are other missing required parameters, fix each one.
    Eventually, you should have a successful check-in.
    Hope this helps,
    -ryan

  • EXECUTE ANY PROCEDURE issue

    Hi,
    I have read somewhere that EXECUTE ANY PROCEDURE is one of the most dangerous privilege. Could you please help me understanding it? I mean how exactly is this privilege dangerous and if it at all it is then what is the purpose of providing this privilege as an in-built privilege?
    Thanks in advance.
    Onkar

    onkar.nath wrote:
    I do agree that when we assign any privilege with ANY , it has security risk as it allows the user to perform activity in any of the existing schemas in the the system but my concern here is:
    1. Why at all this gets created when it is a security threat?Because there is always a DBA, who needs to perform system wide things.
    2. I was also told that having this privilege , any user can execute one specific procedure attaining DBA privilege. Is that correct? If so then how?check the second response of this thread.
    >
    Thanksregards

  • Oracle warehouse builder error when I execute any mapping

    oracle warehouse builder error when I execute any mapping:
    I have installed OWB successfuly, It still no longer working correctly: it executed all the mappings, but it suddenly becomes incapable to execute any mappings in any project. It validates successfuly the mappings but in the execution it show the message :
    " ora-06550 : ligne1 colonne19..."
    please help me to correct this error.
    thank you.

    Make sure that there is no primary key or index on this table who exceed the limit.
    For more information see
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96612/d_wm2.htm#105677

Maybe you are looking for

  • Display Chinese Text in Form 6i

    Hi, I am trying to put Chinese text on forms under Form 6i and allow users to enter double-byte Chinese characters. But Form 6i cannot display the Chinese text that I entered. A double-byte Chinese text is always displayed as '?' in the Form. I have

  • My hp 2338h monitor come on for two second and goes dark black

    Every time I turn my monitor on it works for about 1 to 2 seconds and goes dark I think I can see outlined in black the windows OS. how can I lighten it up so I can see it.

  • IOS 8:  spotlight not showing wikipedia result snippets

    hi running 8.0.2. iOS 8:  spotlight not showing wikipedia result snippets. it does show the static Search Wikipedia link however. how to get the spotlight search snippets of wikipedia to show, as advertised? thanks

  • BEx variables not showing correct order despite ordering at query level

    Dear Experts, I am using a workbook with 2 queries sharing same variables. The Queries variable order for display in the popup screen has been re-arranged at Query designer level (query properties > variable sequence). Regenerated queries. Relogin to

  • FBN1 Number range

    Hi My clients year end closing is this month. For the fiscal year 2011 we copied the same number range from 2010. There are 21 documents posted for a document number. But now the client wants to continue the same number range of 2010 which means the