FMS query erroring out
I created an fms query so my users could pick a default GL account and save to a UDF on the BP window. This query is now working fine. I then created a 2nd fms query and attached it to the "G/L Account" field on the AP invoice window so that when a vendor is selected and the user clicks on this field the GL account from the vendor's UDF will default.
My problem is that the G/L Account field on the AP Invoice doesn't have a magnifying glass and shiftF2 does nothing. If I go to tools/customize/User-Defined Values Setup it immediately shows the query I have linked to the field. If I press ShiftF2 I get an "Internal error 8180". If I go to Query Manager and run my query it errors out with a long msg saying "Microsoft SQL Native Client SQL Server incorrect syntax near '$[$4.0.0]'.2. Microsoft SQL Native Client SQL Server Statement activities OCLG (s) could not be prepared.
Below is my query which I copied from one of Gordon's prior posts. It worked fine last week and we have made no changes. My user defined field is DGL. For some reason the forum changes the code below, but at the very end it should read dollar sign, open parenthesis, dollar sign, 4 dot 0 dot 0, closed parethesis.
Select T0.U_DGL from dbo.OCRD T0 Where T0.CardCode = $[$4.0.0]
Hi Robert,
Try this query:
SELECT T0.\[U_DGL\] FROM OCRD T0 WHERE T0.\[CardCode\] = $\[$4.CardCode\]
Regards,
Adrian
Similar Messages
-
Query erroring out with lack of temp space?
I have 2 databases. One was cloned from the other on to another server.
On one server the query takes 5 seconds to run on the other server the query errors lack with lack of disk space.
The init files are the same. The Oracle memory is the same. The temp tablespace size is the same.
I'm stuck!
What should I look for to find out what is causing the error?On both databases the version is 9.2.0.6.
This is the view that worked in database1 and errored in database2...
CREATE OR REPLACE VIEW SAP_STAGE.MTC_STG_MEASURE_POINT_V
EQUIP_NO,
MEASUR_PNTPOS,
CHARACT_NAME,
UNIT,
MEASUR_PNT_DESC,
VALUATION_CODE,
TEXT_FIELD
AS
SELECT DISTINCT xref.equnr AS equip_no, rpmp.*
FROM sap_stage.measuring_point mp JOIN xref_sap_equi xref
ON TRIM (mp.equip_no) = TRIM (xref.groes)
JOIN stg_mtc_msf600 msf600
ON TRIM (mp.equip_no) = TRIM (msf600.equip_no)
AND TRIM (msf600.dstrct_code) in ('347','315')
JOIN rec_prodstat_code_measur_pts rpmp ON 1 = 1
If I qualify all the tables with SAP_STAGE the query runs in 5 seconds in database2.
Why does the query run in database 1 without the schema names? -
Comma delimited in Sql query decode function errors out
Hi All,
DB: 11.2.0.3.0
I am using the below query to generate the comma delimited output in a spool file but it errors out with the message below:
SQL> set lines 100 pages 50
SQL> col "USER_CONCURRENT_QUEUE_NAME" format a40;
SQL> set head off
SQL> spool /home/xyz/cmrequests.csv
SQL> SELECT
2 a.USER_CONCURRENT_QUEUE_NAME || ','
3 || a.MAX_PROCESSES || ','
4 || sum(decode(b.PHASE_CODE,'P',decode(b.STATUS_CODE,'Q',1,0),0)) Pending_Standby ||','
5 ||sum(decode(b.PHASE_CODE,'P',decode(b.STATUS_CODE,'I',1,0),0)) Pending_Normal ||','
6 ||sum(decode(b.PHASE_CODE,'R',decode(b.STATUS_CODE,'R',1,0),0)) Running_Normal
7 from FND_CONCURRENT_QUEUES_VL a, FND_CONCURRENT_WORKER_REQUESTS b
where a.concurrent_queue_id = b.concurrent_queue_id AND b.Requested_Start_Date <= SYSDATE
8 9 GROUP BY a.USER_CONCURRENT_QUEUE_NAME,a.MAX_PROCESSES;
|| sum(decode(b.PHASE_CODE,'P',decode(b.STATUS_CODE,'Q',1,0),0)) Pending_Standby ||','
ERROR at line 4:
ORA-00923: FROM keyword not found where expected
SQL> spool off;
SQL>
Expected output in the spool /home/xyz/cmrequests.csv
Standard Manager,10,0,1,0
Thanks for your time!
Regards,Get to work immediately on marking your previous questions ANSWERED if they have been!
>
I am using the below query to generate the comma delimited output in a spool file but it errors out with the message below:
SQL> set lines 100 pages 50
SQL> col "USER_CONCURRENT_QUEUE_NAME" format a40;
SQL> set head off
SQL> spool /home/xyz/cmrequests.csv
SQL> SELECT
2 a.USER_CONCURRENT_QUEUE_NAME || ','
3 || a.MAX_PROCESSES || ','
4 || sum(decode(b.PHASE_CODE,'P',decode(b.STATUS_CODE,'Q',1,0),0)) Pending_Standby ||','
5 ||sum(decode(b.PHASE_CODE,'P',decode(b.STATUS_CODE,'I',1,0),0)) Pending_Normal ||','
6 ||sum(decode(b.PHASE_CODE,'R',decode(b.STATUS_CODE,'R',1,0),0)) Running_Normal
7 from FND_CONCURRENT_QUEUES_VL a, FND_CONCURRENT_WORKER_REQUESTS b
where a.concurrent_queue_id = b.concurrent_queue_id AND b.Requested_Start_Date <= SYSDATE
8 9 GROUP BY a.USER_CONCURRENT_QUEUE_NAME,a.MAX_PROCESSES;
|| sum(decode(b.PHASE_CODE,'P',decode(b.STATUS_CODE,'Q',1,0),0)) Pending_Standby ||','
>
Well if you want to spool query results to a file the first thing you need to do is write a query that actually works.
Why do you think a query like this is valid?
SELECT 'this, is, my, giant, string, of, columns, with, commas, in, between, each, word'
GROUP BY this, is, my, giant, stringYou only have one column in the result set but you are trying to group by three columns and none of them are even in the result set.
What's up with that?
You can only group by columns that are actually IN the result set. -
Embedding a report designer query into a template - errors out
In a template i want to include the report designer query, with the web item type - report, when i drag the report item into the template and try to edit it, it takes me to the report designer, there I'm able to open my report designer query - then when i go to - menu - transfer to web apllication designer - it takes me back to WAD but errors out saying it encountered a problem. Did anyone come across this issue? And how did you overcoem this? Any help or pointer would be appreciated and rewarded.
Please find the error log below:
3:45:25 PM.686 ########## END ##########
3:45:25 PM.686 ########## --> com.sap.bi.et.wad.BexWebApplicationDesigner.Launch.Main ##########
3:45:25 PM.686: For Info: WAD Start. Revision: 7005.5.1100.277
GetSystemInformation
SUNI Const: 1.602272
CommunicationFactory.GetSystemInformation (Setting Conn 1)): 1.602272
CommunicationFactory.GetSystemInformation (Setting Conn 2)): 7.110082
CommunicationFactory.GetSystemInformation (Setting init Propties)): 7.110082
CommunicationFactory.GetSystemInformation (SUNI.FUNCTION_EXISTS)): 7.710934
RSR_XLS_RFCtrc: 8.51207
CommunicationFactory.GetSystemInformation (RSR_XLS_NET_INTERFACE)): 18.02556
CommunicationFactory.GetSystemInformation (XML Stuff)): 20.0284
CommunicationFactory.GetSystemInformation (Prop Stuff)): 20.0284
CommunicationFactory.GetSystemInformation (Version)): 20.0284
CommunicationFactory.ObtainSystemInformationandCheckVersion (GetSysInfo)): 20.128542
BExTextPool.New1: 0.300426
BExTextPool.New2: 0.400568
BExTextPool.New3: 0.400568
BExTextPool.New2: 0.400568
CommunicationFactory.ObtainSystemInformationandCheckVersion (CheckAfterLogin)): 1.00142
CommunicationFactory.LogOnUsingComConnection (ObtainSystemInfo)): 21.129962
CommunicationFactory.LogOnUsingComConnection (MainConnectionChangedEvent)): 0
CommunicationFactory.LogOn: 21.730814
3:45:41 PM.458: Connected. System: BID
<?xml version="1.0" encoding="utf-16"?>
<I_T_SEARCH_ATTR xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
<?xml version="1.0" encoding="utf-16"?>
<I_T_SEARCH_ATTR xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
RSR_XLS_RFCtrc: 0.700994
BExThemes.LoadFromBackend: 2.50355
BExThemes.LoadFromBackend: 0
BExThemes.LoadFromBackend: 0
Vert
BExThemes.LoadFromBackend: 0
<?xml version="1.0" encoding="utf-16"?>
<I_T_SEARCH_ATTR xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
BExThemes.LoadFromBackend: 0
Vert
BExThemes.LoadFromBackend: 0
3:47:41 PM.198 ########## END com.sap.bi.et.wad.BexWebApplicationDesigner.Launch.Main ##########
3:47:41 PM.198 ########## --> com.sap.bi.et.wad.RDHost.WADRDHostFactory.MaintainItem ##########
-EXCEPTION-START- 3:47:41 PM.198: External exception in Report Designer (execution) ---
Exception Message: Specified cast is not valid.
Exception at com.sap.bi.et.ReportDesigner.RDbReportDesigner.getCookies()
at com.sap.bi.et.ReportDesigner.RDbReportDesigner.RunFromWAD()
at com.sap.bi.et.wad.RDHost.WADRDHostFactory.MaintainItem(XmlElement iItemTagNode, XmlElement iLibItemTagNode, IWADHostServicesProvider iServicesProvider, Boolean iIsLibItem)
Full Stack:
at com.sap.bi.et.wad.Debug.WriteTraceToFile(Level, String, Exception)
at com.sap.bi.et.wad.Trace.Exception(Exception, String)
at com.sap.bi.et.wad.RDHost.WADRDHostFactory.MaintainItem(XmlElement, XmlElement, IWADHostServicesProvider, Boolean)
at com.sap.bi.et.wad.rdcontrolhost.WADHostFactory.MaintainItem(XmlElement, XmlElement, IWADHostServicesProvider, Boolean)
at com.sap.bi.et.wad.wiz.WADsF4GUIServices.CallCustomItemDialog(XmlElement, Form)
at com.sap.bi.et.wad.man.WADfrmMainWindow.mnuCTXTEditTagCustom_Click(Object, EventArgs)
at System.Windows.Forms.MenuItem.OnClick(EventArgs)
at System.Windows.Forms.MenuItemData.Execute()
at System.Windows.Forms.Command.Invoke()
at System.Windows.Forms.Control.WmCommand(Message&)
at System.Windows.Forms.Control.WndProc(Message&)
at System.Windows.Forms.ScrollableControl.WndProc(Message&)
at System.Windows.Forms.ContainerControl.WndProc(Message&)
at System.Windows.Forms.Form.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32, Int32, Int32)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32, ApplicationContext)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32, ApplicationContext)
at System.Windows.Forms.Application.Run(Form)
at com.sap.bi.et.wad.BexWebApplicationDesigner.Launch.Main()
-EXCEPTION-END----Hi Voodi,
I have the same problem too. Worked fine in SP 9 . Now we are in SP11 with FEP also in SP11 revision 277.Did you resolve the issue if so how?
Thanks,
Karthik -
ADM Error processing results from query: Error: Index 0 out of range
11.1.2.1
When running quite a large book, we are getting the following error:
ADM Error processing results from query: Error: Index 0 out of range
The individual reports in the books are running fine.
PS. The report books that are giving this error run fine on 9.3.1
Could this be a time-out issue and how do we resolve it?what is background datasource Essbase or HFM
do you have lot of data in pov please try below
>Do you have pov prompt
>increase jvm heap size for report server in reporting server
>Fr log files has some more detail -
Running Answers query based on SAP BW metadata errors out
Hello,
When we run a query in Answers built upon SAP BW metadata in OBIEE repository , it errors out. The report runs for a long time ( around 10 minutes ) and then the following error message is displayed. This error occurs even in latest version 10.1.3.4.
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. Expected an attribute value (HY000)
SQL Issued: SELECT "Billing doc. date"."Billing doc. date Level 01" saw_0, "Material (Sales)"."Key#3" saw_1, "SlsSold: Cust Hi Lvl"."Key#5" saw_2, "ZBILLIFC/ZCMI_ZBILLIFC_DATASOURCE"."Billing Qty:Base UoM" saw_3, "ZBILLIFC/ZCMI_ZBILLIFC_DATASOURCE"."Doc Gross Sls Amt" saw_4 FROM ZBILLIFC WHERE "Billing doc. date"."Billing doc. date Level 01" IN ('01/01/2008', '04/01/2008', '04/15/2008') ORDER BY saw_0, saw_1, saw_2
The Logical SQL and query code is
-------------------- Logical Request (before navigation):
RqList
Billing doc. date.Billing doc. date Level 01 as c1 GB,
Material (Sales).Key#3 as c2 GB,
SlsSold: Cust Hi Lvl.Key#5 as c3 GB,
Billing Qty:Base UoM:[DAggr(ZBILLIFC/ZCMI_ZBILLIFC_DATASOURCE.Billing Qty:Base UoM by [ Billing doc. date.Billing doc. date Level 00, Billing doc. date.Billing doc. date Level 01, Material (Sales).Key#3, SlsSold: Cust Hi Lvl.Key#5] )] as c4 GB,
Doc Gross Sls Amt:[DAggr(ZBILLIFC/ZCMI_ZBILLIFC_DATASOURCE.Doc Gross Sls Amt by [ Billing doc. date.Billing doc. date Level 00, Billing doc. date.Billing doc. date Level 01, Material (Sales).Key#3, SlsSold: Cust Hi Lvl.Key#5] )] as c5 GB,
Billing doc. date.Billing doc. date Level 00 as c6 GB
DetailFilter: Billing doc. date.Billing doc. date Level 01 in ([ '01/01/2008', '04/01/2008', '04/15/2008'] )
OrderBy: c1 asc, c2 asc, c3 asc
-------------------- Sending query to database named ZBILLIFC (id: <<3594792>>):
With
set [0BILL_DATE1] as '{[0BILL_DATE].[LEVEL00].members}'
set [0BILL_DATE2] as ' hierarchize ({ [0BILL_DATE1], Generate({[0BILL_DATE1]},Descendants([0BILL_DATE].currentmember,[0BILL_DATE].[LEVEL01],SELF), ALL) } )'
set [0MAT_SALES2] as '{[0MAT_SALES].[LEVEL01].members}'
set [ZSOLDTO__ZCUSTHI2] as '{[ZSOLDTO__ZCUSTHI].[LEVEL01].members}'
set [Q] as 'crossjoin ({[0BILL_DATE2]},crossjoin ({[0MAT_SALES2]},{[ZSOLDTO__ZCUSTHI2]}))'
select
{[Measures].[4BN5BQ04SN24SMG6AVQ4YF3DW],[Measures].[4BN5BQ7TBLNUB8ZMGPSH8H23O]}on columns,
NON EMPTY {[Q]} properties MEMBER_UNIQUE_NAME, PARENT_UNIQUE_NAME , [0MAT_SALES].[20MAT_SALES] , [ZSOLDTO__ZCUSTHI].[2ZSOLDTO__ZCUSTHI] on rows
from
[ZBILLIFC/ZCMI_ZBILLIFC_DATASOURCE]
Any help would be highly appreciated.
Thanks
AzfarIt looks like an error in your "where" clause.
You have:
WHERE "Billing doc.date", "Billing doc. date Level 01" IN ('01/01/2008', '04/01/2008', '04/15/2008')
It looks like it should be:
WHERE "Billing doc.date" IN ('01/01/2008', '04/01/2008', '04/15/2008')
AND "Billing doc.date Level 01" = <enter a condition here> -
In R12 standard Auto Invoice Import program is erroring out
Hi All,
The standard Auto Invoice Import concurrent porgram is erroring out when i run for the source as 'SUM_DIF', in the log messages its showing the following error:
UPDATE RA_INTERFACE_LINES L1
SET REQUEST_ID = :b1,
LAST_UPDATE_DATE = sysdate,
LAST_UPDATED_BY = :b2,
LAST_UPDATE_LOGIN = :b3,
CUSTOMER_TRX_ID = NULL,
INTERFACE_LINE_ID = NVL(INTERFACE_LINE_ID,
RA_CUSTOMER_TRX_LINES_S.NEXTVAL),
SET_OF_BOOKS_ID = NVL(SET_OF_BOOKS_ID, :b4),
LINK_TO_LINE_ID =
SELECT INTERFACE_LINE_ID
FROM RA_INTERFACE_LINES L2
WHERE L2.REQUEST_ID = :b5
AND L2.INTERFACE_LINE_CONTEXT = 'SUM_DIF'
AND L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
AND L1.LINK_TO_LINE_ATTRIBUTE13 = L2.INTERFACE_LINE_ATTRIBUTE13
AND L1.LINK_TO_LINE_ATTRIBUTE14 = L2.INTERFACE_LINE_ATTRIBUTE14
AND L1.LINK_TO_LINE_ATTRIBUTE15 = L2.INTERFACE_LINE_ATTRIBUTE15
AND L1.LINK_TO_LINE_ATTRIBUTE1 = L2.INTERFACE_LINE_ATTRIBUTE1
WHERE NVL(INTERFACE_STATUS, '~') != 'P'
AND (REQUEST_ID IS NULL OR REQUEST_ID IN (:b6)
AND EXISTS
SELECT 'x'
FROM RA_INTERFACE_LINES L2
WHERE L2.REQUEST_ID = :b7
AND L2.INTERFACE_LINE_CONTEXT = 'SUM_DIF'
AND L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
AND L1.LINK_TO_LINE_ATTRIBUTE13 = L2.INTERFACE_LINE_ATTRIBUTE13
AND L1.LINK_TO_LINE_ATTRIBUTE14 = L2.INTERFACE_LINE_ATTRIBUTE14
AND L1.LINK_TO_LINE_ATTRIBUTE15 = L2.INTERFACE_LINE_ATTRIBUTE15
AND L1.LINK_TO_LINE_ATTRIBUTE1 = L2.INTERFACE_LINE_ATTRIBUTE1
len = 1289
Current system time is 18-SEP-2008 21:35:19
APP-AR-11526: ORA-01427: single-row subquery returns more than one row
UPDATE RA_INTERFACE_LINES L1
SET REQUEST_ID = :b1,
LAST_UPDATE_DATE = !
APP-AR-11526: 5069629/ar/src/autoinv/raamil.lpc 1342
UPDATE RA_INTERFACE_LINES L1
SET REQUEST_ID = :b1,
LAST_UPDATE_DATE = sysdate,
LAST_UPDATED_BY = :b2,
LAST_UPDATE_LOGIN = :b3,
CUSTOMER_TRX_ID = NULL,
INTERFACE_LINE_ID = NVL(INTERFACE_LINE_ID,
RA_CUSTOMER_TRX_LINES_S.NEXTVAL),
SET_OF_BOOKS_ID = NVL(SET_OF_BOOKS_ID, :b4),
LINK_TO_LINE_ID =
SELECT INTERFACE_LINE_ID
FROM RA_INTERFACE_LINES L2
WHERE L2.REQUEST_ID = :b5
AND L2.INTERFACE_LINE_CONTEXT = 'SUM_DIF'
AND L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
AND L1.LINK_TO_LINE_ATTRIBUTE13 = L2.INTERFACE_LINE_ATTRIBUTE13
AND L1.LINK_TO_LINE_ATTRIBUTE14 = L2.INTERFACE_LINE_ATTRIBUTE14
AND L1.LINK_TO_LINE_ATTRIBUTE15 = L2.INTERFACE_LINE_ATTRIBUTE15
AND L1.LINK_TO_LINE_ATTRIBUTE1 = L2.INTERFACE_LINE_ATTRIBUTE1
WHERE NVL(INTERFACE_STATUS, '~') != 'P'
AND (REQUEST_ID IS NULL OR REQUEST_ID IN (:b6)
AND EXISTS
SELECT 'x'
FROM RA_INTERFACE_LINES L2
WHERE L2.REQUEST_ID = :b7
AND L2.INTERFACE_LINE_CONTEXT = 'SUM_DIF'
AND L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
AND L1.LINK_TO_LINE_ATTRIBUTE13 = L2.INTERFACE_LINE_ATTRIBUTE13
AND L1.LINK_TO_LINE_ATTRIBUTE14 = L2.INTERFACE_LINE_ATTRIBUTE14
AND L1.LINK_TO_LINE_ATTRIBUTE15 = L2.INTERFACE_LINE_ATTRIBUTE15
AND L1.LINK_TO_LINE_ATTRIBUTE1 = L2.INTERFACE_LINE_ATTRIBUTE1
Error calling raamil()
Error calling raapft()
Thanks,
Ramakrishna.
Edited by: user605279 on Sep 18, 2008 11:59 PMRamakrishna
Looks like this is for the tax line (based on the fact that it is trying to update the link_to_line_id). The issue seems to be from the duplicate interface_line_attributes for the two different lines.This leads to this query returning more than one row for the tax line when it is trying to update.
For two different lines, make one of your interface_line_attributes (in this query I see 1, 13, 14, 15) unique.
Thanks
Nagamohan -
Program is erroring out in production system due to transport being missed
hey,
we are having a issue where program is erroring out in production which works perfectly fine in dev. we are guessing because of transport is being missed to move to production.
what is the best solution.
is there way in SAP where we can overwrite a whole program with a current program in dev using a transport so that program will contain latest code. how to create such transport. i created using write a transport entry option in se80 where i recreated a workbench request transport which errored out as welll. what are other options.
thanksRamakrishna
Looks like this is for the tax line (based on the fact that it is trying to update the link_to_line_id). The issue seems to be from the duplicate interface_line_attributes for the two different lines.This leads to this query returning more than one row for the tax line when it is trying to update.
For two different lines, make one of your interface_line_attributes (in this query I see 1, 13, 14, 15) unique.
Thanks
Nagamohan -
"Error: Out of Memory" when trying to Render
Hello all,
I'm editing a project in FCP 5 that is using, in part, .mpeg-4 videos downloaded from the internet. After several weeks on the project with things going fine, the downloaded videos can no longer render. I can see them in the source window, but when laid into the sequence these downloaded videos produce an "Error: Out of Memory" message. Other videos of this type that are already rendered and playing in the existing sequence cannot be re-rendered or adjusted without producing the same Error message.
A few things to remember...
1. Other types of rendering, such as filters and fit to fill effects, render just fine.
2. There is over 30 GBs on the external drive this project is running on.
3. I've tried resetting scratch disks, transferring the project to another drive, and opening it on a new, super-fast computer, and nothing is different.
Please help, I'm really stuck in the mud here and am dying to get past this issue,
Peace,
SamDid either of you find an answer? I'm running into the S A M E issues. I feel strongly that it has to do with the quicktime update, as editing mp4's worked FINE in January.
There is a lengthy protocol for trying to circumvent this issue:
http://discussions.apple.com/thread.jspa?threadID=1413028&tstart=0
Didn't work for me, but I think it worked for the query. And VLC (http://www.videolan.org/) ended up being the only program I can even VIEW mp4 in now properly.
So if you can use a viewer, that works. -
SAP query error - 1). [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting date and/or time from character string. 'Received Alerts' (OAIB)
SELECT
CASE WHEN T0.DocStatus = 'O' THEN 'OPEN'
WHEN T0.DocStatus = 'C' THEN 'CLOSED' END AS 'Document Status',
T0.DocDate AS 'Posting Date',
T0.DocNum AS 'Doc.No',
T0.NumAtCard,
T0.TransId AS 'Trans. No.',
T0.Comments AS 'Remarks',
T0.CardCode AS 'Offset Acct',
T0.CardName AS 'Offset Acct Name',
sum(T0.DocTotal) + (T0.WTSum) as 'DocTotal',
T3.DueDate AS 'Cheque Date',
T3.CheckSum AS 'Amount'
FROM ODPO AS T0 LEFT OUTER JOIN
VPM2 AS T1 ON T0.ObjType = T1.InvType AND T0.DocEntry = T1.DocEntry LEFT OUTER JOIN
OVPM AS T2 ON T2.DocEntry = T1.DocNum LEFT OUTER JOIN
VPM1 AS T3 ON T2.DocEntry = T3.DocNum
where T0.DocDate>='[%0]' and T0.DocDate<='[%1]'Hi,
Try this:
SELECT
CASE WHEN T0.DocStatus = 'O' THEN 'OPEN'
WHEN T0.DocStatus = 'C' THEN 'CLOSED' END AS 'Document Status',
T0.DocDate AS 'Posting Date',
T0.DocNum AS 'Doc.No',
T0.NumAtCard,
T0.TransId AS 'Trans. No.',
T0.Comments AS 'Remarks',
T0.CardCode AS 'Offset Acct',
T0.CardName AS 'Offset Acct Name',
sum(T0.DocTotal) + (T0.WTSum) as 'DocTotal',
T3.DueDate AS 'Cheque Date',
T3.CheckSum AS 'Amount'
FROM ODPO T0 LEFT OUTER JOIN
VPM2 T1 ON T0.ObjType = T1.InvType AND T0.DocEntry = T1.DocEntry
LEFT OUTER JOIN
OVPM T2 ON T2.DocEntry = T1.DocNum LEFT OUTER JOIN
VPM1 T3 ON T2.DocEntry = T3.DocNum
where T0.DocDate >= '[%0]' and T0.DocDate <='[%1]'
group by T0.DocStatus,T0.DocDate ,
T0.DocNum ,
T0.NumAtCard,
T0.TransId ,
T0.Comments ,
T0.CardCode,
T0.CardName ,
T0.WTSum ,
T3.DueDate ,
T3.CheckSum
Thanks & Regards,
Nagarajan -
The appraisal pages error out when I apply my VO substitution
Hi All
We are in the process of performing an upgrade from 11i to R12.1.3.
In the 11i instance, Appraisal VO (/oracle/apps/per/selfservice/appraisals/server/AppraisalVO) was substituted to add one more entry in the select clause.
As part of R12, this underlying standard VO has undergone some changes in the select clause. So I have re-done the substitution.
But when I try to apply this substitution, the pages accessing AppraisalVO error out with null pointer exceptions.
The VO is being used in multiple flows. All the flows are throwing NPEs from standard code.
An example of the error from one such flow is as below :
java.lang.Thread.run(Thread.java:619) ## Detail 0 ## java.lang.NullPointerException at oracle.apps.per.selfservice.appraisals.server.AppraisalsAMImpl.isParticipantsReviewDisplayed(AppraisalsAMImpl.java:1642)
The line of code at 1642 is as below:
return new Boolean(!appraisalvorowimpl.getSelfAppraisal().booleanValue());
Any pointers?
- Thanks
DeepikaHi Gyan
Yes, as you rightly said, even I could make out that the issue is because getSelfAppraisal() is getting returned as null
But the issue is that when I run the query standalone on Toad, with appraisal ID as parameter, it returns me the row.
However, SelfAppraisal is a transient attribute in the VO and hence am unable to ascertain if the value is getting returned as null or not.
Also, I observed that all the others flows where we are facing NPEs are also originating from the line of code in standard files, where they are trying to access the getters of the RowImpl.
The system is able to get the handle to the RowImpl, however when trying to access the getters in the RowImpl, it errors out.
Any pointers?
- Thanks
Deepika -
Scenerio Sheet erroring out in the process of opening it.
In the process of checking scenerios we got this issue where it is mentioned "We encountered a problem performing your request . please contact oracle referring to error tag (otzjck)".
While publishing the model One dimension BOM is erroring out and hence creating issue while 'zoom in' in the another scenario excel planning sheet earlier.
Please let us know the process for resolving this issue.
Thanks & regards
Lokesh RathiCaused by: com.interla
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:31:58,321 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:37:25,670 [http-8080-Processor25] RowSourceDrivenDependency INFO - Resetting dimension:BOM
2010-04-20 15:37:25,670 [http-8080-Processor25] RowSourceDrivenDependency INFO - Initializing dimension:BOM
2010-04-20 15:37:25,701 [http-8080-Processor25] RowSourceDrivenDependency INFO - Resetting dimension:BOM
2010-04-20 15:37:25,701 [http-8080-Processor25] RowSourceDrivenDependency INFO - Initializing dimension:BOM
2010-04-20 15:37:25,763 [http-8080-Processor25] RowSourceDrivenDependency INFO - Resetting dimension:BOM
2010-04-20 15:37:25,763 [http-8080-Processor25] RowSourceDrivenDependency INFO - Initializing dimension:BOM
2010-04-20 15:37:25,779 [http-8080-Processor25] RowSourceDrivenDependency INFO - Resetting dimension:BOM
2010-04-20 15:37:25,779 [http-8080-Processor25] RowSourceDrivenDependency INFO - Initializing dimension:BOM
2010-04-20 15:37:25,810 [http-8080-Processor25] RowSourceDrivenDependency INFO - Resetting dimension:BOM
2010-04-20 15:37:25,810 [http-8080-Processor25] RowSourceDrivenDependency INFO - Initializing dimension:BOM
2010-04-20 15:37:26,920 [http-8080-Processor25] Cube INFO - Initializing cube Production in schema 0
2010-04-20 15:37:26,951 [http-8080-Processor25] RowSourceDrivenDependency INFO - Resetting dimension:BOM
2010-04-20 15:37:26,951 [http-8080-Processor25] RowSourceDrivenDependency INFO - Initializing dimension:BOM
2010-04-20 15:37:26,951 [http-8080-Processor25] Request ERROR - ISException processing request [execute]
com.interlacesystems.model.MetadataException: Initialization error for cube [Production] in schema 0
at com.interlacesystems.model.Cube.initialize(Unknown Source)
at com.interlacesystems.model.CubeRepository.get(Unknown Source)
at com.interlacesystems.constraint.BrokenConstraintQueryObject.<init>(Unknown Source)
at com.interlacesystems.constraint.BrokenConstraintRepository.readEntryForDisplay(Unknown Source)
at com.interlacesystems.constraint.BrokenConstraintRepository.readEntriesForDisplay(Unknown Source)
at com.interlacesystems.constraint.BrokenConstraintRepository.getLocalBrokenConstraintsForDisplay(Unknown Source)
at com.interlacesystems.model.Sandbox.getLocalBrokenConstraintsAsList(Unknown Source)
at com.interlacesystems.model.Sandbox.getLocalBrokenConstraints(Unknown Source)
at com.interlacesystems.api.Response.getScenarioEventsForActive(Unknown Source)
at com.interlacesystems.api.Response.getEvents(Unknown Source)
at com.interlacesystems.isclient.analyzer.display.ExceptionDisplay.<init>(Unknown Source)
at com.interlacesystems.isclient.analyzer.display.BookDisplay.updateImpactDisplays(Unknown Source)
at com.interlacesystems.isclient.analyzer.display.BookDisplay.<init>(Unknown Source)
at com.interlacesystems.isclient.analyzer.action.BookAction$7.run(Unknown Source)
at com.interlacesystems.isclient.analyzer.action.ActionRequest.process(Unknown Source)
at com.interlacesystems.scope.Request.execute(Unknown Source)
at com.interlacesystems.isclient.analyzer.action.BookAction.doLoad(Unknown Source)
at com.interlacesystems.isclient.analyzer.action.BookAction.execute(Unknown Source)
at com.interlacesystems.isclient.analyzer.WorkbookServlet.runAction(Unknown Source)
at com.interlacesystems.isclient.analyzer.WorkbookServlet.doGet(Unknown Source)
at com.interlacesystems.isclient.analyzer.WorkbookServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.interlacesystems.isclient.auth.SessionInitFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.interlacesystems.isclient.auth.AuthenticationFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.interlacesystems.isclient.auth.RootFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)
Caused by: com.interlacesystems.db.DBException
at com.interlacesystems.model.Dimension.select(Unknown Source)
at com.interlacesystems.model.Dimension.<init>(Unknown Source)
at com.interlacesystems.model.DimensionRepository$DimensionKey.instantiate(Unknown Source)
at com.interlacesystems.model.DimensionRepository$DimensionKey.instantiate(Unknown Source)
at com.interlacesystems.util.Cache.instantiate(Unknown Source)
at com.interlacesystems.util.Cache.get(Unknown Source)
at com.interlacesystems.util.Cache.get(Unknown Source)
at com.interlacesystems.db.DBCache.get(Unknown Source)
at com.interlacesystems.model.DimensionRepository$DimensionCache._get(Unknown Source)
at com.interlacesystems.model.DimensionRepository$DimensionCache.get(Unknown Source)
at com.interlacesystems.model.DimensionRepository.cacheGet(Unknown Source)
at com.interlacesystems.model.DimensionRepository.getForKeys(Unknown Source)
at com.interlacesystems.model.DimensionRepository.getAll(Unknown Source)
at com.interlacesystems.model.DimensionRepository.getAll(Unknown Source)
... 46 more
Caused by: com.interlacesystems.model.MetadataException
at com.interlacesystems.model.Dimension.finishDependencies(Unknown Source)
... 60 more
Caused by: com.interlacesystems.rowsource.RowSourceException: Error during validation: Invalid column name SUMMARY
at com.interlacesystems.rowsource.query.AbstractQuery.validateQuery(Unknown Source)
at com.interlacesystems.rowsource.query.AbstractQuery.execute(Unknown Source)
at com.interlacesystems.model.RowSourceDrivenDependency.initializeDataStructures(Unknown Source)
at com.interlacesystems.model.RowSourceDrivenDependency.initializeSandboxMaps(Unknown Source)
at com.interlacesystems.model.RowSourceDrivenDependency.initialize(Unknown Source)
at com.interlacesystems.model.RowSourceDrivenDependency.completeInitialization(Unknown Source)
... 61 more
2010-04-20 15:37:26,951 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:37:26,951 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:37:26,951 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:37:26,951 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:37:26,951 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:37:26,951 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:37:26,951 [http-8080-Processor25] Request ERROR - Rolling back transaction
2010-04-20 15:37:26,951 [http-8080-Processor25] WorkbookServlet ERROR - Error tag [qmvmzm]: Cannot process response action /scenario/652:-1/load: com.interlacesystems.db.DBException
2010-04-20 15:37:34,091 [http-8080-Processor25] RowSourceDrivenDependency INFO - Resetting dimension:BOM
2010-04-20 15:37:34,091 [http-8080-Processor25] RowSourceDrivenDependency INFO - Initializing dimension:BOM
2010-04-20 15:37:34,091 [http-8080-Processor25] Request ERROR - ISException processing request [execute]
com.interlacesystems.db.DBException
at com.interlacesystems.model.Measure.selectSumOps(Unknown Source)
at com.interlacesystems.model.Measure.select(Unknown Source)
at com.interlacesystems.model.Measure.<init>(Unknown Source)
at com.interlacesystems.model.DimensionMemberAccessor.selectMember(Unknown Source)
at com.interlacesystems.model.DefaultMemberAccessor.selectMembersFromDB(Unknown Source)
at com.interlacesystems.model.Dimension.selectMembers(Unknown Source)
at com.interlacesystems.model.Dimension.select(Unknown Source)
at com.interlacesystems.model.Dimension.<init>(Unknown Source)
at com.interlacesystems.model.DimensionRepository$DimensionKey.instantiate(Unknown Source)
at com.interlacesystems.model.DimensionRepository$DimensionKey.instantiate(Unknown Source)
at com.interlacesystems.util.Cache.instantiate(Unknown Source)
at com.interlacesystems.util.Cache.get(Unknown Source)
at com.interlacesystems.util.Cache.get(Unknown Source)
at com.interlacesystems.db.DBCache.get(Unknown Source)
at com.interlacesystems.model.DimensionRepository$DimensionCache._get(Unknown Source)
at com.interlacesystems.model.DimensionRepository$DimensionCache.get(Unknown Source)
at com.interlacesystems.model.DimensionRepository.cacheGet(Unknown Source)
at com.interlacesystems.model.DimensionRepository.get(Unknown Source)
at com.interlacesystems.model.DimensionRepository.get(Unknown Source)
at com.interlacesystems.model.DimensionRepository.get(Unknown Source)
at com.interlacesystems.model.Cube.select(Unknown Source)
at com.interlacesystems.model.Cube.<init>(Unknown Source)
at com.interlacesystems.model.CubeRepository$CubeKey.instantiate(Unknown Source)
at com.interlacesystems.model.CubeRepository$CubeKey.instantiate(Unknown Source)
at com.interlacesystems.util.Cache.instantiate(Unknown Source)
at com.interlacesystems.util.Cache.get(Unknown Source)
at com.interlacesystems.util.Cache.get(Unknown Source)
at com.interlacesystems.db.DBCache.get(Unknown Source)
at com.interlacesystems.model.CubeRepository$CubeCache._get(Unknown Source)
at com.interlacesystems.model.CubeRepository$CubeCache.get(Unknown Source)
at com.interlacesystems.model.CubeRepository.get(Unknown Source)
at com.interlacesystems.model.CubeRepository.get(Unknown Source)
at com.interlacesystems.model.CubeRepository.get(Unknown Source)
at com.interlacesystems.constraint.BrokenConstraintQueryObject.<init>(Unknown Source)
at com.interlacesystems.constraint.BrokenConstraintRepository.readEntryForDisplay(Unknown Source)
at com.interlacesystems.constraint.BrokenConstraintRepository.readEntriesForDisplay(Unknown Source)
at com.interlacesystems.constraint.BrokenConstraintRepository.getLocalBrokenConstraintsForDisplay(Unknown Source)
at com.interlacesystems.model.Sandbox.getLocalBrokenConstraintsAsList(Unknown Source)
at com.interlacesystems.model.Sandbox.getLocalBrokenConstraints(Unknown Source)
at com.interlacesystems.api.Response.getScenarioEventsForActive(Unknown Source)
at com.interlacesystems.api.Response.getEvents(Unknown Source)
at com.interlacesystems.isclient.analyzer.display.ExceptionDisplay.<init>(Unknown Source)
at com.interlacesystems.isclient.analyzer.display.BookDisplay.updateImpactDisplays(Unknown Source)
at com.interlacesystems.isclient.analyzer.display.BookDisplay.<init>(Unknown Source)
at com.interlacesystems.isclient.analyzer.action.BookAction$7.run(Unknown Source)
at com.interlacesystems.isclient.analyzer.action.ActionRequest.process(Unknown Source)
at com.interlacesystems.scope.Request.execute(Unknown Source)
at com.interlacesystems.isclient.analyzer.action.BookAction.doLoad(Unknown Source)
at com.interlacesystems.isclient.analyzer.action.BookAction.execute(Unknown Source)
at com.interlacesystems.isclient.analyzer.WorkbookServlet.runAction(Unknown Source)
at com.interlacesystems.isclient.analyzer.WorkbookServlet.doGet(Unknown Source)
at com.interlacesystems.isclient.analyzer.WorkbookServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.interlacesystems.isclient.auth.SessionInitFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.interlacesystems.isclient.auth.AuthenticationFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.interlacesystems.isclient.auth.RootFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)
Caused by: com.interlacesystems.db.DBException
at com.interlacesystems.model.Dimension.select(Unknown Source)
at com.interlacesystems.model.Dimension.<init>(Unknown Source)
at com.interlacesystems.model.DimensionRepository$DimensionKey.instantiate(Unknown Source)
at com.interlacesystems.model.DimensionRepository$DimensionKey.instantiate(Unknown Source)
at com.interlacesystems.util.Cache.instantiate(Unknown Source)
at com.interlacesystems.util.Cache.get(Unknown Source)
at com.interlacesystems.util.Cache.get(Unknown Source)
at com.interlacesystems.db.DBCache.get(Unknown Source)
at com.interlacesystems.model.DimensionRepository$DimensionCache._get(Unknown Source)
at com.interlacesystems.model.DimensionRepository$DimensionCache.get(Unknown Source)
at com.interlacesystems.model.DimensionRepository.cacheGet(Unknown Source)
at com.interlacesystems.model.DimensionRepository.get(Unknown Source)
at com.interlacesystems.model.DimensionRepository.get(Unknown Source)
at com.interlacesystems.model.DimensionRepository.get(Unknown Source)
at com.interlacesystems.model.DimensionRepository.get(Unknown Source)
at com.interlacesystems.model.Measure.setSummaryHint(Unknown Source)
... 77 more
Caused by: com.interlacesystems.model.MetadataException
at com.interlacesystems.model.Dimension.finishDependencies(Unknown Source)
... 93 more
Caused by: com.interlacesystems.rowsource.RowSourceException: Error during validation: Invalid column name SUMMARY
at com.interlacesystems.rowsource.query.AbstractQuery.validateQuery(Unknown Source)
at com.interlacesystems.rowsource.query.AbstractQuery.execute(Unknown Source)
at com.interlacesystems.model.RowSourceDrivenDependency.initializeDataStructures(Unknown Source)
at com.interlacesystems.model.RowSourceDrivenDependency.initializeSandboxMaps(Unknown Source)
at com.interlacesystems.model.RowSourceDrivenDependency.initialize(Unknown Source)
at com.interlacesystems.model.RowSourceDrivenDependency.completeInitialization(Unknown Source)
... 94 more
2010-04-20 15:37:34,091 [http-8080-Processor25] AbstractQuery WARN - RowSource query object not closed prior to request completion...closing
2010-04-20 15:37:34,091 [http-8080-Processor25] Request ERROR - Rolling back transaction
2010-04-20 15:37:34,091 [http-8080-Processor25] WorkbookServlet ERROR - Error tag [lglpph]: Cannot process response action /scenario/800:-1/load: com.interlacesystems.db.DBException -
Hi,
I'm having trouble passing argument to a named query in the mapping workbench.
Here is my SQL:
SELECT COUNT(*) FROM VALID_PARTY_CLASSIF, CLASSIF_TYPE WHERE CLASSIF_TYPE.CLASSIF_TYPE_ID = VALID_PARTY_CLASSIF.CLASSIF_TYPE_ID AND CLASSIF_TYPE.CLASSIF_TYPE_ID = #ID
and when I find and execute the query, getting following error
Execute query ReadObjectQuery(com.amgen.bria.business.bizobject.ClassificationTypeBO)
SELECT COUNT(*) FROM VALID_PARTY_CLASSIF, CLASSIF_TYPE WHERE CLASSIF_TYPE.CLASSIF_TYPE_ID = VALID_PARTY_CLASSIF.CLASSIF_TYPE_ID AND CLASSIF_TYPE.CLASSIF_TYPE_ID = ?
bind => [56]
Exception [TOPLINK-6044] (OracleAS TopLink - 10g (9.0.4) (Build 031018)): oracle.toplink.exceptions.QueryException
Exception Description: The primary key read from the row [DatabaseRow(
=> 0)] during the execution of the query was detected to be null. Primary keys must not contain null.
Query: ReadObjectQuery(com.amgen.bria.business.bizobject.ClassificationTypeBO)Local Exception Stack:
Exception [TOPLINK-6044] (OracleAS TopLink - 10g (9.0.4) (Build 031018)): oracle.toplink.exceptions.QueryException
Exception Description: The primary key read from the row [DatabaseRow(
=> 0)] during the execution of the query was detected to be null. Primary keys must not contain null.
Query: ReadObjectQuery(com.amgen.bria.business.bizobject.ClassificationTypeBO)
at oracle.toplink.exceptions.QueryException.nullPrimaryKeyInBuildingObject(QueryException.java:541)
at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:262)
at oracle.toplink.queryframework.ObjectLevelReadQuery.buildObject(ObjectLevelReadQuery.java:226)
at oracle.toplink.queryframework.ReadObjectQuery.execute(ReadObjectQuery.java:344)
at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:498)
at oracle.toplink.queryframework.ReadQuery.execute(ReadQuery.java:111)
at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:1968)
at oracle.toplink.threetier.ServerSession.internalExecuteQuery(ServerSession.java:629)
at oracle.toplink.threetier.ClientSession.internalExecuteQuery(ClientSession.java:392)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1096)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1065)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:966)
at com.amgen.bria.persistence.module.toplink.TopLinkPersistenceService.internalExecuteQuery(TopLinkPersistenceService.java:137)
at com.amgen.bria.persistence.PersistenceService.executeQuery(PersistenceService.java:97)
at com.amgen.cma.persistence.service.ClassificationPersistenceService.findCustomerForClassifTypeCount(ClassificationPersistenceService.java:405)
at com.amgen.cma.persistence.service.ClassificationPersistenceServiceTest.testFindCustomerForClassifTypeCount(ClassificationPersistenceServiceTest.java:193)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)
client released
Please let me know if I am missing anything.
Thanks
SaketSaket, the problem is right here:
ReadObjectQuery(com.amgen.bria.business.bizobject.Clas
ificationTypeBO)
When you read a an object mapping back, the primary key you have specified for that object mapping in Toplink has to be part of this search criteria (it is how it's stored in toplink's identity map/cache)
Since you are only executing a 'select count(*)', it is erroring out
HTH,
Sean -
Why is this FMS query not working for me?
There is already a FMS query that works in Delivery Pane. The FMS field there is a user defined field called U_NWR_Bin, rom table DLN1. This works fine and it is alpha numeric 10 characters. This FMS is defined in Marketing Documents rows.
I created another user defined field called U_Bin in table PKL1 for picklist row level. This user defined field shows up in FMS in PickList Pane.
I created a query - SELECT $[DLN1.U_NWR_Bin].
I then assigned above query through Shift F2 to Picklist Pane field U_Bin.
The above query is not executed on clicking the lens it gives the error - Internal error -1004 occured message 131-183.
What am I doing wrong? Please help. Thanks.Hi,
FMS query can only access the current form. $[DLN1.U_NWR_Bin\] is not valid for PickList Pane.
Thanks,
Gordon -
Generate causes SCC Query Error: Unhandled exception
Hi folks,
I have Robohelp X5, I am composing on my local machine with
saves going to an RCS server. I've pretty much figured out that RCS
has a problem with the skins in Robohelp, because if I go to create
a custom skin, I can create it in a non-controlled project. The
second I go to create a custom skin in the controlled version, I
get an infinite loop of the SCCQueryError message, Unhandled
Exception Message Boxes. I have to kill Robohelp, and reboot to get
out of the error message.
Whenever I go to generate the verson controlled project, I
get at least six of these error messages, but the project is
generated and I can open it and can't seem to find anything
missing. So, even though I get the errors in a generate, they don't
affect the ability to generate a project.
I've already checked to be sure that the RCS server is
accepting all the file extensions.. that was my first thought was
that it didn't like the .swf extensions.
Anyone else have or see this problem?
Thanks!Thank you Eilsa... It's a touch complicated, but I am working
off my hard drive, and Robohelp is installed on my hard drive. The
webhelp file that is integrated with the project is being pushed to
the a folder on the development server where RCS resides, and my
project files are being archived in another directory on the RCS
version tracker.
I get the SCC query error (which seems to be an RCS version
tracker error) right after I generate either a local or server
webhelp, about six in all. So I'm thinking that there is some file
extension that RCS is blocking, because I don't get the errors when
I do the same thing with a non-version tracked project.
Forget about trying to create any skins.. (and this is on my
local, too) I have to switch to a non-version tracked project to
create the skins.
But just trying to see if anyone else has seen the
problem..
Maybe you are looking for
-
File Adapter gets error while deleting the file
Hi, We are running on PI 7.0 SP6. I built a simple integration scenario where a file is picked up from a certain directory on the server (PI server itself) and get processed according to some mapping rules and again put to an other directory. I used
-
Af:panelaccordion with dynamic number of af:showDetailItem (af:iterator)
Hi, Jdev 11.1.1.2.0. We need a panel accordion displaying a master-detail relation. The af:showDetailItem displays the text of the master table. To create a af:showDetailItem for each master record I want to use af:iterator but this seems to be an in
-
Crash reporter fails as well. Says report cannot be forwarded to Apple.
-
Do we have any option to do automatic backup
Hi, we have content server on maxdb database i want to schedule automatic database backup , just like doing from DB13 in ABAP system is it possible to do like that please help thanks Samrat
-
Using a Mac Mini, I Photo 9, in edit, the selected photo is not enlarged and I get a solid black box around a !. The photos are only able to viewed in the thumb nail album size. Please help.