Problem in activating datasource Invalid datatype LCHR
Hi,
i have created a zextractor (generic) from View in rso2.I have taken a field URL_ADDR in datasource of type LCHR which is coming from table ADR12.But when i m replicating it in dev system(RSA1) its giving me an error as" Field URI_ADDR ( Position 7 ): invalid data type LCHR.
Plz guide.
Thanks,
Sreeni
Ya, I got that info basically am an ABAPer... i need to solve this issue. in table its length is 2k+ of type LCHAR. Does any one know how can i take the URL from table[am sure in actual, data won't be of length 2k+] and push in to my Info object of length 60 or... do you people know any other workaround.
Help me...
Lots of Regards
Sreeni
Similar Messages
-
Debugger problem while activating Datasource in BW 7.4 Sysytem
Hi All.
I am getting very strange problem on BI 7.4. Whenever I try to activate datasource, I get the debugger launched up in a separate window. I have to manually Step Over the code (F6) each time for about 2-3 minutes. Then on the original window, I get message that Datasource is activated.
However the second debug window is still open with an hourglass. I have to manually STOP TRANSACTION and close that window.
If I dont Step Over the code then my datasource does not get activated so I have to do this step.
What could be causing this frustrating problem. Is there a way to disable this debugger..Hi Ram,
Thanks for your inputs.
still my problem not resolved. Not only data source even if I tried to activate transformation, DTP which installed from BI content & custom DTP also getting same problem.
This is not upgraded one, as freshly installed BW 7.4 and couple of hours before only established RFC connection b/w ECC & BW dev systems.
As per this version all BI content components were installed by basis team. -
Debugger problem while activating Datasource..
Hi All.
I am getting very strange problem on BI 7.0. Whenever I try to activate datasource, transformation, DTP or Replicate metadata, I get the debugger launched up in a separate window. I have to manually Step Over the code (F6) each time for about 2-3 minutes. Then on the original window, I get message that Datasource is activated.
However the second debug window is still open with an hourglass. I have to manually STOP TRANSACTION and close that window.
If I dont Step Over the code then my datasource does not get activated so I have to do this step.
What could be causing this frustrating problem. Is there a way to disable this debugger..Hi Phunet,
Just wondering ..
Is that any debugging command there ?
If yes, i think you need to remove that command ..
Hopefully it can help you a lot .
Regards,
Niel
thanks for the points you choose to assign. -
Problem in activating datasource after replication from source system
Hi Experts,
After replication of data sources from source system ,I get all data sources inactive. I tried to make it active manually but every time I get
Syntax error in GP_ERR_RSAPTD1, row 27 (-> long text)
Message no. RG102
Diagnosis
Field "/BIC/CCZVBAK2031" is unknown. It is neither in one of the
specified tables nor defi...
How do I go about solving this problem....Any advise please...Hello,
You do not mention your source system release but can you execute the check report
described in the SAP note 493422 , if this does not resolve the problem can you goto
RSA1, right click on the relevant "source system" and choose the "restore" option,
then please try and replicate and activate the datasource again.
If you have BW release 7.0 please check that the note 929751is applied in your system
or that you are on a higher support package level.
If there is still a problem please le me know your BW Release and Support package level.
Best Regards,
Des -
Problem with activating datasource in BI7
i am using BI7 and ECC6. iwas generating data source using genrice view.....
when i replicate in BI i find the data source but i find it activation icon disabled.
how can i activate the data source please guideHi Satish,
If it is standard DS, you should be able to find it in RSA5. If it is a Generic Datasource, goto RSA6 trans in source system. Click the cursor on main node. Then Click on Expand(Top left button)> Now search for your DS. Once u find it, select change DS> Activate DS.
Then in BW system as you are alreday able to see the DS> Right click> Replicate Metadata--> goto Change mode --> Activate. Then you will have to activate your transformations as well.
Hope it helps!
Regards,
Pavan -
Problem in activating datasource in rsa5
hai when i tried to activate business content in rsa5 with package and request number it is displaying as changes to repository or cross client customizing are not permitted and when i went for help it is displaying as invalid call sequence for interfaces when recording changes,can you please tell how to rectify this.
Ya, I got that info basically am an ABAPer... i need to solve this issue. in table its length is 2k+ of type LCHAR. Does any one know how can i take the URL from table[am sure in actual, data won't be of length 2k+] and push in to my Info object of length 60 or... do you people know any other workaround.
Help me...
Lots of Regards
Sreeni -
Install problem olite NoClassDefFoundError: javax/activation/DataSource
Hello,
I ran into an installation problem with the Oracle BPEL PM server. Though the installation completed successfully during startup of the server the following error occurs (part of log, complete log follows):
XXXXXXXXXXXXXXX
<2004-12-11 16:22:45,959> <ERROR> <default.collaxa.cube> <ServerManager::handleInitException> Error while initializing java class "javax/activation/DataSource".
Java class "javax/activation/DataSource" cannot be found. Check if class "javax
/activation/DataSource" package is in your classpath.
<2004-12-11 16:22:45,959> <ERROR> <default.collaxa.cube> <ServerManager::handleInitException>
Failed to load OraBPEL Process "default" domain because:
javax/activation/DataSource
<ServerManager::loadAllDomains>
ORABPEL START-UP ERROR!!!!!
XXXXXXXXXXXXXXXXXXX
It seems to happen because of the following exception:
XXXXXXXXXXXXXXXXXXX
java.lang.NoClassDefFoundError: javax/activation/DataSource
XXXXXXXXXXXXXXXXXXX
On another WinXP-System everything is fine.
I already had a default Oracle Lite Installation on my machine through Mobile Development Kit when installing BPEL PM Server. So I think there is a conflict between the two OLite DB... (Unfortunately I really need the first installation of OLite).
When I tried to reach the bpel-OLite DB through msql everything is fine. I can address the orapbel schema either with the ODBC-DSN syntax or the syntax which uses the olsv2040 adaptor service.
I checked ODBC.ini, ODBCinst.ini and polite.ini - they are configured as mentioned in another forum thread.
The classpath seems to be correct as shown by the log (following). The class javax/activation/DataSource is in orapbel.jar - this archive is in the classpath. Perhaps the signature of the executed method doesn't fit with two concurrent olite DB on the system...
Does somebody has an idea what's wrong with my configuration?
I appreciate any suggestion.
Thank you very much!
Florian Werner
University Tuebingen, Germany
STARTUP LOG OF BPEL SERVER:
04/12/11 16:22:35 Application default (default) initialized...
04/12/11 16:22:35 Binding EJB CubeEngineBean to ejb/collaxa/system/CubeEngineBea
n...
04/12/11 16:22:35 Binding EJB DispatcherBean to ejb/collaxa/system/DispatcherBea
n...
04/12/11 16:22:35 Binding EJB InvokeSenderBean to ejb/collaxa/system/InvokeSende
rBean...
04/12/11 16:22:35 Binding EJB ServerBean to ejb/collaxa/system/ServerBean...
04/12/11 16:22:35 Binding EJB DeliveryBean to ejb/collaxa/system/DeliveryBean...
04/12/11 16:22:35 Binding EJB MessageBean to ejb/collaxa/system/MessageBean...
04/12/11 16:22:35 Binding EJB InstanceKeyGenerator to ejb/collaxa/system/Instanc
eKeyGenerator...
04/12/11 16:22:35 Binding EJB DomainManagerBean to ejb/collaxa/system/DomainMana
gerBean...
04/12/11 16:22:35 Binding EJB FinderBean to ejb/collaxa/system/FinderBean...
04/12/11 16:22:35 Binding EJB ProcessManagerBean to ejb/collaxa/system/ProcessMa
nagerBean...
04/12/11 16:22:35 Binding EJB InstanceManagerBean to ejb/collaxa/system/Instance
ManagerBean...
04/12/11 16:22:35 Binding EJB ActivityManagerBean to ejb/collaxa/system/Activity
ManagerBean...
04/12/11 16:22:35 Binding EJB ArchiveManagerBean to ejb/collaxa/system/ArchiveMa
nagerBean...
04/12/11 16:22:35 Binding EJB PresentationManagerBean to ejb/collaxa/system/Pres
entationManagerBean...
04/12/11 16:22:35 Binding EJB TaskManagerBean to ejb/collaxa/system/TaskManagerB
ean...
04/12/11 16:22:35 Binding EJB TransactionManagerBean to ejb/collaxa/system/Trans
actionManagerBean...
04/12/11 16:22:35 Binding EJB TransactionViewManagerBean to ejb/collaxa/system/T
ransactionViewManagerBean...
04/12/11 16:22:35 Binding EJB CubeFinderBean to ejb/collaxa/system/CubeFinderBea
n...
04/12/11 16:22:35 Binding EJB TransactionFinderBean to ejb/collaxa/system/Transa
ctionFinderBean...
04/12/11 16:22:36 Application orabpel (Collaxa Web Applications) initialized...
04/12/11 16:22:38 Web-App default:defaultWebApp (0.0.0.0/0.0.0.0:9700/) started.
04/12/11 16:22:38 Building Global TagLibrary Persistent Cache
04/12/11 16:22:38 Looking for global resource at C:\orabpel\system\appserver\oc4
j\j2ee\home\config\..\jsp\lib\taglibDone getting application current resources
04/12/11 16:22:38 Done initializing cache
04/12/11 16:22:38 Refreshing global cache - from existing cache ...
04/12/11 16:22:38 Building Application TagLibrary Persistent Cache for defaultWe
bApp
04/12/11 16:22:38 Done getting application current resources
04/12/11 16:22:38 Done initializing cache
04/12/11 16:22:38 Refreshing application cache - from existing cache ...
04/12/11 16:22:38 Found 0 listeners
04/12/11 16:22:38 Web-App orabpel:admin_war (0.0.0.0/0.0.0.0:9700/BPELAdmin) sta
rted...
04/12/11 16:22:38 Building Application TagLibrary Persistent Cache for admin_war
04/12/11 16:22:38 Done getting application current resources
04/12/11 16:22:38 Done initializing cache
04/12/11 16:22:38 Refreshing application cache - from existing cache ...
04/12/11 16:22:38 Found 0 listeners
04/12/11 16:22:38 Web-App orabpel:console_war (0.0.0.0/0.0.0.0:9700/BPELConsole)
started...
04/12/11 16:22:38 Building Application TagLibrary Persistent Cache for console_w
ar
04/12/11 16:22:38 Done getting application current resources
04/12/11 16:22:38 Done initializing cache
04/12/11 16:22:38 Refreshing application cache - from existing cache ...
04/12/11 16:22:38 Found 0 listeners
04/12/11 16:22:38 Web-App orabpel:startup_war (0.0.0.0/0.0.0.0:9700/orabpel) sta
rted...
04/12/11 16:22:38 Building Application TagLibrary Persistent Cache for startup_w
ar
04/12/11 16:22:38 Done getting application current resources
04/12/11 16:22:38 Done initializing cache
04/12/11 16:22:38 Refreshing application cache - from existing cache ...
04/12/11 16:22:38 Found 0 listeners
<ServerManager::__init>
Oracle BPEL Server version 2.0.10
Build: 2004.08.26.19.51
Build time: Thu Aug 26 19:51:38 PDT 2004
Build type: release
<ServerDescriptor::validateCompatibility> Detected server descriptor version '2.
0.1'
<BaseJDKAdaptor::initAdaptor>
JVM properties
Java version: 1.4.2_04, Sun Microsystems Inc.
Java Home: C:\j2sdk1.4.2_04\jre
Java VM: Java HotSpot(TM) Client VM 1.4.2_04-b05, Sun Microsystems Inc
OS-System: Windows XP 5.1, x86
System Class path: oc4j.jar;C:\orabpel\system\appserver\oc4j\j2ee\home
\lib/ejb.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\lib/servlet.jar;C:\orabp
el\system\appserver\oc4j\j2ee\home\lib/ojsp.jar;C:\orabpel\system\appserver\oc4j
\j2ee\home\lib/jndi.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\lib/jdbc.jar;
C:\orabpel\system\appserver\oc4j\j2ee\home\iiop.jar;C:\orabpel\system\appserver\
oc4j\j2ee\home\iiop_gen_bin.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\lib/j
ms.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\lib/jta.jar;C:\orabpel\system\
appserver\oc4j\j2ee\home\lib/jmxri.jar;C:\orabpel\system\appserver\oc4j\j2ee\hom
e\lib/javax77.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\lib/javax88.jar;C:\
orabpel\system\appserver\oc4j\j2ee\home\../../opmn/lib/ons.jar;C:\orabpel\system
\appserver\oc4j\j2ee\home\../../opmn/lib/optic.jar;C:\orabpel\system\appserver\o
c4j\j2ee\home\../../lib/dms.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\../..
/dms/lib/dms.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\lib/connector.jar;C:
\orabpel\system\appserver\oc4j\j2ee\home\lib/cos.jar;C:\orabpel\system\appserver
\oc4j\j2ee\home\lib/jsse.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\../../or
acle/lib/jsse.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\lib/jnet.jar;C:\ora
bpel\system\appserver\oc4j\j2ee\home\lib/jcert.jar;C:\orabpel\system\appserver\o
c4j\j2ee\home\lib/activation.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\lib/
mail.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\../../javavm/lib/jasper.zip;
C:\orabpel\system\appserver\oc4j\j2ee\home\../../lib/xmlparserv2.jar;C:\orabpel\
system\appserver\oc4j\j2ee\home\../../oracle/lib/xmlparserv2.jar;C:\orabpel\syst
em\appserver\oc4j\j2ee\home\lib/jaxp.jar;C:\orabpel\system\appserver\oc4j\j2ee\h
ome\lib/jaas.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\jazn.jar;C:\orabpel\
system\appserver\oc4j\j2ee\home\../../jdbc/lib/classes12dms.jar;C:\orabpel\syste
m\appserver\oc4j\j2ee\home\../../oracle/jdbc/lib/classes12dms.jar;C:\orabpel\sys
tem\appserver\oc4j\j2ee\home\../../jdbc/lib/nls_charset12.jar;C:\orabpel\system\
appserver\oc4j\j2ee\home\../../oracle/jdbc/lib/nls_charset12.jar;C:\orabpel\syst
em\appserver\oc4j\j2ee\home\jaxb-rt-1.0-ea.jar;C:\orabpel\system\appserver\oc4j\
j2ee\home\../../soap/lib/soap.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\../
../webservices/lib/wsserver.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\../..
/webservices/lib/wsdl.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\../../rdbms
/jlib/aqapi.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\lib/jem.jar;C:\orabpe
l\system\appserver\oc4j\j2ee\home\../../javacache/lib/cache.jar;C:\orabpel\syste
m\appserver\oc4j\j2ee\home\lib/http_client.jar;C:\orabpel\system\appserver\oc4j\
j2ee\home\../../jlib/jssl-1_1.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\../
../oracle/jlib/jssl-1_1.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\../../jli
b/repository.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\../../oracle/jlib/re
pository.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\lib/jaasmodules.jar;C:\o
rabpel\system\appserver\oc4j\j2ee\home\../../sqlj/lib/runtime12ee.jar;C:\orabpel
\system\appserver\oc4j\j2ee\home\../../sqlj/lib/translator.jar;C:\orabpel\system
\appserver\oc4j\j2ee\home\lib/crimson.jar;;C:\orabpel\system\classes;C:\orabpel\
lib\saxon_7.9.jar;C:\orabpel\lib\orabpel-external.jar;C:\orabpel\lib\orabpel.jar
;C:\orabpel\lib\orabpel-common.jar;C:\orabpel\lib\orabpel-ant.jar;C:\j2sdk1.4.2_
04\lib\tools.jar;C:\orabpel\lib\commons-httpclient-2.0.jar;C:\orabpel\lib\olite4
0.jar;C:\orabpel\lib\ant_1.5.4.jar;C:\orabpel\lib\xmlparserv2.jar;C:\orabpel\sys
tem\appserver\oc4j\j2ee\home\applib;C:\orabpel\system\appserver\oc4j\sqlj\lib;C:
\orabpel\system\appserver\oc4j\rdbms\jlib\xsu12.jar;C:\orabpel\system\appserver\
oc4j\lib\dsv2.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\jsp\lib\taglib;C:\o
rabpel\system\appserver\oc4j\j2ee\home\jsp\lib\taglib\jaxen-full.jar;C:\orabpel\
system\appserver\oc4j\j2ee\home\jsp\lib\taglib\ojsputil.jar;C:\orabpel\system\ap
pserver\oc4j\j2ee\home\jsp\lib\taglib\saxpath.jar;C:\orabpel\system\appserver\oc
4j\j2ee\home\jsp\lib\taglib\standard.jar;C:\orabpel\system\appserver\oc4j\j2ee\h
ome\applications\orabpel_ear\ejb_ob_engine.jar;C:\orabpel\system\appserver\oc4j\
j2ee\home\application-deployments\orabpel\ejb_ob_engine.jar\deployment.cache;
<BasePlatformAdaptor::registerShutdownHook> Registered shutdown hook for olite
<ConnectionFactoryImpl::init> Initialized connection factory jdbc/BPELServerData
Source
<ConnectionFactoryImpl::init> Initialized connection factory jdbc/BPELServerData
Source
<ServerManager::__init> Detected datasource 'olite'
<ServerAdaptorManager::init> Initialized adaptors for platform 'oc4j_10g'
<ServerManager::loadAllDomains> Loading all domains under C:\orabpel\domains
<DomainDescriptor::validateCompatibility> Detected domain descriptor version '2.
0.5'
<2004-12-11 16:22:45,028> <INFO> <default.collaxa.cube> <ServerManager::loadDoma
in>
Oracle BPEL Server version 2.0.10
Build: 2004.08.26.19.51
Build time: Thu Aug 26 19:51:38 PDT 2004
Build type: release
<2004-12-11 16:22:45,138> <INFO> <default.collaxa.cube.engine> <CubeEngine::load
>
Initializing BPEL domain from descriptor file
"C:\orabpel\domains\default\config\domain.xml"
<ConnectionFactoryImpl::init> Initialized connection factory jdbc/BPELServerData
Source
<ConnectionFactoryImpl::init> Initialized connection factory jdbc/BPELServerData
Source
<2004-12-11 16:22:45,368> <INFO> <default.collaxa.cube.engine> <BaseDatabaseAdap
tor::validateCompatibility> Detected database version '2.0.29'
<2004-12-11 16:22:45,378> <INFO> <default.collaxa.cube.engine> <AdaptorManager::
init> Initialized adaptors for platform 'oc4j_10g', datasource 'olite'
<2004-12-11 16:22:45,959> <ERROR> <default.collaxa.cube> <ServerManager::handleI
nitException> Error while initializing java class "javax/activation/DataSource".
Java class "javax/activation/DataSource" cannot be found. Check if class "javax
/activation/DataSource" package is in your classpath.
<2004-12-11 16:22:45,959> <ERROR> <default.collaxa.cube> <ServerManager::handleI
nitException>
Failed to load OraBPEL Process "default" domain because:
javax/activation/DataSource
<ServerManager::loadAllDomains>
ORABPEL START-UP ERROR!!!!!!!!
OraBPEL run-time system failed to start due to exception:
Exception not handled by the Collaxa Cube system.
An unhandled exception has been thrown in the Collaxa Cube system. The exception
reported is: "java.lang.NoClassDefFoundError: javax/activation/DataSource
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory.class$(J
AFDataHandlerSerializerFactory.java:76)
at org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory.getSeria
lizerClass(JAFDataHandlerSerializerFactory.java:85)
at org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory.<init>(J
AFDataHandlerSerializerFactory.java:73)
at org.apache.axis.encoding.DefaultTypeMappingImpl.<init>(DefaultTypeMap
pingImpl.java:154)
at org.apache.axis.encoding.DefaultTypeMappingImpl.<init>(DefaultTypeMap
pingImpl.java:130)
at org.apache.axis.encoding.DefaultTypeMappingImpl.getSingleton(DefaultT
ypeMappingImpl.java:124)
at com.collaxa.cube.engine.deployment.TypeSoapRegistry.registerHeaderTyp
es(TypeSoapRegistry.java:269)
at com.collaxa.cube.engine.deployment.TypeSoapRegistry.load(TypeSoapRegi
stry.java:101)
at com.collaxa.cube.engine.core.TypeRegistry.load(TypeRegistry.java:121)
at com.collaxa.cube.engine.CubeEngine.__load(CubeEngine.java:522)
at com.collaxa.cube.engine.CubeEngine.load(CubeEngine.java:452)
at com.collaxa.cube.admin.ServerManager.loadDomain(ServerManager.java:91
9)
at com.collaxa.cube.admin.ServerManager.loadAllDomains(ServerManager.jav
a:733)
at com.collaxa.cube.admin.ServerManager.init(ServerManager.java:92)
at com.collaxa.cube.beans.ServerBean.init(ServerBean.java:202)
at IServerBean_StatelessSessionBeanWrapper14.init(IServerBean_StatelessS
essionBeanWrapper14.java:79)
at com.collaxa.cube.admin.CXLoaderServlet.init(CXLoaderServlet.java:59)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.
java:2094)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.
java:4523)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpAppl
ication.java:4617)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
java:765)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
497)
at com.evermind.server.Application.getHttpApplication(Application.java:8
86)
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
a:688)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:570)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:263)
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:259)
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:160)
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServe
r.java:2325)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.jav
a:1498)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLa
uncher.java:93)
at java.lang.Thread.run(Thread.java:534)
Exception: java.lang.NoClassDefFoundError: javax/activation/DataSource
Handled As: com.collaxa.cube.engine.EngineInitializationException
04/12/11 16:22:46 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)
initializedHello Erwin,
thank you for your fast reply.
I'll try to switch to 9i/10g.
In migrating perhaps also I will use the Designer as standalone tool on the client and connecting to iAS on another machine where I could integrate the BPEL Engine.
That means integrating BPEL in our architecture.
Regards Florian -
Table(cast - invalid datatype problem
Hi All,
Basic scenario:
PACKAGE
create or replace
PACKAGE C2_PAYMENT_DOC IS
TYPE bin_array IS TABLE OF NUMBER
INDEX BY BINARY_INTEGER;
FUNCTION test_fun(l_doc_id IN integer) RETURN bin_array;
PACKAGE_BODY
create or replace
package body C2_PAYMENT_DOC as
FUNCTION test_fun (l_doc_id IN integer) RETURN bin_array IS
l_gross bin_array;
begin
c2_purchase_invoice.get_inv_gross_amount(l_doc_id, l_gross(1));
return l_gross;
end;
END;
QUERY
select * from Table(Cast(c2_payment_doc.test_fun(1) As bin_array));
Result of the query is ORA-00902: invalid datatype
How can I make the select statement valid?
Thanks in advance,
BartekYou can not use local collection types in SQL. You must create type bin_array as SQL nested table type. Also, depending on version you might not need to cast:
SQL> CREATE OR REPLACE
2 TYPE bin_array
3 AS TABLE OF NUMBER
4 /
Type created.
SQL> create or replace
2 PACKAGE C2_PAYMENT_DOC IS
3 FUNCTION test_fun(l_doc_id IN integer) RETURN bin_array;
4 end;
5 /
Package created.
SQL> create or replace
2 package body C2_PAYMENT_DOC as
3
4 FUNCTION test_fun (l_doc_id IN integer) RETURN bin_array IS
5 l_gross bin_array := bin_array();
6 begin
7 l_gross.extend;
8 l_gross(1) := l_doc_id;
9 return l_gross;
10 end;
11 END;
12 /
Package body created.
SQL> select * from Table(Cast(c2_payment_doc.test_fun(1) As bin_array));
COLUMN_VALUE
1
SQL> select * from Table(c2_payment_doc.test_fun(1))
2 /
COLUMN_VALUE
1
SQL> SY. -
Inconsistency while activating Datasource
Hi Experts,
I have a problem when activating my datasource in Sandbox system.
Error message says .
Inconsistent user object 3FI_GL_I1_TT AGS100 for PSA /BIC/B0001259
error while saving DS.
I am not able to understand if the data source is not active how does the PSA table formation has happend.
when I tried to activate the PSA table too it says there are no fields in the table.
Can I delete my DS now in BGS system and import the same DS from my Dev system and all related transformations available in Dev system and load the data.Please advise would this work or would give some inconsistency.
Please advise I am not able to any clue how would I proceed.
Thanks,
Santhosh.Thanks for the reply but I have done that.even though the DS is in edited version and in executable.that is when I am trying to manage the DS it says Invalid DS object name /BIC/B0001xxxxx: reason: no valid entry in table RSTS.
Actually I am trying to do Inti for my DS in Sand box system , we had a copy recently from our QA BW to Sand box BW as we same copy in ECC for the same servers.
So when I am trying to do init I had a error saying No Transfer structure is avaialable for Infosource 3FI_GL_I1_TT in the Source system. and procedure it says regenerate from this Source system the transfer structure for Infosource 3FI_GL_I1_TT.
now in order to solve this I have imported my DS from my Dev system to Sand box. hence my Data source got inactive and says in executbale.
Can you please advise.
Thanks,
Santhosh. -
Problem in activating 0sd_c03 IC
Hi all
Here i am facing problem in activating BC IC 0sd_c03 .I have installed the IC with data flow before and when i migrate from 3.5 to 7 . here for the datasource 2lis_13_vditm , the transfer rules are migrated successfully but here i am getting problem when i create transformation on update rule . The problem is with the routine net weight kg,gross weight kg and with the volume . here that infoobject has some routine in update rule and when i created the transformation , in that transformation there is no routine for that infoobject and also there is no mapping present for that infoobject . plz help me in solving this.
ThanxHi Ravi,
If you any start routine written on your Update rules or transformations, then when you open that one you will have Display start routine.
If you don't have any routines, then you will have create start routine which implies it doesn't contain any start routine.If you want you can create start routine by click on create start routine.
Creating routines is purely based on business requirement.
when we go for creating routines:
1)If you want to populate some new filed in target based on 2 or 3 fields from source.
2)If you want to delete some records based on certain condition
there are few more scenarios
please go through the below article
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/609eea32-455e-2c10-c08a-c23adf8c934e?quicklink=index&overridelayout=true
If it is enough of one to one mapping for you business, then no need to use any routines just do one to one mapping in transformation
Regards,
Venkatesh
Edited by: Venky1903 on Aug 19, 2011 12:30 AM -
OEHR Sample Objects Installation - ORA-00902: invalid datatype
When I was trying to install the supporting objects, I received a CREATE TYPE privilege error previously. Then the DBA updated APEX to 2.2.1 to fix the problem. It did but know I'm gettingn ORA-00901:invalid datatype and othere errors with creating the tables, views,etc. Can somebody help me. I'm running APEX with database version 9.2
Can somebody help me? I can not install the database objects. I get an invalid datatype error when the install script attempts to install the tables.
Please help! -
Error when activating datasource
Hello,
I am trying to create a new transaction data datasource assigned to a flat file source system. When i hit the check i get no errors but when i try to activate the activation fails with errors. The error Message No. RSO404 says "Error when activating Datasource". We are on BW 7.0 stack 12.
Has anyone seen this? It is hard to troubleshoot it when i get no real errors to go on. It is a very simple three field datasource with one characteristic, one key fig, and an additional currency characteristic. The key fig is in external format and references 0CURRENCY. Does anybody have any insight?
Thanks,
TMSHi TMS,
I am facing exactly the same problem here...
transactional datasource for flatfile gives me errors DO313, RSO404 and then RSDS106
We are on:
SAP_ABA 700 0011 SAPKA70011
SAP_BASIS 700 0011 SAPKB70011
PI_BASIS 2005_1_700 0011 SAPKIPYJ7B
SAP_BW 700 0012 SAPKW70012
FINBASIS 600 0008 SAPK-60008INFINBASIS
BI_CONT 703 0005 SAPKIBIIP5
SEM-BW 600 0008 SAPKGS6008
Did you manage to find a solution? -
SAP Message No-KL 294 Network Activity with invalid Internal Number
Hi,
I am getting System Error:NETWORK ACTIVITY WITH INVALID INTERNAL NUMBER" while doing MIGO.
I have checked network activity assigned to PO is exist but this shows some internal Number "Plan no.f.oper." which does not exist.
Please let me know how should i solve this error.
thanks
SunilHi Sunil.
Did you get any response from SAP?
I have as similar or maybe the same problem.
And I found out:
When I create the purchase request out of the Project-Builder (CJ20n) - SAP seems to lose the entry of the field 'AUFPL' in the table 'EBKN'.
In these rare cases (this problem is only in about 2-3 % of our purchase requests) the network elements still exist - so they are not deleted or something like that.
I created a routine, in which I read the entry of 'AUFPL' with the corresponding network number out of table 'EBKN' as key, to correct these wrong purchase requests.
But I didn't find the reason for the problem, yet.
Every advice would be great,.
Best regards,
Marc -
Need help with "ORA-00902: invalid datatype" while creating a view
I am using Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production With the Partitioning, OLAP and Data Mining options.....
when I try ti create a view, I am getting ORA-00902 error.
SQL> create view sales_view as
2 select *
3 from table(OLAP_TABLE('global DURATION session',
4 'sales_type_table',
5 '',
6 'DIMENSION time_id FROM time
7 DIMENSION channel_id FROM channel
8 DIMENSION product_id FROM product
9 DIMENSION customer_id FROM customer
10 MEASURE sales FROM sales
11 MEASURE units FROM units
12 MEASURE extended_cost FROM extended_cost
13 MEASURE forecast_sales FROM fcast_sales
14 ROW2CELL olap_calc'));
create view sales_view as
ERROR at line 1:
ORA-00902: invalid datatype
ORA-06512: at "SYS.OLAPIMPL_T", line 23
ORA-06512: at "SYS.OLAPIMPL_T", line 17
ORA-06512: at line 4
I am new to Oracle.... using document "40261_leveragingtools.pdf" as a guide against a cube created using "Global_AWM10g_Handson.doc".
AWM displays data from cube without a problem.
I would welcome any assistance.Can you provide the definition of sales_type_table? Also, Are all of the dimensions you have created of type TEXT?
Swapan. -
Dear , please help me to solve my problem in activating my iPhone
Where I lost it since 3 months and when found it cannot activating my ID
Where give me (Your Apple ID has been disabled for security reasons. To enable your account, reset your password at applied.apple.com)
And try to reset my password but cannot please help me where am a poor man and cannot pay another money to solving this problem to any one
My iPhone data
Ime: ****
Model: A1332
FCC ID : BCG-E2380A
IC: 579C-E2380A
MY id at cloud ****
Password ( ****)
My country : Egypt
MY EMAIL : ****
Tell no: ****
<Personal Information Edited By Host>The following may help:
Apple ID: 'This Apple ID has been disabled for security reasons' alert appears - Apple Support
If you didn't receive your Apple ID verification or reset email - Apple Support
Maybe you are looking for
-
I have an HP HDX 16 (p/n: NK133AV) laptop with the built-in TV Tuner and need a replacement TV antenna.. I've looked all over the HP support site for a replacement antenna, but cannot find one. Would someone please help me to find one that I can purc
-
I get this error when trying to open "obj" files exported in various 3D programs. I looked up a few similar questions about this error message but the don't seem to relate to me since this installation of PS is new and I never had a previous version
-
Has Anyone Used Dell's New 23" SP2309W LCD Flat Panel?
Good afternoon, I'm looking to buy a new external monitor for my soon to be purchased MacBook Pro 4,1 (Early 2008) model. I have also asked if anyone had any user info. about an Acer monitor, but no one replied. I'm serious about purchasing this new
-
I want to purchase a mac mini (2011 model), and have two Saumsung SyncMaster monitors that I want to hook up to it. What cords do I need to be able to run both of them through the mac mini?
-
Kindly let me know in which resolution should i convert video for Nokia 5800 so that it can be viewed perfectly. e.g.: 320 x 240, 320 x 480, 320 x 200, 240 x 180. Also audio quality in what Kbps ? shouls i keep while converting. I had converted 1 vid