Store events in differents tables/ AVG function error
HI,
I have a very newbie question that i can't resolve.
I want to store events in a database, so far so good, but if i define the events on context file like this:
<wlevs:event-type-repository>
<wlevs:event-type type-name="Averages">
<wlevs:properties>
<wlevs:property name="average_Generator1_ActivePower" type="float"/>
<wlevs:property name="sum_Generator2_ActivePower" type="int"/>
<wlevs:property name="max_Substation_Active_Power" type="int"/>
<wlevs:property name="number_events" type="int"/>
</wlevs:properties>
</wlevs:event-type>
<wlevs:event-type type-name="WindEvent">
<wlevs:properties>
<wlevs:property name="generator1_ActivePower" type="int"/>
<wlevs:property name="generator2_ActivePower" type="int"/>
<wlevs:property name="substation_Active_Power" type="int"/>
</wlevs:properties>
</wlevs:event-type>
</wlevs:event-type-repository>
They will be saved in the same table, TupleValues table.
I try to workaround this situation by defining one of the events as a class and in this case the Oracle CEP create a different table to store this events. But, with this configuration, I have an error on the processor node, most exactly, in the avg function that use a property of the class created. Below there is the context file, the java class and the query in the processor
#Java class
public class WindEvent {
private Integer Generator1_ActivePower;
private Integer Generator1_AverageExpectedEnergy;
private Integer Generator2_ActivePower;
private Integer Generator2_AverageExpectedEnergy;
private Integer Substation_Active_Power;
private Integer Substation_AverageExpectedEnergy;
#context file
<wlevs:event-type-repository>
<wlevs:event-type type-name="WindEvent">
<wlevs:class>oracle.cep.demo.events.WindEvent</wlevs:class>
</wlevs:event-type>
</wlevs:event-type-repository>
<wlevs:adapter id="adapter" provider="csvgen">
<wlevs:listener ref="channel" />
<wlevs:instance-property name="port" value="9001" />
<wlevs:instance-property name="eventTypeName" value="WindEvent" />
<wlevs:instance-property name="eventPropertyNames"
value="generator1_ActivePower,generator1_AverageExpectedEnergy,generator2_ActivePower,generator2_AverageExpectedEnergy,substation_Active_Power,substation_AverageExpectedEnergy"/>
</wlevs:adapter>
<wlevs:channel id="channel" event-type="WindEvent">
<wlevs:listener ref="processor" />
</wlevs:channel>
<wlevs:processor id="processor">
</wlevs:processor>
#query
<processor>
<name>processor</name>
<rules>
<query id="ExampleQuery">
<![CDATA[select avg(substation_Active_Power) as max_Substation_Active_Power, count(*) as number_events from channel [range 60]]]>
</query>
</rules>
</processor>
If somebody could help in the two questions i will be really grateful
this is the output of the error:
<Warning> <Spring> <BEA-2047006> <Work {0} terminated with exception = commonj.work.WorkException: java.lang.RuntimeException: [Adapter:2041010]Event type WindEvent has a property of type int. This tool only supports String, Integer, Long, Float, and Double properties.
commonj.work.WorkException: java.lang.RuntimeException: [Adapter:2041010]Event type WindEvent has a property of type int. This tool only supports String, Integer, Long, Float, and Double properties.
at weblogic.work.commonj.CommonjWorkManagerImpl$WorkStatus.setThrowable(CommonjWorkManagerImpl.java:260)
at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:198)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused By: java.lang.RuntimeException: [Adapter:2041010]Event type WindEvent has a property of type int. This tool only supports String, Integer, Long, Float, and Double properties.
at com.bea.wlevs.adapter.defaultprovider.internal.CSVGenAdapterImpl.validateEventType(CSVGenAdapterImpl.java:75)
at com.bea.wlevs.adapter.defaultprovider.internal.CSVGenAdapterImpl.run(CSVGenAdapterImpl.java:42)
at com.bea.wlevs.adapter.defaultprovider.internal.CSVGenAdapterImpl$$FastClassByCGLIB$$1d34d8cd.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.wlevs.ede.impl.EventManagerAccessorProxy.invoke(EventManagerAccessorProxy.java:30)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.wlevs.ede.impl.EventBeanProxy.invoke(EventBeanProxy.java:38)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
at com.bea.wlevs.adapter.defaultprovider.internal.CSVGenAdapterImpl$$EnhancerByCGLIB$$e60b1b.run(<generated>)
at com.bea.wlevs.spring.RunnableBeanPostProcessor$RunnableWrapper.run(RunnableBeanPostProcessor.java:118)
at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:196)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Similar Messages
-
How to use AVG function to determine difference.
Hi, I have a basic table where there is an invoice price. I can do the AVG function to find out what the average is, but I need to be able to subtract the difference from each value in the column and submit it as a query. I was wondering if anyone had any advice how I'd do that.
Thanks,
Justinwrote:user_7000025
Here is the table in question and the specific instructions:
Write the query that will show the invoice number, the average invoice amount, and the difference between the average invoice amount and the actual invoice amount.
INV_NUM CUST_NUM INV_DATE INV_AMOUNT
8000 1000 23-MAR-04 236
8001 1001 23-MAR-04 313
8002 1001 30-MAR-04 528
8003 1000 12-APR-04 195
8004 1000 23-APR-04 619test@XE> --
test@XE> -- Write the query that will show the invoice number, the average invoice amount, and
test@XE> -- the difference between the average invoice amount and the actual invoice amount.
test@XE> --
test@XE>
test@XE> --
test@XE> with t as (
2 select 8000 inv_num, 1000 cust_num, to_date('23-MAR-04','DD-MON-RR') inv_date, 236 inv_amount from dual union all
3 select 8001, 1001, to_date('23-MAR-04','DD-MON-RR'), 313 from dual union all
4 select 8002, 1001, to_date('30-MAR-04','DD-MON-RR'), 528 from dual union all
5 select 8003, 1000, to_date('12-APR-04','DD-MON-RR'), 195 from dual union all
6 select 8004, 1000, to_date('23-APR-04','DD-MON-RR'), 619 from dual)
7 --
8 select inv_num,
9 cust_num,
10 inv_date,
11 inv_amount,
12 avg(inv_amount) over () as avg_inv_amt,
13 avg(inv_amount) over () - inv_amount as avg_actual_diff
14 from t;
INV_NUM CUST_NUM INV_DATE INV_AMOUNT AVG_INV_AMT AVG_ACTUAL_DIFF
8000 1000 23-MAR-04 236 378.2 142.2
8001 1001 23-MAR-04 313 378.2 65.2
8002 1001 30-MAR-04 528 378.2 -149.8
8003 1000 12-APR-04 195 378.2 183.2
8004 1000 23-APR-04 619 378.2 -240.8
5 rows selected.
test@XE>
test@XE>
isotope
Update: Good to know the solution worked. You may want to mark the question answered and award points.
Edited by: isotope on Mar 14, 2009 10:50 PM -
Error in Event Binding for Table UI element
Hi,
I had created a table UI element in my web dynpro component and it worked fine. After a few weeks, while I was making some other changes in the same module and did a syntax check on the component, I got this error "The event binding for element "TBL_ABC" contains errors". There is a "Correct errors" button given along with this error message, which removes the error. But I just wanted to know what is the reason for this error.
Regards,
Akshatha.Hi,
Please check for the cardinality of the node which you are using to bind for the TABLE UI element.
I think the cardinality should be either 1:N or 0:N.
Give it a try.
Regards,
Lekha -
Hi All,
i created one enchancement to ME21n screen,
i added one screen at header
When i running the the transaction ME41 it shows the following error.
This function not defined
Message no. 06006
Diagnosis
There is no entry for this function in Table 168F (system table). An error involving the screen control has probably occurred.
Procedure
Contact your system administrator.
Am i need to add this functionalty to any sap table.
plz guide me on this.Hi Krishna
Have you added any buttons in the custom screen if yes then you will have to maintain configuration data for Function code processing.
Please search on SCN for the same
Nabheet -
Installation of the Proof of Purchase from the ACPI table failed. Error code:0xC004F059
I just updated Window 8.0 to 8.1 for the second time as the first Time there was an UEFI issue... the 8.1 installs and update seemed smooth... I shut down, and I leave for work. I come home fire up my PC it seems slow!! it boots...
I notice some live tiles are active I prefer mine off so I shut off a couple Live tiles. so then I decide to open the Mail tile and it locks up... and then one of my browsers freezes up!!! I could not open task manager at all to end the
proses, so I decided to restart and then an app was not allowing windows to restart!!! so windows ended the task on its own could not make out what program or app it was!!! and the machine booted up slower again. I went into the event viewer
and what do I find in there is this stuff and now looking at it this all started after the windows 8.1 update... I get it we all want the latest and greatest OS but as my mom said good things come to those whom wait don't rush into anything!!!
and I think Microsoft you are rushing to push stuff out onto the Market... so now I have to sit here and wonder why my PC now takes 2 + minutes to load!!! (BS) and on win 8.0 it took 60 seconds... fix this please I will watch and see if
this happens again if it keeps up I will have to once again revert back to 8.0 and at that point I will want some $$$ compensation for my loss... why should I have to go through hoops for something with the word Mircrosoft attached to it...
I wonder how many others have had this same issue and don't even know its happening....
1.
Installation of the Proof of Purchase from the ACPI table failed. Error code:0xC004F059
2.
taskhostex (2888) WebCacheLocal: The shadow header page of file C:\Users\Dale\AppData\Local\Microsoft\Windows\WebCache\V01.chk was damaged.The primary header page (4096 bytes) was used instead.
3.
The driver \Driver\WudfRd failed to load for the device SWD\WPDBUSENUM\{362b48de-4382-11e3-be6e-3085a9a945d8}#0000000000007E00.
4.
Driver detected an internal error in its data structures for
5.
The program wwahost.exe version 6.3.9600.16431 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Action Center control panel.
Process ID: e14
Start Time: 01cf3eb70280ca6e
Termination Time: 4294967295
Application Path: C:\WINDOWS\syswow64\wwahost.exe
Report Id: f7b4be2f-aaaa-11e3-8250-3085a9a945d8
Faulting package full name: Microsoft.SkypeApp_2.0.0.5011_x86__kzf8qxf38zg5c
Faulting package-relative application ID: App
6.
The program wwahost.exe version 6.3.9600.16431 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Action Center control panel.
Process ID: 15bc
Start Time: 01cf3eb66f89a193
Termination Time: 15
Application Path: C:\WINDOWS\system32\wwahost.exe
Report Id: 0fd54265-aaaa-11e3-8250-3085a9a945d8
Faulting package full name: microsoft.windowscommunicationsapps_17.4.9600.16384_x64__8wekyb3d8bbwe
Faulting package-relative application ID: Microsoft.WindowsLive.MailI have the something similar happening as reported in event viewer in the warning section:
System
- Provider
[ Name] Microsoft-Windows-Security-SPP
[ Guid] {E23B33B0-C8C9-472C-A5F9-F2BDFEA0F156}
[ EventSourceName] Software Protection Platform Service
- EventID 1058
[ Qualifiers] 32768
Version 0
Level 3
Task 0
Opcode 0
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2014-08-13T04:35:49.000000000Z
EventRecordID 80761
Correlation
- Execution
[ ProcessID] 0
[ ThreadID] 0
Channel Application
Computer Monzworks
Security
- EventData
0xC004F059
installation of the proof of purchase from the acpi table failed 0xc004f059
My System Properties page says "Windows is activated" and a product Id is displayed. I am on a window 8.1 core OS after applying the update successfulling from Window 8. My computer is an AsusTek Computer Inc. ,
Asus Desktop PC CM1745 Series - 64-bit Operating System x64-based processor.
I had trouble with AODDriver4.2.0 causing errors because the system could not find the path, It turned out to be uncleared program remnants in the registry were looking for an old version of the driver, in the wrong place , instead of the current one.
Oh, and I tried sfc/scannow and DISM /Online /Cleanup-Image /RestoreHealth from elevated cmd prompt and elevated powershell ise everthing was reported with no errors and with powershell, the report said windows store corruption was repaired.
Before this I had used apps.diagcab and it said my IE 11's temporary internet files folder was in the wrong place that it was going to put it back. Well, it messed up my IE 11 so the folder location was in the same place but it was not listed in the
location: . <----- Just like this. Plus the amount of disk space available was 8mb-which messed up any sort of operations for example putting in a new search
engine could not be completed. I had to use a system restore. I currently have no errors showing up but warnings yes. thankfully most are minor.This is the other event viewer report which could be related:
- System
- Provider
[ Name] Microsoft-Windows-Security-Auditing
[ Guid] {54849625-5478-4994-A5BA-3E3B0328C30D}
EventID 5061
Version 0
Level 0
Task 12290
Opcode 0
Keywords 0x8010000000000000
- TimeCreated
[ SystemTime] 2014-08-13T03:48:26.671362500Z
EventRecordID 290021
Correlation
- Execution
[ ProcessID] 676
[ ThreadID] 728
Channel Security
Computer Monzworks
Security
- EventData
SubjectUserSid S-1-5-21-4255092528-2166032690-2543152005-1002
SubjectUserName Monz Prez
SubjectDomainName MONZWORKS
SubjectLogonId 0x239d9
ProviderName Microsoft Software Key Storage Provider
AlgorithmName UNKNOWN
KeyName CD1CC265-0DA0-4230-8419-CB6F808FE688
KeyType %%2500
Operation %%2480
ReturnCode 0x80090016
I am tired so talk among yourselves.
Sincerely Tired -
Dynamic SQL in table vauled function or CLR
So I have a query that gives me some analysis on the values in a column, in a table. It reurns a small data set.
It gives me the max, min, stdev, avg and some other stats grouped by another column.
I wanted to create a table valued function from the query, so I could do the same analysis on any numeric column, in any table. I would just pass in the column name and the table name as paramters to my table-valued function and it would return the
data set. Then I could join to it and use in other queries.
I thought I would build my query using dynamic SQL and execute it within the function, but I got an error and learn that you can not use execute in a function.
I have never created a CLR function, would this be possible to do it this way? This would be a decent sized step for me, but am willing to learn if possible. Or does anyone know how to solve this problem?
Problem: Pass column name and table name into function and have it reurn a dataset. Use the dataset as a table in other queries, scripts or procedures like a table valued function.
Thanks,
MikeMilke
Take a look into READ only table variable parameter
Create a user-defined data type with a single column.
Develop a procedure with a table variable as an input parameter.
Declare a table variable of the type of the user defined data type.
Loading 10 records into the table variable and pass the table
variable to the stored procedure.
create type tt_example AS TABLE
(spid int)
go
create procedure usp_example
@spids tt_example READONLY
AS
SELECT *
FROM @spids
GO
declare @spids tt_example
insert into @spids
select top 10 spid
from sys.sysprocesses
exec usp_example @spids=@spids
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
Problem with dg4msql and table-valued functions
Have configured dg4msql to connect from my oracle db to ms sql server.
Am able to do simple SELECTs from ms sql tables like:
select * from "sys"."procedures"@dg4msql;
or
select * from "dbo"."SomeTable"@dg4msql;
But am unable to do a SELECT from a table-valued function:
select * from "dbo"."GetData"@dg4msql('param1value');
or
select * from "dbo"."GetData"('param1value')@dg4msql;
In both cases I get:
ORA-00933: SQL command not properly ended
It does not like the parameters portion of the query ("('param1value')")
initdg4msql.ora:
HS_FDS_CONNECT_INFO=[svr1]//mydb
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_PROC_IS_FUNCT=TRUE
HS_FDS_RESULTSET_SUPPORT=TRUE
Have tried the other set of params:
HS_FDS_PROC_IS_FUNCT=FALSE
HS_FDS_RESULTSET_SUPPORT=TRUE
Same story. After changing the init*** file have bounced both Listeners (DB and Gateway), reconnected, and re-run the query.
Have I missed something?
Any help is greatly appreciated!Sorry, but for me it looks you did not get the problem.
Oracle® Database Gateway for SQL Server User's Guide,:
11g Release 2 (11.2)
Part Number E12069-02
*2 SQL Server Gateway Features and Restriction*
Result Sets and Stored Procedures
The Oracle Database Gateway for SQL Server provides support for stored procedures which return result sets.
By default, all stored procedures and functions do not return a result set to the user. To enable result sets, set the HS_FDS_RESULTSET_SUPPORT parameter value to TRUE.
PL/SQL Program Fetching from Result Sets in Sequential Mode
-- Execute procedure
out_arg := null;
refcurproc@MSQL('Hello World', out_arg, rc1);
Somewhere in this forum I've seen a message that the syntax "SELECT ... FROM sp@db(param1, param2)" works.
Anyway, even with the PL/SQL block the error message is the same - ORA-00933 "SQL command not properly ended"
and the cursor (* in SQL*PLUS) is put just at the first bracket.
Edited by: user636213 on Aug 10, 2012 5:17 AM -
XML Function pipe delimiter function error
Hi SQL gurus,
Thank you for any assistance. I was given the below query to use for taking a column that contains values and delimited with "|". below is a sample of the data in that column, the error, and the function with the query:
XML parsing: line 1, character 199, illegal name character
Item - Shim Stock | Type - Sheet | Material - Polyester | Thickness (In.) - 0.0005" | Thickness (mm) - 0.013mm | Thickness Tolerance - +/-0.000025" | Size - 5 x 20" | Width Tolerance - +/-0.0625" | Length Tolerance - +/-0.0625" | Moisture Absorption - 0.08% | Compress To - 1.00% | Color - Silver | Tensile Strength (PSI) - 30,000 psi | Temp. Range (F) - -90 to 300 Degrees | Meets/Exceeds - LP-377 | Package Quantity - 5
CREATE FUNCTION [dbo].[split](
@delimited NVARCHAR(MAX),
@delimiter NCHAR(1)
) RETURNS @t TABLE (id INT IDENTITY(1,1), val NVARCHAR(MAX))
AS
BEGIN
DECLARE @xml XML
SET @xml = N'<t>' + REPLACE(@delimited,@delimiter,'</t><t>') + '</t>'
INSERT INTO @t(val)
SELECT r.value('.','varchar(MAX)') as item
FROM @xml.nodes('/t') as records(r)
RETURN
END
SELECT
ItemNo, 2ItemNo,NameItem , SV.val, sv.id
from #TableWithData v
cross apply dbo.split(v.ColumnwithValues,'|') sv
Edwin LoperaTo get you moving, here is another example of a splitter that works with the examples you supplier:http://andrewtuerk.wordpress.com/2012/08/10/cross-apply-yes-you-can-use-a-table-valued-function-without-a-cursor/
-
Unable to add Action for table - throwing Fatal error while rendering the table after adding
Hi,
I am not able to add action to the table i created.
when i click on events and then Create Action for "onFilter" event, it is giving me Internal Error. The message details is:
eclipse.buildId=@qualifier@
java.version=1.6.0_45
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en
Command-line arguments: -os win32 -ws win32 -arch x86 -data C:\NWDS\Workspace
Error
Thu Jul 17 11:17:27 IST 2014
Internal Error
Plug-In Name: Web Dynpro HTML Rendering
Internal Error : com.sap.ide.webdynpro.rendering.html
Class : com.sap.ide.webdynpro.viewdesigner.ur.RenderingService
Method : renderDelta
Message : java.lang.RuntimeException: nullFatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.TableAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSSapTableRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.TableAdapter@1376233Fatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSFlowLayoutRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter@1102ae6Fatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.GroupAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSGroupRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.GroupAdapter@70815bFatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSFlowLayoutRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter@3cb708Fatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.ScrollContainerAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSScrollContainerRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.ScrollContainerAdapter@14a4b5Fatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSFlowLayoutRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter@14983d6Fatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.ScrollContainerAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSScrollContainerRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.ScrollContainerAdapter@16e8151
Exception : java.lang.RuntimeException: java.lang.RuntimeException: nullFatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.TableAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSSapTableRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.TableAdapter@1376233Fatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSFlowLayoutRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter@1102ae6Fatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.GroupAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSGroupRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.GroupAdapter@70815bFatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSFlowLayoutRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter@3cb708Fatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.ScrollContainerAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSScrollContainerRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.ScrollContainerAdapter@14a4b5Fatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSFlowLayoutRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter@14983d6Fatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.ScrollContainerAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSScrollContainerRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.ScrollContainerAdapter@16e8151
[Error: com.sap.ide.tools.services.ui.dialog.DialogService Thread[main,6,main]]
The complete error details is also attached with the message.
After creating the action, the table looks like below:
Can someone help me on fixing this issue.
Thanks,
Abhishek.Its a rendering issue with the NWDS/IDE.
Try, close and re-open for fix it. If it still persists, uninstall NWDS and re-install the right version of NWDS w.r.t the Portal server.
Regards,
Sharath -
I am using TABLE(CAST()) operation in PL/SQL and it is returning me no data.
Here is what I have done:
1. Created Record type
CREATE OR REPLACE TYPE target_rec AS OBJECT
target__id NUMBER(10),
target_entity_id NUMBER(10),
dd CHAR(3),
fd CHAR(3),
code NUMBER(10),
target_pct NUMBER,
template_nm VARCHAR2(50),
p_symbol VARCHAR2(10),
pm_init VARCHAR2(3),
target_name VARCHAR2(20),
targe_type VARCHAR2(30),
target_caption VARCHAR2(30),
sort_order NUMBER (4)
2. Created Table type
CREATE OR REPLACE TYPE target_arr AS TABLE OF target_rec
3. Created Stored procedure which accepts parameter of type target_arr and runs the Table(Cast()) function on it.
Following is the simplified form of my procedure.
PROCEDURE get_target_weights
p_in_template_target IN target_arr,
p_out_count OUT NUMBER,
IS
BEGIN
SELECT count(*) into p_out_count
FROM TABLE(CAST(p_in_template_target AS target_arr)) arr;
END;
I am calling get_target_weights from my java code and passing p_in_template_target with 10140 records.
Scenario 1: If target_pct in the last record is 0, p_out_count returned from the procedure is 0.
Scenario 2: If target_pct in the last record is any other value(say 0.01), p_out_count returned from the procedure is 10140.
Please help me understand why the Table(Cast()) is not returning the correct results in Scenario 1. Also adding or deleting any record from the test data returns the correct results (i.e. if keep target_pct in the last record as 0 but add or delete any record).
Let me know how can I attach the test data I am using to help you debugging as I don’t see any Attach file button on Post Message screen on the forum.I am not able to reproduce this problem with a small data set. I can only reproduce with the data having 10140 records.
I am not sure if this is the memory issue as adding a new record also solves the problem.
This should not be the error because of wrong way of filling the records in java as for testing purpose I just saved the records which I am sending from java in a table. I updated the stored procedure as well to read the data from the table and then perform TABLE(CAST()) operation. I am still getting 0 as the output for scenario 1 mentioned in my last mail.
Here is what I have updated:
1. Created the table target_table
CREATE Table target_table
target_id NUMBER(10),
target_entity_id NUMBER(10),
dd CHAR(3),
fd CHAR(3),
code NUMBER(10),
target_pct NUMBER,
template_nm VARCHAR2(50),
p_symbol VARCHAR2(10),
pm_init VARCHAR2(3),
target_name VARCHAR2(20),
target_type VARCHAR2(30),
target_caption VARCHAR2(30),
sort_order NUMBER (4)
2. Inserted data into the table : The script has around 10140 rows. Pls let me know how can I send it to you
3. Updated procedure to read data from table and stored into variable of type target_arr. Run Table(cast()) operation on target_arr and get the count
PROCEDURE test_target_weights
IS
v_target_rec target_table%ROWTYPE;
CURSOR wt_cursor IS
Select * from target_table;
v_count NUMBER := 1;
v_target_arr cws_target_arr:= target_arr ();
v_target_arr_rec target_rec;
v_rec_count NUMBER;
BEGIN
OPEN wt_cursor;
loop
fetch wt_cursor into v_target_rec; -- fetch data from table into local record.
exit when wt_cursor%notfound;
--move data into target_arr
v_target_arr_rec := cws_curr_pair_entity_wt_rec(v_target_rec target_id,v_target_rec. target_entity_id,
v_target_rec.dd,v_target_rec.fd,v_target_rec.code,v_target_rec.target_pct,
v_target_rec.template_nm,v_target_rec.p_symbol,v_target_rec.pm_init,v_target_rec.template_name,
v_target_rec.template_type,v_target_rec.template_caption,v_target_rec.sort_order);
v_target_arr.extend();
v_target_arr(v_count) := v_target_arr_rec;
v_count := v_count + 1;
end loop;
close wt_cursor;
-- run table cast on target_arr
SELECT count(*) into v_rec_count
FROM TABLE(CAST(v_target_arr AS target_arr)) arr;
DBMS_OUTPUT.enable;
DBMS_OUTPUT.PUT_LINE('p_out_count ' || v_rec_count);
DBMS_OUTPUT.PUT_LINE('v_count ' || v_count);
END;
Output is
p_out_count 0
v_count 10140
Expected output
p_out_count 10140
v_count 10140 -
Error in creating Table Maintenance for TABLES: J_2IRG1BAL ,Dump error show
Dear Gurus
I have Created one Table Maintenance for TABLES: J_2IRG1BAL ,
1) I have take function group as same as table name like J_2IRG1BAL
3) Authorization Group &NC&
4) Authorization object S_TABU_DIS
5) Function group J_2IRG1BAL
6) Package J1I5
7) Maintenance type one step.
8) Maint. Screen No. Overview screen 2009.
9) Recording routine STD recording routines .
I have assign screen single screen 1 but it will not take the screen so ill put screen 2009 ,the system will not not accept the screen but I proposed to Save and activate the table maintenance generator and created and save the function group ,the table is ready to save the entries
We have to go to SM30 then put 4-5 entries ,after that a dump error shows
Which i have attachéd in this mail kindly help me out
Its effect in production server.
I have found that the error is given below I have mentioned all the details
Kindly read this
I have created function group J_2IRG1BAL and assign Package J1I5 and function group,J1I5 is already a Function group so problem occurs a dump error message displays
Kindly give me the right solution all the Clients are effected
110,100 150,250 these all are effected development clients
300 is prod client this is also affected because I have created a table maintenance generator and send the req to production .
*Dump Error Shows in Production*
Runtime Errors SYNTAX_ERROR
Date and Time 11.12.2008 09:26:30
What happened?
| Error in ABAP application program.
Error analysis
In program "SAPLJ1I5 ", the following syntax error occurred:
"The program "SAPLJ1I5" is not Unicode-compatible, according to its pro"
"gram attributes."
The current ABAP program "SAPLSVIM" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
In program "SAPLJ1I5 ", the following syntax error occurred
in the Include "SAPLJ1I5 " in line 0:
"The program "SAPLJ1I5" is not Unicode-compatible, according to its pro"
"gram attributes."
rigger Location of Runtime Error |
Program SAPLSVIM
Include LSVIMU01
Row 107
Module type (FUNCTION)
| Module Name VIEW_MAINTENANCE
Author and last person to change the Include are:
Author "TTLABAP2 "
Last changed by "TTLABAP2 "
105
Initialisierung des Abgleichsmandanten zum View *
106
>>>>>
vim_default_upgr_clnt-viewname = x_header-viewname.
108
vim_default_upgr_clnt-client = client_for_upgrade.
109
PERFORM vim_set_global_field_value IN PROGRAM (fpool)
| 110| USING 'VIM_DEFAULT_UPGR_CLNT' 'C' vim_default_upgr_clnt rc.I have send you all the details regarding the table maintenance generator
error is shown below
I have Created one Table Maintenance for TABLES: J_2IRG1BAL ,
1) I have take function group as same as table name like J_2IRG1BAL
3) Authorization Group &NC&
4) Authorization object S_TABU_DIS
5) Function group J_2IRG1BAL
6) Package J1I5
7) Maintenance type one step.
8) Maint. Screen No. Overview screen 2009.
9) Recording routine STD recording routines .
I have assign screen single screen 1 but it will not take the screen so ill put screen 2009 ,the system will not not accept the screen but I proposed to Save and activate the table maintenance generator and created and save the function group ,the table is ready to save the entries
We have to go to SM30 then put 4-5 entries ,after that a dump error shows
Which i have attachéd in this mail kindly help me out
Its effect in production server.
I have found that the error is given below I have mentioned all the details
Kindly read this
I have created function group J_2IRG1BAL and assign Package J1I5 and function group,J1I5 is already a Function group so problem occurs a dump error message displays
Kindly give me the right solution all the Clients are effected
110,100 150,250 these all are effected development clients
300 is prod client this is also affected because I have created a table maintenance generator and send the req to production .
Runtime Errors SYNTAX_ERROR
Date and Time 11.12.2008 09:26:30
ShrtText
Syntax error in program "SAPLJ1I5 ".
What happened?
Error in ABAP application program.
The current ABAP program "SAPLSVIM" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
In program "SAPLJ1I5 ", the following syntax error occurred
in the Include "SAPLJ1I5 " in line 0:
"The program "SAPLJ1I5" is not Unicode-compatible, according to its pro"
"gram attributes."
Author and last person to change the Include are:
Author "TTLABAP2 "
Last changed by "TTLABAP2 "
Error analysis
In program "SAPLJ1I5 ", the following syntax error occurred:
"The program "SAPLJ1I5" is not Unicode-compatible, according to its pro"
"gram attributes."
Trigger Location of Runtime Error
Program SAPLSVIM
Include LSVIMU01
Row 107
Module type (FUNCTION)
Module Name VIEW_MAINTENANCE
Source Code Extract
Line
SourceCde
77
TRANSPORTING NO FIELDS.
78
IF sy-subrc NE 0.
79
SELECT SINGLE * FROM tfdir WHERE funcname EQ <function_name>.
80
IF sy-subrc NE 0.
81
RAISE no_editor_function.
82
ELSE.
83
length = strlen( function_name1 ).
84
ASSIGN function_name1(length) TO <function_name>.
85
SELECT SINGLE * FROM tfdir WHERE funcname EQ <function_name>.
86
IF sy-subrc NE 0.
87
RAISE no_database_function.
88
ENDIF.
89
ENDIF.
90
INSERT x_header-viewname INTO alr_checked_views INDEX sy-tabix.
91
ELSE.
92
length = strlen( function_name1 ).
93
ASSIGN function_name1(length) TO <function_name>.
94
ENDIF.
95
96
Initialisierung der RFC-Destination zum View *
97
98
FPOOL+4 = X_HEADER-AREA.
99
fpool = x_header-fpoolname.
100
vim_default_rfc_dest-viewname = x_header-viewname.
101
vim_default_rfc_dest-rfcdest = rfc_destination_for_upgrade.
102
PERFORM vim_set_global_field_value IN PROGRAM (fpool)
103
USING 'VIM_DEFAULT_RFC_DEST' 'C' vim_default_rfc_dest rc.
104
105
Initialisierung des Abgleichsmandanten zum View *
106
>>>>>
vim_default_upgr_clnt-viewname = x_header-viewname.
108
vim_default_upgr_clnt-client = client_for_upgrade.
109
PERFORM vim_set_global_field_value IN PROGRAM (fpool)
110
USING 'VIM_DEFAULT_UPGR_CLNT' 'C' vim_default_upgr_clnt rc.
111
112
set flag if complex selection conditions in sellist *
113
114
IF complex_selconds_used NE space.
115
READ TABLE dba_sellist INDEX 1.
116
IF sy-subrc EQ 0 AND dba_sellist-cond_kind EQ space.
117
dba_sellist-cond_kind = 'C'. MODIFY dba_sellist INDEX 1.
118
ENDIF.
119
ENDIF.
120
121
direkter Vergleich: Flagge setzen usw. *
122
123
IF view_action EQ vim_direct_upgrade.
124
view_action = aendern.
125
PERFORM vim_set_global_field_value IN PROGRAM (fpool)
126
USING 'VIM_SPECIAL_MODE' 'C' vim_direct_upgrade rc. -
In which condition Table valued function should prefer over SP except use in joins?
Hi,
My requirements is:
Entity framework needs to call DB object (TVF or SP), which will provide some data to them and they'll work on it at app level.
DB object would be simple, one result set, it will join 5 tables and get around 30 columns to them. it would be parameterized query so can't use view.
Now my question is what DB object would be best to use, table valued function or store procedure. and why?
I google on it, I find some interesting links (example http://technet.microsoft.com/en-us/library/ms187650(v=sql.105).aspx)
they mentioned conditions to convert SP to TVF but not mentioned the reason, why I should convert?
Both have same cache plans strategy. SP has so many advantages over TVF, but I don't see any technical advantage of TVF over SP except it can be use in joins or so.
so In short my question is, why I can't use SP in all cases, why I would use TVF?, and which Table valued or multi-valued?
would appreciate your time and response.According to a few recent blogs you should be able to use TVP or stored procedure with EF 6.1.2 with ease. In our application we haven't switched yet to 6.1.2 (we're using 6.0.0) and there is no support for stored procedures or functions so we use StoreQuery.
I am wondering if you can share your experience of using EF with SP or TVP (and document the steps).
I am also wondering as how exactly it's working behind the scenes and where the full query is taking place. Say, in our case we may want to add some extra conditions after retrieving a set using, say, SP. Would the final query execute on the client (e.g.
SP executed on the server, result returned and then extra conditions executed on the "client")?
As I said, right now we're using StoreQuery which means that our extra conditions must be case - sensitive as opposed to SQL Server case insensitive. So, if someone already tried that scenario and can tell me how exactly it works, I would appreciate it.
Another question about EF - I defined a property as
[Column(TypeName = "varchar")]
public string PhoneNumber { get; set; } // area code + phone
and in the LINQ query as
var query = db.Accounts.Select(a => new AccountsList
AcctName = a.AcctName,
Contact = a.Contact,
FullName = a.FullName,
AreaCode = a.AreaCode,
Phone = a.Phone,
Hidden = a.Hide,
Hide = a.Hide,
PhoneNumber = a.AreaCode.Trim() + a.Phone.Trim(),
AcctTypeId = a.AcctTypeId
and I see that it's translated into CASE AreaCode IS NULL THEN N'' ELSE RTRIM(LTRIM(areaCode)) END + ...
My question is - why EF does it if there is no mentioning at all in the class as how NULL is supposed to be treated. Is it a bug?
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles -
JDBC Adapter Call a Table-Valued Function
Hello to all,
we're using the JDBC adapter to access a MS SQL-Server 2008.
I have to call a "Table-Valued Function" via JDBC.
Has anybody done this?
I've tried to call it like a stored procedure with the following:
<ns1:LGBuchungSAP_REQ xmlns:ns1="http://xyz.de/pi/mav/kantine">
<fLGBuchungenSAP>
<Tablename action="execute">
<table>dbo.fLGBuchungenSAP</table>
</Tablename>
</fLGBuchungenSAP>
</ns1:LGBuchungSAP_REQ>
but I get following error:
com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser:
Error when executing statement for table/stored proc. 'dbo.fLGBuchungenSAP' (structure 'fLGBuchungenSAP'): com.microsoft.sqlserver.jdbc.SQLServerException:
Fehler bei der Anforderung für 'fLGBuchungenSAP' (Prozedur), weil 'fLGBuchungenSAP' ein Tabellenwertfunktion-Objekt ist.
Calling with a select-statement also fails:
<ns1:LGBuchungSAP_REQ xmlns:ns1="http://xyz.de/pi/mav/kantine">
<STATEMENT_NAME>
<Tablename action="SELECT">
<table>dbo.fLGBuchungenSAP('20101101 00:00:00', '20110101 00:00:00')</table>
</Tablename>
</STATEMENT_NAME>
</ns1:LGBuchungSAP_REQ>
with error:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Eingangs-Message -->
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1></SAP:P1>
<SAP:P2></SAP:P2>
<SAP:P3></SAP:P3>
<SAP:P4></SAP:P4>
<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'dbo.fLGBuchungenSAP('20101101 00:00:00', '20110101 00:00:00')' (structure 'STATEMENT_NAME'): java.lang.IndexOutOfBoundsException: Index: 4, Size: 4</SAP:AdditionalText>
<SAP:Stack></SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Please advice
Regards
ChristianHello to all,
I solved the problem.
You have to call it this way:
<ns1:LGBuchungSAP_REQ xmlns:ns1="http://xyzde/pi/mav/kantine">
<STATEMENT>
<LGBuchungSAP action="SQL_DML">
<access>select * from dbo.fLGBuchungenSAP('$DatumVon$', '$DatumBis$')</access>
<key>
<DatumVon>20101101 00:00:00</DatumVon>
<DatumBis>20110101 00:00:00</DatumBis>
</key>
</LGBuchungSAP>
</STATEMENT>
</ns1:LGBuchungSAP_REQ>
But I get the next error: "A result set was generated for the update task"
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1></SAP:P1>
<SAP:P2></SAP:P2>
<SAP:P3></SAP:P3>
<SAP:P4></SAP:P4>
<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'LGBuchungSAP' (structure 'STATEMENT'): com.microsoft.sqlserver.jdbc.SQLServerException: Es wurde ein Resultset für den Aktualisierungsvorgang generiert.</SAP:AdditionalText>
<SAP:Stack></SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error> -
Problem while bringing Google Calendar events to Oracle Tables
Hi Friends,
I have written the following code to bring the Google Calendar Events to Oracle Tables...
CREATE OR REPLACE procedure XX_DEV.authenticate_service_test(p_email in varchar2,p_password in varchar2)
is
l_request utl_http.req;
l_response utl_http.resp;
l_params varchar2(255);
l_resp_data VARCHAR2(4000);-- CHARACTER SET;
l_auth_token VARCHAR2(4000);
l_cal_entry CLOB;
v_response_xml XMLType;
v_entry_id varchar2(100);
xml_result xmltype;
cnt number:= 0;
v_xmldoc CLOB;
v_start_time date;
v_end_time date;
cursor c1 is select x.title title, x.content content, x.where where, x.start_time start_time, x.end_time end_time, x.entry_id entry_id from
xmltable('feed/entry'
passing xmltype(v_xmldoc)
columns title varchar2(1000) path '/entry/title/text()'
,content clob path '/entry/content/text()'
,where clob path '/entry/gd-where/@valueString'
,start_time varchar2(100) path '/entry/gd-when/@startTime'
,end_time varchar2(100) path '/entry/gd-when/@endTime'
,entry_id varchar2(1000) path '/entry/id'
) x ;
begin
-- access the oracle wallet to allow us to make an https request
utl_http.set_wallet(path => 'file:/u01/app/oracle/product/11.2.0/owm/wallets/oracle11/',password => 'srisys123');
-- set up the request body with our credentials
l_params := 'Email=' || p_email || '&Passwd=' || p_password ||'&service=cl' || '&source=e-DBA-test-1.0';
l_request := utl_http.begin_request('https://www.google.com/accounts/ClientLogin','POST','HTTP/1.1');--accounts/ClientLogin
-- set the request headers
utl_http.set_header(l_request,'Content-Type','application/x-www-form-urlencoded');
utl_http.set_header(l_request,'Content-Length',length(l_params));
-- write out the request body
utl_http.write_text( l_request, l_params );
-- get the response
l_response := utl_http.get_response( r => l_request );
dbms_output.put_line('Status Code: '||l_response.status_code);
loop
utl_http.read_line( r => l_response, data => l_resp_data, remove_crlf => TRUE);
dbms_output.put_line(l_resp_data);
if substr(l_resp_data, 1, 5) = 'Auth=' then
l_auth_token := substr(l_resp_data, 6);
end if;
end loop;
exception
when utl_http.end_of_body then
null;
dbms_output.put_line('Auth Token: '||l_auth_token);
utl_http.end_response ( l_response );
-- replace the substitution variables in the template with the parameter values
--utl_http.end_response ( l_response );
l_request := utl_http.begin_request(
'http://www.google.com/calendar/feeds/default/private/full',
'GET',
'HTTP/1.1');
utl_http.set_header(
l_request,
'Content-Type',
'application/atom+xml');
utl_http.set_header(
l_request,
'Authorization',
'GoogleLogin auth='||l_auth_token);
l_response := utl_http.get_response( r => l_request );
utl_http.read_text(
l_response,
l_cal_entry
dbms_output.put_line('Status Code: ' || l_response.status_code);
/*select replace(l_cal_entry,'<?xml version='||'''1.0'''||' encoding='||'''UTF-8'''||'?>','') into l_cal_entry from dual;
select ltrim(l_cal_entry,substr(l_cal_entry,1,148)) into l_cal_entry from dual;
select '<feed'||l_cal_entry into l_cal_entry from dual;
select replace (l_cal_entry,':','-') into l_cal_entry from dual;*/
dbms_output.put_line('Calendar Event: ' || l_cal_entry);
-- xml_result :=XMLType.extract(l_cal_entry,'//title');
delete from xml_test1;
insert into xml_test1 values (l_cal_entry);
utl_http.end_response ( l_response );
select DATA into v_xmldoc from XML_TEST1;
execute immediate 'alter session set events = ''31156 trace name context forever, level 2''';
for i in c1
loop
l_cal_entry:= NULL;
dbms_output.put_line('Result: '||i.title||'*'||i.content||'*'||i.name||'*'||i.start_time||'*'||i.end_time||'*'||i.entry_id);
begin
select 1 into cnt from events_bkp where entry_id = i.entry_id;
select nvl(to_date(rtrim(replace(i.start_time,'T',' '),substr(replace(i.start_time,'T',' '),12,20))||
replace(substr(replace(i.start_time,'T',' '),12,8),'-',':'),'yyyy-mm-dd hh24:mi:ss'),sysdate) into v_start_time from dual;
select nvl(to_date(rtrim(replace(i.end_time,'T',' '),substr(replace(i.end_time,'T',' '),12,20))||
replace(substr(replace(i.end_time,'T',' '),12,8),'-',':'),'yyyy-mm-dd hh24:mi:ss'),sysdate) into v_end_time from dual;
update events_bkp set description = i.title, notes = nvl(i.content,'No Notes'), start_date_time = v_start_time, end_date_time = v_end_time
where entry_id = i.entry_id;
exception when others then
select nvl(to_date(rtrim(replace(i.start_time,'T',' '),substr(replace(i.start_time,'T',' '),12,20))||
replace(substr(replace(i.start_time,'T',' '),12,8),'-',':'),'yyyy-mm-dd hh24:mi:ss'),sysdate) into v_start_time from dual;
select nvl(to_date(rtrim(replace(i.end_time,'T',' '),substr(replace(i.end_time,'T',' '),12,20))||
replace(substr(replace(i.end_time,'T',' '),12,8),'-',':'),'yyyy-mm-dd hh24:mi:ss'),sysdate) into v_end_time from dual;
insert into events_bkp values(events_seq.nextval, 9, 1,1, 4, i.title, nvl(i.content,'No Notes'), v_start_time, v_end_time,'','',
4, 1, sysdate, 1, sysdate, 13, i.entry_id);
end;
commit;
end loop;
execute immediate 'alter session set events = ''31156 trace name context off''';
end authenticate_service_test;
I am able to execute it successfully with my username and password but I am getting error when the number of events are more than 15...
The parameter l_cal_entry which is of clob datatype is not holding the whole xml data.
Please advice....
Thank You,
SrikanthHi Friends,
Now I am able to load all the events of a user by adding the following code
loop
utl_http.read_text(l_response, l_cal);
l_cal_entry:= l_cal_entry||l_cal;
end loop;
but I am getting problem when the user has more than one calendar. The Begin_request link I am using is...
'https://www.google.com/calendar/feeds/default/private/full'
Using this, I am able to get only the events of a default calendar associated to the user.
How can I get the events of all calendars or a particular calendar associated with the user.
I may have to change the above link... I have tried with various combinations by appending calendar id but I am unable get the right combination
Please advice...
Thank You,
Srikanth -
ESB Error - Extension function error: Method not found 'parseEscapedXML'
Hi All
I have written an ESB service in which i have used the function 'parseEscapedXML'. The ESB service works fine in one environment but throws the following error in the other env.
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode xmlns="">env:ESBMessageProcessingFailed</faultcode><faultstring xmlns="">XML-22043: (Error) Extension function error: Method not found 'parseEscapedXML'</faultstring></env:Fault></env:Body></env:Envelope>
I compared the two instances and found that there is a difference in the size of the bpm-services.jar on the two instances. Also the ESB env where the ESB services works in on MLR1 and the instance where its throws an error is on MLR3. Has anyone faced this issue. Does MLR3 overwites this jar with a new jar?
Thanks
RakeshDear,
The addon is a third party addon which was developed by CitiXSys. so the support is provided by the partner who developed the addon.
Go to the vendor Citixys for further support will give you a quick reply.
Regards
Apple
Maybe you are looking for
-
Hi all I am having a problem installing JavaMail I have installed everything, added the mail.jar and activation.jar to my classpath, but when I try to run a JSP I get import errors: javax.mail.*, package mail not found etc etc... When I try to compil
-
Date Calculation in Adobe Designer 7
I have a 'simple' expense sheet that allows the user to pick the start date of a 7 day week for recording and reporting business expenses. The 'start' date is chosen from the drop-down caledar; and the remaining 6 days of the week are generated from
-
Who to make use of bridge table in the report
hi all, I have two tales let us say T1 and T2, having may to may relation .. if i take the one column from T1 table and another column from T2 table in the report.. it is taking more time to generate. What is the problem, why they have interested Bri
-
My Macbook Pro with Mac OS X 10.7.4 has been real slow lately in opening files, saving documents, opening webpages. Any suggestions on ways to speed things up? I often have MS Excel and Word and Outlook open so not sure if that is the problem.
-
Provider problem in .asp page
Hi, The actual provider in my ".asp" page on Windows Server 2003 + Oracle 9i client is : conn.open "Provider=_MSDAORA_;Data Source=xxx;User ID=yyy;Password=zzz;" I've installed a Windows Server 2008, with Oracle 10g client and this provider doesn't w