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
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. -
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> -
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 -
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. -
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 -
Component "Item_name" must be declare
I created a cursor but showing error: at bold text
Declare
CURSOR post_item
IS
SELECT ALL SUBPOGENERAL.ITEM_CODE, SUBPOGENERAL.ITEM_DESC,
SUBPOGENERAL.QUANTITY, ITEM.ITEM_NAME, ITEM.ITEM_DESC
FROM SUBPOGENERAL, ITEM
WHERE SUBPOGENERAL.ITEM_CODE = ITEM.ITEM_CODE
and subpogeneral.poNO=:rcgeneral.PoNO ;
--select item_code,item_desc,Quantity
--from subpogeneral
-- WHERE subpogeneral.poNO=:rcgeneral.PoNO ;
kitemc subpogeneral.item_code%TYPE;
kitemd subpogeneral.item_desc%TYPE;
kqty subpogeneral.quantity%TYPE;
kitemn ITEM.ITEM_NAME%type;
BEGIN
GO_ITEM('subrcgeneral.item_code');
OPEN POST_item;
LOOP
FETCH POST_item INTO
kitemc,kitemn,kitemd,kqty;
EXIT WHEN POST_item%NOTFOUND;
GO_ITEM('subrcgeneral.item_code');
CREATE_RECORD;
:subrcgeneral.item_code := Kitemc;
:subrcgeneral.item_name := Kitemn;
:subrcgeneral.item_desc := Kitemd;
:subrcgeneral.qty := kqty;
END LOOP;
CLOSE POST_item;
end;
Error : Component "Item_name" must be declaredon't use reserved words for columnnames. That's the problem
-
Calling Sql Procedure from data template
Hello,
I am facing problem to call a stored procedure which inserts data into DB when a report is generated.
I tried to use data trigger before report, It did not call the procedure nor it gave any error.
I looked into thread dataTrigger beforeReport doesn't fire
and used the defaultPackage = "SEQUENCE_NUMBER", I am getting error parameter not declared
listing all the parameters declared in my XML.
Below is my data template
<dataTemplate name="HURDetail" dataSourceRef="BRM_DATA_SOURCE">
<parameters>
<parameter name="PARAM_REPORT_TYPE" dataType="character" defaultValue="%"/>
<parameter name="PARAM_ROAMING_PART_NAME" dataType="character" defaultValue="%"/>
<parameter name="PARAM_START_DATE" dataType="character"/>
<parameter name="PARAM_END_DATE" dataType="character"/>
</parameters>
<dataQuery>
<sqlStatement name="Q1">
<![CDATA[
SELECT
"EVENT_DLAY_SESS_TLCS_T"."SECONDARY_MSID" as MSID,
MIN("EVENT_T"."START_T") DFC,
MAX("EVENT_T"."START_T") DATE_LAST_CALL,
COUNT ("EVENT_DLAY_SESS_TLCS_T"."SECONDARY_MSID") NC,
TO_CHAR( SUM("EVENT_BAL_IMPACTS_T"."AMOUNT_ORIG"),'FM000000000.000') SDR,
"EVENT_DLAY_SESS_TLCS_T"."SVC_CODE" as SVC_CODE,
"IFW_EXCHANGE_RATE"."TO_CURRENCY" as CURR,
"IFW_EXCHANGE_RATE"."EXCHANGE_RATE" as EXC_RATE
FROM
((((SERVICE_T "SERVICE_T" INNER JOIN SERVICE_ALIAS_LIST_T "SERVICE_ALIAS_LIST_T" ON
"SERVICE_T"."POID_ID0" = "SERVICE_ALIAS_LIST_T"."OBJ_ID0")
INNER JOIN (EVENT_DLAY_SESS_TLCS_T "EVENT_DLAY_SESS_TLCS_T" INNER JOIN EVENT_T "EVENT_T" ON
"EVENT_DLAY_SESS_TLCS_T"."OBJ_ID0" = "EVENT_T"."POID_ID0") ON
"SERVICE_T"."POID_ID0" = "EVENT_T"."SERVICE_OBJ_ID0")
INNER JOIN EVENT_BAL_IMPACTS_T "EVENT_BAL_IMPACTS_T" ON
"EVENT_T"."POID_ID0" = "EVENT_BAL_IMPACTS_T"."OBJ_ID0")
INNER JOIN CONFIG_BEID_BALANCES_T "CONFIG_BEID_BALANCES_T" ON
"EVENT_BAL_IMPACTS_T"."RESOURCE_ID" = "CONFIG_BEID_BALANCES_T"."REC_ID")
INNER JOIN IFW_EXCHANGE_RATE "IFW_EXCHANGE_RATE" ON
"CONFIG_BEID_BALANCES_T"."BEID_STR_CODE" = "IFW_EXCHANGE_RATE"."FROM_CURRENCY"
WHERE (
("EVENT_T"."START_T">=bipext.infstrtotimet(:PARAM_START_DATE,2) AND
"EVENT_T"."START_T"<=bipext.infstrtotimet(:PARAM_END_DATE,2)-1) AND
"SERVICE_ALIAS_LIST_T"."NAME" = :PARAM_ROAMING_PART_NAME AND
"EVENT_T"."SERVICE_OBJ_TYPE" = '/service/settlement/roaming/outcollect' AND
"EVENT_T"."POID_TYPE" = '/event/delayed/session/telco/gsm/roaming' AND
"IFW_EXCHANGE_RATE"."TO_CURRENCY" = 'EUR' AND
bipext.infCheckDates(:PARAM_START_DATE, :PARAM_END_DATE) = 1
]]>
</sqlStatement>
</dataQuery>
<dataTrigger name="beforeReport" source="SEQUENCE_NUMBER.Seq_Num_Gen_Proc(:PARAM_START_DATE, :PARAM_END_DATE, :PARAM_ROAMING_PART_NAME, :PARAM_REPORT_TYPE)"/>
<datastructure>
<group name="Q1" source="Q1">
<element name="MSID" value="MSID"/>
<element name="DFC" value="DFC"/>
<element name="DATE_LAST_CALL" value="DATE_LAST_CALL"/>
<element name="NC" value="NC"/>
<element name="DC_HHHMMSS" value="DC_HHHMMSS"/>
<element name="SDR" value="SDR"/>
<element name="SVC_CODE" value="SVC_CODE"/>
<element name="CURR" value="CURR"/>
<element name="EXC_RATE" value="EXC_RATE"/>
</group>
</datastructure>
</dataTemplate>
Please suggest, How to call a stored procedure1. Does dataTrigger triggers the procedure only when we execute the report and not when we just view the report ?
2.If I add defaultPackage="HUR_Seq_NUM" in my template I get the error
ORA-06550: line 2, column 13:
PLS-00302: component 'PARAM_REPORT_TYPE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
ORA-06550: line 3, column 13:
PLS-00302: component 'PARAM_ROAMING_PART_NAME' must be declared
ORA-06550: line 3, column 1:
PL/SQL: Statement ignored
ORA-06550: line 4, column 13:
PLS-00302: component 'PARAM_START_DATE' must be declared
ORA-06550: line 4, column 1:
PL/SQL: Statement ignored
ORA-06550: line 5, column 13:
PLS-00302: component 'PARAM_END_DATE' must be declared
ORA-06550: line 5, column 1:
PL/SQL: Statement ignored -
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. -
Components must be declared error
Hi all,
I am facing problem in defining parameters in DT.
I have made 2 parameters named var1 and var 2 in DT correspondingly in XDO and Package also.
but when i am Viewing the Data in my report i get,Error like :
The report cannot be rendered because of an error, please contact the administrator.
Error Detail
ORA-06550: line 2, column 17:
PLS-00302: component 'VAR1' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
ORA-06550: line 3, column 17:
PLS-00302: component 'VAR2' must be declared
ORA-06550: line 3, column 1:
PL/SQL: Statement ignored
Following is my DT and Package spec and body.
Data Template:
<dataTemplate DataSourceRef="new_dsn" name="report" description="report" defaultPackage="PK_REPORT_NEW">
<parameters>
<parameter name="VAR1" dataType="character" defaultValue=""/>
<parameter name="VAR2" dataType="character" defaultValue=""/>
</parameters>
<dataQuery>
<sqlStatement name="Q1">
select PK_REPORT_NEW.FUNC_REPORT('10','20') from dual
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="report" source="Q1">
<element name="name" value="name"/>
<element name="designation" value="design"/>
<element name="salary" value="salary"/>
</group>
</dataStructure>
</dataTemplate>
Package Specification :
CREATE OR REPLACE PACKAGE "PK_REPORT_NEW" AS
FUNCTION FUNC_REPORT( var1 varchar2,var2 varchar2) RETURN CV_TYPES.GENTYPE;
END;
Package Body:
CREATE OR REPLACE PACKAGE BODY "PK_REPORT_NEW" AS
function FUNC_REPORT( var1 varchar2,var2 varchar2)
return cv_types.gentype as
CURSNAME CV_TYPES.GENTYPE;
BEGIN
BEGIN
OPEN CURSNAME FOR
SELECT name,var1,
var2,
FROM global_tab
END;
RETURN cursname;
end FUNC_REPORT;
END;
Please help, its Urgent.Thanks in advance
With regards,Use of a higher version of the expdp utility than the target database is know to result in this error.
See Oracle support document: PLS-00302-SET_NO_OUTLINES must be declared When Using 10.2 Export Utility #339062.1
Otherwise the target database Oracle version, utility version, and platform information is probably necessary to find the issue.
HTH -- Mark D Powell --
Maybe you are looking for
-
Download Helper Screen Capture worked to capture video if the default "no audio" option is active. But, no audio. The "speakers" or "microphone" audio options are confusing....the audio to be captured is from the video, so what do you choose? With ei
-
If iPhone 4 is bad hardware, will a new phone be exchanged for this one?
After reading all the problems people are experiencing with the iPhone 4, I still have hope and have yet to give my final judgement on it's competence. I will tell you that I too have been experiencing the same signal issues and dropped calls, even w
-
[SOLVED]ADF BC/JSF-how to execute a "ExecuteWithParams" from a b.-bean?
Hello everyone. I am new to ADF BC/JSF web apps. and I have a situation where I have a form that inserts a record into the DB, the page has a backing bean attached to it and the "create" button on the form is attached to a method called "grabarButton
-
Hi I have an iPod video 30GB. Currently I am a windows XP user so it is formatted for that. However, I am considering buying a MAC. I was wondering how this would affect my iPod. I presume it will have to be re-formatted. How will this affect any mus
-
Error while installing oracle9.2 on linux84 - file format not recongnised
Trying to install oracle 9.2.0.4 on linux84 box and getting error while triggering make file : ins_sqlplus.mk. Error is with object file : safiimfg.o file format not recognised. What i am missing here ?