Error(586,27): PLS-00302: component 'EDR_RPT_GEN_TMP_WEIGHT_RANGES' must be
Hi ,
In my procedure ,i'm calling another stored proc as below
edr_rpt_generic_package.edr_rpt_gen_tmp_weight_ranges
in_report_parameter_id
);while compiling it throws up error as "component must be declared".
could anyone help me to solve this?
thanks in advance.
hi all i got the answer.
thx
Edited by: user10641405 on Oct 16, 2009 2:45 PM
Similar Messages
-
PLS-00302: component 'SET_NO_OUTLINES' must be declared
Windows 2000 Server
Oracle 10.2.0.1 upgraded from 9.2.0.1
IMP-00058: ORACLE error 6550 encountered
ORA-06550: line 1, column 33:
PLS-00302: component 'SET_NO_OUTLINES' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
IMP-00000: Import terminated unsuccessfully
Trying to import into a 10.2.0.1 database from a 9.2.0 database export.dmp file. Yes, I have seen the thread in this forum regarding the same error when doing an export but in this situation, I am using the import utility of the destination database (10.2.0.1) $ORACLE_HOME/ora102/bin and the db_block values are the same for both source and destination databases.
I think this is caused by Oracle 10.2 want to use SET_NO_OUTLINES and 9.2 doesn't know what it is.
Would appreciate any advise in fixing this situation.
ThanksIf you export with 9i utility to export and while importing 10g utiltiy to import you will get these compatability errors..
Always use the export utility of the lower version of source and target database.
if you still have any questions, Please Refer to Basic Compatibility Section in Metalilnk Note 132904.1
Hope this helps
Click here to learn [Oracle data pump export and import with examples.|http://www.oracleracexpert.com/2009/08/oracle-data-pump-exportimport.html]
Click here for steps to [upgrade Oracle version from 10.2.0.x to 10.2.0.4|http://www.oracleracexpert.com/2009/10/oracle-version-upgrade-from-1020x-to.html]
http://www.oracleracexpert.com -
PLS-00302: component 'SET_NO_OUTLINES' must be declared on EXP
Hey all,
Not sure why I'm getting this. Any ideas where to start?
C:\>exp userid=me/me@mine owner=me file=c:\temp\me.dmp
Export: Release 10.2.0.1.0 - Production on Tue Aug 9 11:14:00 2005
Copyright (c) 1982, 2005, Oracle. All rights reserved.
EXP-00056: ORACLE error 6550 encountered
ORA-06550: line 1, column 41:
PLS-00302: component 'SET_NO_OUTLINES' must be declared
ORA-06550: line 1, column 15:
PL/SQL: Statement ignored
EXP-00000: Export terminated unsuccessfully
C:\>sqlplus me/me@mine
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Aug 9 11:16:02 2005
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - 64bit Production
With the Partitioning, OLAP and Data Mining optionsHello Everyone,
The mentioned issue is due to the fact that you already have several oracle versions installed on your system ( 8i, 9i, 10g, 11g). The issue happens basically whenever you are trying to exp where the command runs from ORACLE_HOME so if your ORACLE_HOME is set to ORACLE 10 for example and you are exporting a database on 8i the issue occurs and hence to solve it you just need to go into cmd then go to oracle 8i HOME which basically will be under c:\oracle\8i\bin and run the exp command again. It will work smoothly.
All the best
SEMOS -
PLS-00302: component 'DISABLE_OLAP_POLICY' must be declared
Database: 11.2.0.4.0
OLAP Analytic Workspace
11.2.0.4.0
Oracle OLAP API
11.2.0.4.0
OLAP Catalog
11.2.0.4.0
I am receiving the following error when trying to delete a dimension in AWM 12.1.0.1.0A.
java.sql.SQLException: ORA-06550: line 1, column 20:
PLS-00302: component 'DISABLE_OLAP_POLICY' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
at oracle.olap.awm.util.ORASUtil.reportException(ORASUtil.java:64)
at oracle.olap.awm.util.ORASUtil.disableOLAPDSP(ORASUtil.java:659)
at oracle.olap.awm.dataobject.olapi.UDimensionDO.delete(UDimensionDO.java:905)
at oracle.olap.awm.navigator.node.DeleteThread.run(DeleteThread.java:283)
I don't get this error with AWM 11.2.0.4.0A. I take it this means we shouldn't be using AWM 12 on a 11 database even though the AWM 12 login window specifies a cube type of: OLAP 11g/12c?You have encountered a known AwM bug 18616303 in AwM 12.1.0.1.0A. The workaround as you have
already determined is to use 11.2.0.4.0A patch of AwM when working against an 11.2 Oracle rdbms server when
you need to drop a dimension, cube or analytic workspace.
This bug is currently fixed in the yet unreleased AwM 12.1.0.2.0. I expect it will be fixed shortly in an
12.1.0.1.0B patch of AwM. Sorry for the inconvenience.
I will update this thread when the 12.1.0.1.0B patch of AwM is available for download off of OTN with
the link to the download. -
Help me resolve this---- PLS-00302: component 'STRING' must be declared
Can anyone please guide me in resolving the below error
The statement below is in the package spec.
TYPE rec IS RECORD ( proj AV_ACTIVITY.proj%TYPE, act AV_ACTIVITY.act%TYPE );
TYPE object_table_type is TABLE OF rec INDEX BY BINARY_INTEGER;
temp_as_rn object_table_type;
Then i am wrting a cursor in the package body and trying to access the component...but it throws up the
PLS-00302: component 'PROJ' must be declared
The below code is in the package body
CURSOR c2_memo_attr(proj_temp varchar2,act_temp varchar2) is
select distinct
dup.proj,
dup.proj_ds as proj_ds,
dup.act,
dup.act_ds as act_ds,
initcap(to_char(ac.eid, 'fmMonth DDth, YYYY')),
initcap(to_char(ac.lid, 'fmMonth DDth, YYYY')),
initcap(to_char(ac.act_due_date, 'fmMonth DDth, YYYY')),
dup.uc03 as Study_no
from dup_resource_status dup, av_activity ac
where ( ac.proj = proj_temp
and ac.act = act_temp)
and dup.proj = ac.proj
and dup.act = ac.act
and ac.ver = 0;
for c2_memo_attr_rec in c2_memo_attr(temp_as_rn.proj,temp_as_rn.act)
loop
text := 'abcd......'
end loop;Cursor loops are obsolete technology? Hmm, not sure I agree with you there.
Yes, sometimes they are an indication of slow-by-slow processing that could be better done in one dml statement, or with bulk collections, etc, but sometimes that's not the case - unless I'm missing something.
For example, I'm writing a procedure to take care of deleting partitions on a periodic basis, and I'm taking into consideration the case where there might be more than one partition to delete. So I'm using a cursor to identify the partitions to delete, and using a cursor for loop to loop round and execute the dynamic drop partition statement.
Since there's never going to be that many partitions, this isn't going to be particularly unperformant, and so I don't see a problem with using the cursor for loop construction for it.
I'd like to hear more on why you think it's obsolete technology in reference to my specific example - and also what you think I should be using. -
PLS-00302: component 'REGISTER_PROPAGATOR' must be declared
Hi,
The following error occured, while running the repadmin user creation script.
Can any one help in rectifying this?
BEGIN dbms_defer_sys.register_propagator('REPADMIN'); END;
ERROR at line 1:
ORA-06550: line 1, column 22:
PLS-00302: component 'REGISTER_PROPAGATOR' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
SQL> exit
Thnk u,
Rgds,
Maha.
nullHow were you connected to the database when you ran the DBMS_DEFER_SYS procedure? as SYSTEM?
Also, check to make sure that the DBMS_DEFER_SYS package and package body exist, are valid, and have synoyms created for them. Query DBA_OBJECTS for this information. -
Data Template - PLS-00302: component 'P_PARAMETER' must be declared
All,
I'm new to the Data Template. I'm following the User's Guide example and examples from this Forum. I can't get a parameter to work. I'm creating a Data Template because I need to execute a PL/SQL call before the report runs.
My Data Template:
<?xml version="1.0" encoding="UTF-8" ?>
<dataTemplate name="DATA_TEMPLATE" version="1.0" dataSourceRef="dev" defaultPackage="TEST_JC_PKG">
<dataTrigger name="beforeReport" source="TEST_JC_PKG.record_report_usage('beforeReport_trigger')"/>
<parameters>
<parameter name="p_parameter" datatype="character" defaultValue="X"/>
</parameters>
<dataQuery>
<sqlStatement name="ROW">
<![CDATA[SELECT dummy FROM dual WHERE :p_parameter = 'X']]>
</sqlStatement>
</dataQuery>
</dataTemplate>
I get this error when I click the "View" button in BI Pub:
ORA-06550: line 2, column 13:
PLS-00302: component 'P_PARAMETER' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
xdo:
<?xml version = '1.0' encoding = 'utf-8'?>
<report version="1.1" xmlns="http://xmlns.oracle.com/oxp/xmlp" defaultDataSourceRef="dev">
<title>beforeReport_trigger_manual_dataTemplate</title>
<properties>
<property name="showControls" value="true"/>
<property name="online" value="true"/>
<property name="parameterColumns" value="3"/>
<property name="openLinkInNewWindow" value="true"/>
<property name="autoRun" value="true"/>
</properties>
<dataModel defaultDataSet="Q1">
<dataSet id="Q1">
<dataTemplate name="DATA_TEMPLATE" dataSourceRef="dev" defaultPackage="TEST_JC_PKG">
<dataTrigger name="beforeReport" source="TEST_JC_PKG.record_report_usage('beforeReport_trigger_manual_dataTemplate')"/>
<parameters>
<parameter name="p_parameter" datatype="character" defaultValue="X"/>
</parameters>
<dataQuery>
<sqlStatement name="ROW">
<![CDATA[SELECT dummy FROM dual WHERE :p_parameter = 'X']]>
</sqlStatement>
</dataQuery>
</dataTemplate>
</dataSet>
</dataModel>
<valueSets/>
<parameters/>
<templates default="detail">
<template label="detail" type="rtf" url="beforeReport_trigger_manual_dataTemplate.rtf"/>
</templates>
<burst enabled="false"/>
</report>Hi,
This is a known bug when using DataTemplates, but it has only just started with 10.1.3.3. You will need to put p_parameter as a global variable in you default package, and you will also need to create a parameter called p_parameter inside BIP. You can set this parameter to being hidden if you do not want Users to be able to change it.
See Tim Dexter's blog on this for more information:
http://blogs.oracle.com/xmlpublisher/2007/10/18#a614
Hope this helps you.
Regards,
Cj -
Adpatch fails with PLS-00302: component 'INITIALIZE_WITH_CALENDAR' must be
Hi Guru's....
This is my first post.I am a new dba.
while applying adpatch , I am getting the below error.Please help. this is on r12.
About to do IREP processing...
Attempting to process IREP files ...
AutoPatch error:
Error in adusnapRunAdPostPatch() while executing statement
AutoPatch error:
ORA-06550: line 1, column 16:
PLS-00302: component 'INITIALIZE_WITH_CALENDAR' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
ORA-06512: at "APPS.FND_GLOBAL", line 413
ORA-06512: at "APPS.FND_GLOBAL", line 2272
ORA-06512: at "APPS.FND_GLOBAL", line 2546
ORA-06512: at "APPS.FND_GLOBAL", line 2698
ORA-06512: at "APPS.FND_GLOBAL", line 2636
ORA-06512: at "APPS.FND_ADPATCH", line 53
ORA-06512: at line 3
Error while processing IREP files, continuing...
Done IREP processing.
Thank you.....Hi Ronald and Hussein,
Thank you for your response.
There are no invalids in my environment.
I am applying R12.1.X: FORMS INTEROPERABILITY PATCH FOR 10.1.2.3 -- 13001977
>>
OS:
SunOS sandebus03 5.10 Generic_147440-01 sun4v sparc SUNW,T5240
>>
RELEASE_NAME
12.1.2
DB:11.2.0.3
>>
SQL> desc fnd_date
FUNCTION ADJUST_DATETIME RETURNS DATE
Argument Name Type In/Out Default?
DATE_TIME DATE IN
FROM_TZ VARCHAR2 IN
TO_TZ VARCHAR2 IN
FUNCTION CANONICAL_TO_DATE RETURNS DATE
Argument Name Type In/Out Default?
CANONICAL VARCHAR2 IN
FUNCTION CHARDATE_TO_DATE RETURNS DATE
Argument Name Type In/Out Default?
CHARDATE VARCHAR2 IN
FUNCTION CHARDT_TO_DATE RETURNS DATE
Argument Name Type In/Out Default?
CHARDT VARCHAR2 IN
FUNCTION DATE_TO_CANONICAL RETURNS VARCHAR2
Argument Name Type In/Out Default?
DATEVAL DATE IN
FUNCTION DATE_TO_CHARDATE RETURNS VARCHAR2
Argument Name Type In/Out Default?
DATEVAL DATE IN
FUNCTION DATE_TO_CHARDT RETURNS VARCHAR2
Argument Name Type In/Out Default?
DATEVAL DATE IN
FUNCTION DATE_TO_DISPLAYDATE RETURNS VARCHAR2
Argument Name Type In/Out Default?
DATEVAL DATE IN
FUNCTION DATE_TO_DISPLAYDT RETURNS VARCHAR2
Argument Name Type In/Out Default?
DATEVAL DATE IN
FUNCTION DATE_TO_DISPLAYDT RETURNS VARCHAR2
Argument Name Type In/Out Default?
DATEVAL DATE IN
NEW_CLIENT_TZ_CODE VARCHAR2 IN
FUNCTION DISPLAYDATE_TO_DATE RETURNS DATE
Argument Name Type In/Out Default?
CHARDATE VARCHAR2 IN
FUNCTION DISPLAYDT_TO_DATE RETURNS DATE
Argument Name Type In/Out Default?
CHARDT VARCHAR2 IN
FUNCTION DISPLAYDT_TO_DATE RETURNS DATE
Argument Name Type In/Out Default?
CHARDT VARCHAR2 IN
NEW_CLIENT_TZ_CODE VARCHAR2 IN
PROCEDURE INITIALIZE
Argument Name Type In/Out Default?
P_USER_MASK VARCHAR2 IN
P_USERDT_MASK VARCHAR2 IN DEFAULT
FUNCTION STRING_TO_CANONICAL RETURNS VARCHAR2
Argument Name Type In/Out Default?
P_STRING VARCHAR2 IN
P_MASK VARCHAR2 IN
FUNCTION STRING_TO_DATE RETURNS DATE
Argument Name Type In/Out Default?
P_STRING VARCHAR2 IN
P_MASK VARCHAR2 IN
PROCEDURE TEST
SQL>
>>
SQL> column rcsid format a35 word
break on name skip 1
SQL> select name,type,substr(text,instr(text,'$Header: ')+9,
instr(text,' ',instr(text,'$Header: '),4)
SQL> 2 3 - instr(text,'$Header: ') - 9) rcsid
4 from all_source
5 where text like '%$Header: %'
6 and name like upper('%%FND_DATE%%') escape '\'
7 order by name
8 , type
9 /
undefine 1
clear breaks
NAME TYPE RCSID
FND_DATE PACKAGE AFDDATES.pls 115.11 2003/10/28
PACKAGE BODY AFDDATEB.pls 120.1 2005/07/02
FND_DATE_TZ PACKAGE AFDATTZS.pls 115.4 2003/10/28
PACKAGE BODY AFDATTZB.pls 115.4 2003/10/28
SQL> SQL> breaks cleared
SQL> -
Getting PLS-00302 component must be declared on callout to web service
- set up callout utility on source db
- created plsql package on target database:
SQL> desc pkgwssignature;
FUNCTION WSSIGNATUREDEV RETURNS NUMBER
Argument Name Type In/Out Default?
P_OPERATION VARCHAR2 IN
P_ID NUMBER IN
P_TOOLNAME VARCHAR2(16) IN
P_BASE_ID VARCHAR2(64) IN
P_BASE_SUBID VARCHAR2(64) IN
P_LABEL VARCHAR2(164) IN
P_NAME VARCHAR2(256) IN
P_DESCRIPTION VARCHAR2(4000) IN
P_ID_INCIDENTTYPE NUMBER IN
P_ID_MODULE NUMBER IN
P_ID_EVENTCLASS NUMBER IN
P_THREATLEVEL NUMBER IN
P_COMMENTS_INTERNAL VARCHAR2(4000) IN
P_PATCHINFO VARCHAR2(4000) IN
- Made the pacakge available as a web service
java -jar $ORACLE_HOME/webservices/lib/wsa.jar -plsqlAssemble -appName
wsSignatureDEV -sql pkgwsSignature -dataSource jdbc/OracleDS -dbConnection
jdbc:oracle:thin:@//10.0.203.161:1521/devseam -dbUser globals/##### -style rpc
-use encoded -jpubProp plsqlload -debug true
- Set up the source db as web service consumer:
jpub -u globals/##### -sysuser sys/#####
-url=jdbc:oracle:thin:@//10.0.203.161:1521/devocdb
-proxywsdl=http://10.0.203.161:8888/wsSignatureDEV/wsSignatureDEV?WSDL
-endpoint=http://10.0.203.161:8888/wsSignatureDEV/wsSignatureDEV -dir=tmp
SQL> desc jpub_plsql_wrapper;
FUNCTION WSSIGNATUREDEV RETURNS NUMBER
Argument Name Type In/Out Default?
POPERATION_ VARCHAR2 IN
PID_ NUMBER IN
PTOOLNAME_ VARCHAR2 IN
PBASEID_ VARCHAR2 IN
PBASESUBID_ VARCHAR2 IN
PLABEL_ VARCHAR2 IN
PNAME_ VARCHAR2 IN
PDESCRIPTION_ VARCHAR2 IN
PIDINCIDENTTYPE_ NUMBER IN
PIDMODULE_ NUMBER IN
PIDEVENTCLASS_ NUMBER IN
PTHREATLEVEL_ NUMBER IN
PCOMMENTSINTERNAL_ VARCHAR2 IN
PPATCHINFO_ VARCHAR2 IN
- try to call the web service:
select
jpub_plsql_wrapper.WSSIGNATUREDEV('INSERT',1,'test','test','test','test','test',
'test',1,null,1,1,'test','test')
from dual;
=> always getting following error:
ERROR at line 2:
ORA-29532: Java call terminated by uncaught Java exception:
java.rmi.RemoteException: java.rmi.ServerException:
start fault message:
Internal Server Error (caught exception while handling request:
java.rmi.RemoteException: java.sql.SQLException: ORA-06550: line 1, column 36:
PLS-00302: component 'WSSIGNATUREDEV' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
:end fault message
Can someome give me an idea where to look/ what I'm missing ? Thanks in advanceTry this ->
CREATE OR REPLACE PROCEDURE D_COMMANDS
IS
PRAGMA AUTONOMOUS_TRANSACTION;
CURSOR CR_MJI_SIN
IS
SELECT sno, cno, iumber
FROM TEST1.m_mca;
C_SUBNO VARCHAR2(20);
C_CARDNO VARCHAR2(12);
C_IMSI_NUMBER VARCHAR2(30);
TRANSNO1 NUMBER(8);
BEGIN
OPEN CR_SMS_SUB;
LOOP
FETCH CR_SMS_SUB INTO C_SUBNO,C_CARDNO,C_IMSI_NUMBER;
EXIT WHEN CR_SMS_SUB%notfound;
SELECT spc_trans.NEXTVAL
INTO TRANSNO1
FROM DUAL;
INSERT INTO EIM_COMMAND_RECORD(SUBSCR_TYPE, AREA, SUBNO, SERORDNO, TRANSNO, EXC, EXCSYSTEM,
PORTNO, SPC_FUNCTION, APPDATE, NXTROUTINE, RETRANSMIT, TRANSSTATUS,
EQUIPID, SOTYPE, CARDNO, CARD_TYPE)
VALUES ( 'G', '0', C_SUBNO, NULL , TRANSNO1, 'GSM1', 'GSM1', '1', 'SERI', sysdate,
'SPC001', 'Y', 10, 'MCA' , 66, C_CARDNO, 'PLI');
INSERT INTO EIM_EXECUTED_COMMANDS ( TRANSNO, CMDNO, COMMAND, TIMEOUT)
VALUES (TRANSNO1, 1, 'ADD MCA FOR '||C_SUBNO||' USING (IMSINO='||C_IMSI_NUMBER||')', 30);
END LOOP;
CLOSE CR_SMS_SUB;
COMMIT;
EXCEPTION
WHEN OTHERS THEN
raise_application_error(-20001,'An error was encountered - '||SQLCODE||' -ERROR- '||SQLERRM);
END;
BEGIN
D_COMMANDS;
END;N.B.: Not Tested....
Regards.
Satyaki De. -
Error compiling PHOTO_ALBUM BODY : "put and GetMetadata must be declared"
ANY IDEAS on THIS -?!!!
I ran the scripts for PL/SQL Web Toolkit Sample Application (10g Release 1) and all was compiled OK for "demouser" except for
PHOTO_ALBUM BODY:
I get the error
Error(470,5): PL/SQL: Statement ignored
Error(470,9): PLS-00302: component 'PUTMETADATA' must be declared
Error(739,7): PL/SQL: Statement ignored
Error(739,26): PLS-00302: component 'GETMETADATA' must be declared
We (me and the sys/adm) cannot figured out why this is happening ---
Could it be a problem of demouser privileges with Intermedia installation?!!
Or a problem to the metadata schema references?!
Please if you have run into this before or have any ideas; any help will be really appreciated -- We've been on this 2 days !----Those undeclared procedures belong to the 10g Release 2 version of the demo.
This link
points to the 10gR2 demo.
<p>
If you are using a 10gR1 database, and you have installed the interMedia component from the companion CD (this contains the interMedia demos as well as the NCOMP libraries for performance - highly recommended) then you can find the 10gR1 version of the photo album demo at $OH/ord/http/demo/ordplsqlwtk -
Error PLS-00302 while importing images
Hello,
I exported the images from the online environment and tried to import the file on a local instance of HTML DB.
Although the script says the export file is COMPATIBLE, it stops with the following error:
ERROR at line 2:
ORA-06550: line 2, column 24:
PLS-00302: component 'G_VARCHAR2_TABLE' must be declared
The failing statement is:
wwv_flow_image_api.g_varchar2_table(1) := '...'
where ... represents a string of hexadecimal values
I ran the script as user FLOWS_010500.
All other scripts ran normally without problems.
Any hints?
Bye,
FlavioFlavio,
You need to apply the recent patch to get you to 1.5.1, then the import should work. Please advise if it does not.
Thanks for pointing this out.
Scott -
PLS-00302: componenet REISTER_PRPAGATOR
Hi,
The following error occured, while running the repadmin user creation script.
Can any one help in rectifying this?
BEGIN dbms_defer_sys.register_propagator('REPADMIN'); END;
ERROR at line 1:
ORA-06550: line 1, column 22:
PLS-00302: component 'REGISTER_PROPAGATOR' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
SQL> exit
Thnk u,
Rgds,
Maha.
nullIf the procedures work from SQL*Plus, then there can't be anything wrong with your databases. Also, Crystal should be able to run any procedure that will run from SQL*Plus, so that leaves the ODBC drivers to look at.
Look at the settings for the ODBC DSN. Is the stored procedure in the logged in user's schema, or in a different schema? The CR ODBC drivers default to looking only in the logged in user's schema. To use a stored procedure in someone else's schema, you must uncheck the "Use Current Schema for SQL Procedures" box.
If this is the case, be aware that when designing a new Crystal Report with that option unchecked, you may have to wait a very long time for the Database Expert to populate and display. Is there some reason that you can't use Crystal's native driver for Oracle. It does not have this problem. -
Hi,
I have selected the Business repository from the Tcode Solar01c, and i can see the list of configuration under Business Scenario,
when i am trying to execute any Tcode,(My understanding is that this Tcode must execute in Development system) it gives the following Error,
" No system Found for Component SAP Learning Solution and Role Evaluation system in project ZPROJ.
In SMSY i have created Two systems Dev :100 and Qas:300 Which are assigned to one logical component whose producted Version in SAP ERP.
Please advise by reviewing above scenario.
Regards,
SMHi Irfanl,
I've had the same issue with regards to getting the error below when assigning transactions to a Blueprint business process.
"No system found for component and Evaluation system in the Project"
But I think I have solved it and seems pretty simple to change the system role from Evaluation System to any other that is relevant in your landscape.
Go to transaction SOLAR01 > Click on the first level of the Project Name (Under Business Blueprint Structure) to select the Project.
Click Business Blueprint in the Menu > System Role > Choose the relevant System Role (in my case Development)
Click Copy
This should replicate to all nodes and then you should be able to assign transaction to the business processes.
Quite strange and seems simple, I checked the Solution Directory, Solar Project Admin etc etc but couldn't find the solution until this which should work.
If not, there is a similar work around which also works.
Go to transaction SOLAR_PROJECT_ADMIN
System Landsacpe Tab
Systems subtab
Click System Role Assignment
Remove the Evaluation System (or all those not relevant to your Project and Logical Components)
Save Project
Go to SOLAR01 and it should reflect it in the Blueprint.
You can always go back to this and add the System Roles you removed and the Blueprint will reference the correct Role.
Hope this helps,
-Rohan -
PLS-00201: identifier 'DBMS_METADATA_DPBUILD' must be declared
Hi There,
Getting following error while executing prvtmetd.plb(Post patch install steps) script after upgrade 11.1.0.7 to 11.2.0.3.
SQL> @@prvtmetd.plb
Warning: Package Body created with compilation errors.
Errors for PACKAGE BODY DBMS_METADATA_DPBUILD:
LINE/COL ERROR
0/0 PL/SQL: Compilation unit analysis terminated
1/14 PLS-00201: identifier 'DBMS_METADATA_DPBUILD' must be declared
1/14 PLS-00304: cannot compile body of 'DBMS_METADATA_DPBUILD'
without its specification
please help me out in this regard.
Regards,What does the error message PLS-00304 tell you? It is self-explanatory, provided you looked it up prior to posting (in your post I see no sign you did).
Look up the error message online and work from there.
Sybrand Bakker
Senior Oracle DBA -
PLS-00630: pipelined functions must have a supported collection return type
Hello, I created an TYPE of OBJECT and a PLSQL Function as shown below, but the function compilation errors with following. Not sure where is the issue?
PLS-00630: pipelined functions must have a supported collection return typeThis is on Oracle 10g r2
CREATE OR REPLACE TYPE cxs_plsql_profiler_object_type AS OBJECT (
cxs_object_name VARCHAR2 (128),
cxs_object_type VARCHAR2 (19),
cxs_object_status VARCHAR2 (7),
cxs_read_execution NUMBER,
cxs_buffer_gets NUMBER,
cxs_disk_reads NUMBER,
cxs_executions NUMBER,
cxs_sorts NUMBER,
cxs_sharable_mem NUMBER,
cxs_address NUMBER,
cxs_hashvalue NUMBER,
cxs_osuser VARCHAR2 (30),
cxs_username VARCHAR2 (30),
cxs_module VARCHAR2 (48),
cxs_machine VARCHAR2 (64),
cxs_status VARCHAR2 (8),
cxs_terminal VARCHAR2 (16),
cxs_percentconsume NUMBER,
cxs_percentrepeat NUMBER,
cxs_plan VARCHAR2 (120),
target_name VARCHAR2 (200),
referenced_name VARCHAR2 (200),
referenced_type VARCHAR2 (200),
targetowner VARCHAR2 (200),
refowner VARCHAR2 (200)
)and here is the API
FUNCTION CXS_GENERATE_PLSQL_PROFILER
RETURN cxs_plsql_profiler_object_type
PIPELINED IS
out_rec cxs_plsql_profiler_object_type ;
plsbatch plsql_batch;
skount integer;
dpendrec depend_tab;
dkount integer;
CURSOR objects
IS
SELECT object_name, object_type
FROM dba_objects
WHERE status = 'VALID'
AND owner NOT IN ('SYS', 'SYSTEM')
AND object_type IN ('PACKAGE', 'PROCEDURE', 'FUNCTION');
CURSOR apis (p_object dba_objects.object_name%TYPE)
IS
SELECT DISTINCT *
FROM (SELECT SUBSTR (a.sql_text, 1, 50) sql_text,
TRUNC
( a.disk_reads
/ DECODE (a.executions,
0, 1,
a.executions
) reads_per_execution,
a.buffer_gets, a.disk_reads, a.executions,
a.sorts, a.sharable_mem, a.address,
a.hash_value, b.osuser, b.username,
b.module, b.machine, b.status, b.terminal,
ROUND
(cxs_db_info.kompute_percentofsql
(a.sharable_mem),
5
) percentkonsume,
cxs_db_info.kount_repeat
(b.osuser,
b.terminal
) percentr,
c.operation explainplan
FROM v$sqlarea a, v$session b, v$sql_plan c
WHERE b.sql_hash_value = a.hash_value
AND b.sql_address = a.address
AND a.hash_value = c.hash_value
AND a.address = c.address
AND b.status = 'ACTIVE'
AND UPPER (a.sql_text) LIKE
'%' || p_object || '%'
AND c.ID = 0
ORDER BY 2 DESC)
WHERE ROWNUM <= 50; --profile option
BEGIN
skount := 0;
dkount := 0;
FOR i IN objects
LOOP
FOR j IN apis (i.object_name)
LOOP
skount := skount + 1;
plsbatch(skount).cxs_object_name := i.object_name;
plsbatch(skount).cxs_object_type := i.object_type;
plsbatch(skount).cxs_object_status := i.object_status;
plsbatch(skount).cxs_read_execution := j.reads_per_execution;
plsbatch(skount).cxs_buffer_gets := j.buffer_gets;
plsbatch(skount).cxs_disk_reads := j.disk_reads;
plsbatch(skount).cxs_executions := j.executions;
plsbatch(skount).cxs_sorts := j.sorts;
plsbatch(skount).cxs_sharable_mem := j.sharable_mem;
plsbatch(skount).cxs_address := j.address;
plsbatch(skount).cxs_hashvalue := j.hashvalue;
plsbatch(skount).cxs_osuser := j.osuser;
plsbatch(skount).cxs_username := j.username;
plsbatch(skount).cxs_module := j.module;
plsbatch(skount).cxs_machine := j.machine;
plsbatch(skount).cxs_status := j.status;
plsbatch(skount).cxs_terminal := j.terminal;
plsbatch(skount).cxs_percentconsume := j.percentconsume;
plsbatch(skount).cxs_percentrepeat := j.percentrepeat;
plsbatch(skount).cxs_plan := j.explainplan;
END LOOP;
FOR dd IN dpend (i.object_name)
LOOP
dkount := dkount + 1;
dependrec (dkount).target_name := dd.NAME;
dependrec (dkount).refname := dd.referenced_name;
dependrec (dkount).reftype := dd.referenced_type;
dependrec (dkount).target_owner := dd.owner;
dependrec (dkount).refowner := dd.referenced_owner;
END LOOP;
END LOOP;
for a in 1..skount loop
out_rec.cxs_object_type := plsbatch(a).object_type;
out_rec.cxs_object_status := plsbatch(a).object_status;
out_rec.cxs_read_execution := plsbatch(a).reads_per_execution;
out_rec.cxs_buffer_gets := plsbatch(a).buffer_gets;
out_rec.cxs_disk_reads := plsbatch(a).disk_reads;
out_rec.cxs_executions := plsbatch(a).executions;
out_rec.cxs_sorts := plsbatch(a).sorts;
out_rec.cxs_sharable_mem := plsbatch(a).sharable_mem;
out_rec.cxs_address := plsbatch(a).address;
out_rec.cxs_hashvalue := plsbatch(a).hashvalue;
out_rec.cxs_osuser := plsbatch(a).osuser;
out_rec.cxs_username := plsbatch(a).username;
out_rec.cxs_module := plsbatch(a).module;
out_rec.cxs_machine := plsbatch(a).machine;
out_rec.cxs_status := plsbatch(a).status;
out_rec.cxs_terminal := plsbatch(a).terminal;
out_rec.cxs_percentconsume := plsbatch(a).percentconsume;
out_rec.cxs_percentrepeat := plsbatch(a).percentrepeat;
out_rec.cxs_plan := plsbatch(a).explainplan;
PIPE ROW(out_rec);
end loop;
for b in 1..dkount loop
out_rec.target_name := dd.NAME;
out_rec.refname := dependrec (b).referenced_name;
out_rec.reftype := dependrec (b).referenced_type;
out_rec.target_owner := dependrec (b).owner;
out_rec.refowner := dependrec (b).referenced_owner;
PIPE ROW(out_rec);
end loop;
RETURN;
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE(DBMS_UTILITY.format_error_backtrace);
DBMS_OUTPUT.PUT_LINE(SQLCODE);
DBMS_OUTPUT.PUT_LINE(SQLERRM);
END; and below are tradtional table types that are used in code above.
TYPE type_plsql_rec IS RECORD (
cxs_object_name VARCHAR2 (128),
cxs_object_type VARCHAR2 (19),
cxs_object_status VARCHAR2 (7),
cxs_read_execution NUMBER,
cxs_buffer_gets NUMBER,
cxs_disk_reads NUMBER,
cxs_executions NUMBER,
cxs_sorts NUMBER,
cxs_sharable_mem NUMBER,
cxs_address NUMBER,
cxs_hashvalue NUMBER,
cxs_osuser VARCHAR2 (30),
cxs_username VARCHAR2 (30),
cxs_module VARCHAR2 (48),
cxs_machine VARCHAR2 (64),
cxs_status VARCHAR2 (8),
cxs_terminal VARCHAR2 (16),
cxs_percentconsume NUMBER,
cxs_percentrepeat NUMBER,
cxs_plan VARCHAR2 (120)
TYPE plsql_batch IS TABLE OF type_plsql_rec
INDEX BY BINARY_INTEGER;
TYPE type_depend_tab IS RECORD (
target_name dba_dependencies.NAME%TYPE,
refname dba_dependencies.referenced_name%TYPE,
reftype dba_dependencies.referenced_type%TYPE,
target_owner dba_dependencies.owner%TYPE,
refowner dba_dependencies.referenced_owner%TYPE
TYPE depend_tab IS TABLE OF type_depend_tab
INDEX BY BINARY_INTEGER;
Thank you for your time in reading this post
RThank you Billy and Saubhik,
I have followed your guidelines and was able to resolve this error. Now, after successfully compiling the code, I attempted to execute it in a following way.
SELECT * FROM TABLE (cxs_generate_plsql_profiler);It gives following error: ORA-00904: "CXS_GENERATE_PLSQL_PROFILER": invalid identifier
I also tried putting in quotes like below
SELECT * FROM TABLE ('cxs_generate_plsql_profiler');Then, it gives following error:
ORA-22905: cannot access rows from a non-nested table item
Any Idea where I am doing wrong?
Thanks,
R
Maybe you are looking for
-
How can I update my iphone 4 to iOS6.1.6 from iOS6.1.3 and not iOS7.0.6? Currently in iTunes, I can only do software update to IOS7.0.4.
-
Hi, My ant task which pre-compiles jsp pages using ojspc tool now falls with following error (osjpc task output): ojspc: [ojspc] Starting translation on 221 files... [ojspc] Parse error in WEB-INF\tiles\NavigationMenu.jsp: [ojspc] oracle.jsp.parse.Js
-
HP Deskjet 1000 J110 Series Printer
When I try to print something, I get an error message on my HP computer saying: "Printer in an error state." The pop-up window for the printing process lists: "Status: Error - No Toner/Ink." I have just had both ink cartridges refilled, so I'm at a
-
Installation problems - Vise software probs + Other problems with 10.4.11
I've posted elsewhere on the forum about this but wanted to try another tack. I have recently hit the automatic update button (having left it a year) when promted and let the Mac go and get the updates - including a firmware update. Then the problems
-
Error displaying the layout tab
Hi, As I tried to open the layout tab,while creating a new view , its generarting an error " Error in the HTML control preview is deactivated". How do I resolve it?