ViewObject Query [Expert Mode] not fetching the results
I have modified the EO query by selecting the Expert Mode.
When i ran the query in Sql plus im able to view the records, but when i execute the view object, im unable to see the records.
Any help?
Thanks,
Raghu
Hi ,
There is no where clause for the query. Also i have set maxfetchSize as -1.
Hence it should retrive the results from database. Also i printed the Query using getQuery() method.
When i ran the same query offline, i was able to retrive the values.
1. The VO has an entity usage.
2. The VO query is modified in Expert mode.
When vo.executeQuery() is called, it returned 0 records
Following messages are displayed in the log
[389] ViewRowImpl.createMissingEntities: returning null, no matching discrVals for ArSepaMandatesEO in ArSepaMandateDtlsVO
[390] Discr values: 1
[391] ViewRowImpl.createMissingEntities: returning null, no matching discrVals for ArSepaMandatesEO in ArSepaMandateDtlsVO
[392] Discr values: 1
[393] ViewRowImpl.createMissingEntities: returning null, no matching discrVals for ArSepaMandatesEO in ArSepaMandateDtlsVO
[394] Discr values: 1
[395] ViewRowImpl.createMissingEntities: returning null, no matching discrVals for ArSepaMandatesEO in ArSepaMandateDtlsVO
[396] Discr values: 1
[397] ViewRowImpl.createMissingEntities: returning null, no matching discrVals for ArSepaMandatesEO in ArSepaMandateDtlsVO
[398] Discr values: 1
Thanks,
Raghu
Similar Messages
-
Why this query does not show the result?
Why the query with the schema prefixed does not show the result and the query without schema display the correct results?
SQL> select data_object_id,object_type from dba_objects where object_name='HR'.'JOBS';
select data_object_id,object_type from dba_objects where object_name='HR'.'JOBS'
ERROR at line 1:
ORA-00933: SQL command not properly ended
SQL> select data_object_id,object_type from dba_objects where object_name='HR.JOBS';
no rows selected
SQL> select data_object_id, OWNER, object_type from dba_objects where object_name='JOBS';
DATA_OBJECT_ID OWNER OBJECT_TYPE
69662 HR TABLE
OE SYNONYM
SQL> SELECT USER FROM DUAL;
USER
SYSHi,
the column object_name refers to a object_name which is 'JOBS', the column owner refers to the owner 'HR', the value isn't stored together, so you have to select the two columns. It is the same behaviour as every other table/view. Have a look at the values in the view DBA_OBJECTS.
Herald ten Dam
Superconsult.nl -
Crystal Report is very slow to fetch the results of a Query used in Command
Hello All,
We have a query which is used in command object in Business Objects Crystal reports XI. This report is executed against IBM DB2 database. It is taking 40 min to getback the results. Here is the Query. Please suggest how can i improve the performance of this query in report as another reporting tool is taking 2-3 min time to fetch the results with the same query.
SELECT
A1.CARR_NUM , A1.CST_CTR_NUM ,A1.CLM_CLOSE_STS_CD , A1.CLM_RJCT_STS_CD ,A1.CLM_VOID_STS_CD , A1.PMT_MTCH_DT , A1.ASC_TRANS_TYP_CD , A1.DRUG_DESC ,
A1.BATCH_NUM , T5.TPA_RJCT_CD , A1.DIV_NUM , A1.INVC_NUM , A1.SERVICE_DT , A1.ACTL_REFILL_NUM , A1.CLM_DSPSN_CD , A1.INVC_RSBMT_CD , A1.TP_TOTAL_DUE_AMT ,
A1.INTL_BILG_MTHD_CD , A1.CARR_EOB_1_CD , T5.CARR_EOB_CD_DESC , A1.NTNL_DRUG_CD , A1.PTNT_FRST_NM , A1.PTNT_MDDL_INTL , A1.PTNT_LST_NM , A1.PTNT_BIRTH_DT ,
A1.CRDHLDR_ID_NUM
FROM
(SELECT DISTINCT
T1.CARR_NUM , T1.CST_CTR_NUM , T1.CLM_CLOSE_STS_CD , T1.CLM_RJCT_STS_CD , T1.CLM_VOID_STS_CD , T3.PMT_MTCH_DT ,
T3.ASC_TRANS_TYP_CD , T2.DRUG_DESC , T4.BATCH_NUM , T1.DIV_NUM , T1.INVC_NUM , T1 . SERVICE_DT , T1.ACTL_REFILL_NUM ,
T1.CLM_DSPSN_CD , T1.INVC_RSBMT_CD ,T1.TP_TOTAL_DUE_AMT , T1.INTL_BILG_MTHD_CD ,T3.CARR_EOB_1_CD ,T1.NTNL_DRUG_CD , T2.PTNT_FRST_NM , T2.PTNT_MDDL_INTL , T2.PTNT_LST_NM , T2.PTNT_BIRTH_DT , T2.CRDHLDR_ID_NUM
FROM
PDRD2LO.VINVC_CLM T1
, PDRD2LO.VPMNT_DTL T3
, PDRD2LO.VINVC_CLM_2 T2
, PDRD2LO.VINVC_ITM_PHARM T4
WHERE
T1.CLM_CLOSE_STS_CD ='OP'
AND T1.CLM_RJCT_STS_CD ='RJ'
AND T1.CLM_VOID_STS_CD ='NV'
AND T3.ASC_TRANS_TYP_CD ='40'
AND T1.CARR_NUM = T3.CARR_NUM
AND T1.CST_CTR_NUM = T3.CST_CTR_NUM
AND T1.DIV_NUM = T3.DIV_NUM
AND T1.INVC_NUM = T3.INVC_NUM
AND T1.SERVICE_DT = T3.SERVICE_DT
AND T1.CLM_CTRL_NUM = T3.CLM_CTRL_NUM
AND T1.ACTL_REFILL_NUM = T3.ACTL_REFILL_NUM
AND T1.INVC_ITM_NUM = T3.INVC_ITM_NUM
AND T1.REFILL_TRANS_NUM = T3.REFILL_TRANS_NUM
AND T1.CARR_NUM = T2.CARR_NUM
AND T1.CST_CTR_NUM = T2.CST_CTR_NUM
AND T1.DIV_NUM = T2.DIV_NUM
AND T1.INVC_NUM = T2.INVC_NUM
AND T1.SERVICE_DT = T2.SERVICE_DT
AND T1.ACTL_REFILL_NUM = T2.ACTL_REFILL_NUM
AND T1.CLM_CTRL_NUM = T2.CLM_CTRL_NUM
AND T1.INVC_ITM_NUM = T2.INVC_ITM_NUM
AND T1.REFILL_TRANS_NUM = T2.REFILL_TRANS_NUM
AND T1.INVC_CTRL_NUM = T4.INVC_CTRL_NUM) A1
LEFT OUTER JOIN PDRD2LO.VCARR_EOB T5
ON A1.CARR_EOB_1_CD = T5.CARR_EOB_CD
AND A1.CARR_NUM = T5.CARR_NUM
AND A1.DIV_NUM = T5.DIV_NUM
Thanks!Hi Zilla Eh ,
Thanks for the reply.
The another reporting tool name is impromptu and it takes 2-3 min , where in Crystal report is taking around 40 min. Please let me know if you any other questions.
Regards
Ravi -
Hello,
Could someone help me please ?
I have a listing of my sales orders and I want to make changes in my order by opening the form and fetched with that record. When I click on that particular orderno in my listing of order and call the form to display the details, it calls the form but says "Query could not fetch the record". I do not know why ? Please help me with the solution.
ThanxHello,
I think you are passing orderno to called form as a parameter. If you are using parameter list check..
1. If parameter data is getting in form correctly ?
2. Next, have you changed where clause of other block,so that is will display record with passed orderno ?
I am expecting more details from you.
Thanx
Adi -
RSBBS jump query not fetching the document no in R3
Dear Gurus
With RSBBS transcation jump is given to R3 tansaction FB03. When query is executed and with right click go to option and with display document (FB03) its fetching the document no in DEVELOPMENT server . But when the query is transported to Production its not fetching the document no.
Kindly do the needful at the earliest
Regards,
R.SatishHi
You said it is not fetching the doc no. Is it failing and showing some error?
Have all the pre-requisite settings been done via Tcode SICF.
Regards
Nageswara -
Report is not fetching the data from Aggregate..
Hi All,
I am facing the problem in aggregates..
For example when i am running the report using Tcode RSRT2, the BW report is not fetching the data from Aggregates.. instead going into the aggregate it is scanning whole cube Data....
FYI.. Checked the characteristcis is exactely matching with aggregates..
and also it is giving the message as:
<b>Characteristic 0G_CWWPTY is compressed but is not in the aggregate/query</b>
Can some body explain me about this error message.. pls let me know solution asap..
Thankyou in advance.
With regards,
HariHi
Deactivate the aggregates and then rebuild the indexes and then activate the aggregates again.
GTR -
Invoice hold workflow is not fetching the approver from ame
Hi,
I'm trying to get the next approver(3rd level) in wf process from ame through profile option, but it's not fetching the approver.
my query is
SELECT persion_id||employee_id
FROM fnd_user
WHERE employee_id = fnd_profile.VALUE('MG_AP09_PAYABLES_SUPERVISOR')
other two level approvers (level1 and level 2)I'm getting , which is not through profile but direct join of tables as given below
SELECT 'person_id:'|| rcv.EMPLOYEE_ID
FROM ap_holds_all aph
,po_distributions_all pd
,rcv_transactions rcv
WHERE pd.line_location_id = aph.line_location_id
AND pd.PO_DISTRIBUTION_ID= rcv.PO_DISTRIBUTION_ID
AND aph.hold_id = :transactionId
AND transaction_type = 'DELIVER'
SELECT 'person_id:'|| HR2.attribute2
from ap_holds_all AH
,po_line_locations_all PLL
,hr_locations_all HR1
,hr_locations_all HR2
where pll.line_location_id = AH.line_location_id
AND pll.ship_to_location_id = HR1.location_id
AND nvl(HR1.attribute1,HR1.location_id) = HR2.location_id
AND AH.hold_id = :transactionId
what may be the issue?Hi Surjith,
Please look at the code I have written in the user exit, which is just for testing purpose. In SPRO I set workflow as 9 for all the release codes.
IF i_eban-werks = '1000'.
actor_tab-otype = 'US'.
actor_tab-objid = 'S_RITESH'.
APPEND actor_tab.
CLEAR actor_tab.
ENDIF.
In PR I am getting the user name in processor coloumn correctly.
please let me know if I am going wrong.
Thank you. -
I was making some changes to my header file. I did not like the results of the changes, so I changed them back. When I did make the change back, I lost the ability to edit the page.
Unfortunately, a picture of the code is not useful.
The best way for us to help is if you put a copy of your problem page on a server and post a link for us.
(rename it to avoid disrupting your live site)
A less desirable method is to copy & paste your code in a post in the the web forum (not by email)
https://forums.adobe.com/thread/1615559 -
Custom Search Portlet not getting the results as expected.
Hi All,
I am using CustomSearchPortlet and I am having following problems. I created an itemtype IT with attributes A1,A2.Then I configured my custom search portlet to search based on A1,A2 attributes only. I have created 3 instances of items Item1,Item2,Item3 based on itemtype IT as follows
Item1(A1=value11,A2=value12)
Item2(A1=value21,A2=cat22)
Item3(A1=value11,A2=value32)
and when I search for value11, I get Item1,Item3 as results. Till here it was nice and behaving as expected. Suddenly after some time, it stopped working and i am not getting the results I used to get before. The only thing i remember to have changed in the meanwhile was to change the A2 attribute values of some of these items. my searchtext remained the same as value11. I was confused as to why the custom search portlet is not getting these results that it was getting before...Thanks for any help in solving this.
Thanks,
Prasanth.Hi,
If Oracle Text is enabled in your portal, the updated items need to be synchronised before they can be returned in the Search. Since you updated those items, though not changing values for this particular attribute, it will be in the queue for indexing and hence will not be returned until it is indexed.
Thanks. -
Hi,
We are getting the following error when certain data driven subscriptions are fired off: "the query processor could not start the necessary thread resources for parallel query execution". I've read other posts that have the same error, and
the solution usually involves adjusting MaxDOP to limit the number of queries that are fired off in parallel.
Unfortunately, we cannot change this setting on our server for performance reasons (outside of data driven subscriptions, it negatively impacts our ETL processing times). We tried putting query hints like "OPTION (MAXDOP 2);" in the reports
that are causing the error, but it did not resolve the problem.
Are there any settings within Reporting Services that can be adjusted to limit the number of subscriptions that get fired off in parallel?
Any help is appreciated - thanks!Yes, that is correct. It's a painful problem, because you don't know which specific subscription failed. For example, we have a data driven subscription that sends out about 800 emails. Lately, we've been having a handful of them fail. You don't know
which ones out of the 800 failed though, even from the RS log files - all it tells you is that "the
query processor could not start the necessary thread resources for parallel query execution".
Thanks, I'll try changing <MaxQueueThreads> and will let you know if it works.
On a side note: I've noticed that it is only reports with cascading parameters (ex. where parameter 2 is dependent on the selection from parameter 1) that get this error message... -
I can not monitor the results of color correction made ​​in Color
I can not monitor the results of color correction made in Color come out the Blackmagic HD exrteme 3. Since the Final
I have cut the output correctly. I made the settings in the setupproject and setings but I had no success.IN the USER PREFERENCES part of the SETUP TAB, on the right, there should be a VIDEO OUT option...choose the one that matches your media.
-
Can not locate the results to a published survey
I created an online survey for a municipality and published it, now I can not locate the results which have been posted.
When it was first published, and we had submitted a few tests of the system, I was able to see the responses, who had responded and the answers.
Now I can find only the form, no responses.Just hide the Menu Bar. Right-click on the Menu Bar and uncheck Menu Bar.
The Firefox button is there by default in Windows Vista and 7 but not Windows XP. -
Why does f12(preview in browser mode) not render the page correctly?
Why does f12(preview in browser mode) not render the page correctly? Instead when i go to the main or original file, it renders properly? It is drriving me nuts! HAHA! Can anyone help? mainly CSS problem, div overlapping but when viewing from original file on browser not through F12, it renders correctly. CS5.5 DW. Thanks!
just that one of it is a f12 (preview in browser) while the other one is going to the directory and clicking the html page by itself.
F12 is simply a hot key that launches your browser.
The only thing I can think of to explain this is that you have a local site folder someplace in addition to a testing server site.
When you hit preview, your testing server on the localhost/ is being called up in the browser.
When you open the HTML page directly, you're seeing the local site file with unparsed data.
Try disabling your Testing Server in Sites > Manage sites > Edit...
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com/ -
To_date function not fetching the desired result.....
Hi Gurus,
I get varied results from the below 2 queries, I am pessimistic about using to_char instead prefer using to_date, but query doesn't seem to fetch the complete data while using the to_date but with to_char it works. Please can someone make this to_date used query below work for me.
Main table structure:
Column Name ID Pk Null? Data Type Default Histogram Encryption Alg Salt
MINISTRY_CODE 1 Y VARCHAR2 (15 Byte) Yes
BILL_MONTH 2 Y DATE Yes
CUBIC 3 Y NUMBER Yes
GALLONS 4 Y NUMBER Yes
AMOUNTS 5 Y NUMBER Yes
MTR_TYPE 6 Y CHAR (1 Byte) Yes 1st query:
SELECT ministry_code,
DECODE(mtr_type, 'C','Billed Cubic',
'G','Billed Gallons',
'A','Billed OMR',
'R','Collected',
'U','Total Unpaid Bills') mtr_type,
SUM(CASE
WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_char(bill_month,'MMYYYY') = '012011' AND mtr_type = 'C' THEN cubic
WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_char(bill_month,'MMYYYY') = '012011' AND mtr_type = 'G' THEN (gallons)
WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_char(bill_month,'MMYYYY') = '012011' AND mtr_type = 'A' THEN amounts
WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_char(bill_month,'MMYYYY') = '022011' AND mtr_type = 'R' THEN amounts
WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_char(bill_month,'MMYYYY') <= '022011' AND mtr_type = 'U' THEN amounts ELSE 0 END) January
FROM tmp_paew_month_gafu1 WHERE ministry_code IN
(SELECT DISTINCT ministry_code FROM tmp_paew_month_gafu GROUP BY ministry_code)
GROUP BY ministry_code,mtr_type
ORDER BY 1,3 DESCSAMPLE OUTPUT:
MINISTRY_CODE MTR_TYPE JANUARY
001 Billed Gallons 5326252
001 Billed Cubic 24210.2363636364
001 Total Unpaid Bills 16402.5
001 Billed OMR 13287.36
001 Collected 10410.508
002 Total Unpaid Bills 12089.99
002 Billed Cubic 0
002 Billed OMR 0
002 Billed Gallons 0
002 Collected 0
003 Total Unpaid Bills 27418.711
2nd query:
SELECT ministry_code,
DECODE(mtr_type, 'C','Billed Cubic',
'G','Billed Gallons',
'A','Billed OMR',
'R','Collected',
'U','Total Unpaid Bills') mtr_type,
SUM(CASE
WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_char(bill_month) = to_date('012011','MMYYYY') AND mtr_type = 'C' THEN cubic
WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_date(bill_month) = to_date('012011','MMYYYY') AND mtr_type = 'G' THEN (gallons)
WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_date(bill_month) = to_date('012011','MMYYYY') AND mtr_type = 'A' THEN amounts
WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_date(bill_month) = to_date('022011','MMYYYY') AND mtr_type = 'R' THEN amounts
WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_date(bill_month) <= to_date('022011','MMYYYY') AND mtr_type = 'U' THEN amounts ELSE 0 END) January
FROM tmp_paew_month_gafu1 WHERE ministry_code IN
(SELECT DISTINCT ministry_code FROM tmp_paew_month_gafu GROUP BY ministry_code)
GROUP BY ministry_code,mtr_type
ORDER BY 1,3 DESCSample OUTPUT:
MINISTRY_CODE MTR_TYPE JANUARY
001 Total Unpaid Bills 106062.002
001 Billed OMR 0
001 Billed Cubic 0
001 Billed Gallons 0
001 Collected 0
002 Total Unpaid Bills 42023.243
002 Collected 0
002 Billed Gallons 0
002 Billed Cubic 0
002 Billed OMR 0
003 Total Unpaid Bills 133260.435What is the sense of to_date(bill_month) in the second query?
bill_month is already a date. to_date function will expect a character parameter and convert it in a date value.
So what will happen? First the bill_month will be implicitely converted to a character value.
Second this character value will be converted back to a date. You gave no format string. So both conversions will be made will your setting of nls_date_format.
I can only guess what you really want. Perhaps you want to trunc the bill_month with trunc(bill_month,'MM').
Please give us
- table create script
- insert statements for test data
- required output for these test data
- description of your requirements
Edited by: hm on 22.11.2012 23:16 -
SearchBox Not showing the result while entering the query in XSLT Listview webpart
I Have a programmitically created a XSLT listView webpart,in that webpart I have a Searchbox.If any search query i given in that box result is not showing or list items is not filtering based on the query.My code is below
SPListItemCollection listItemColl = this.GetData();
SPListItem listItem = null;
string ListName = string.Empty;
string listViewName = string.Empty;
try
// create our List View web part
XsltListViewWebPart wp = new XsltListViewWebPart();
SPWeb web = SPContext.Current.Web;
if (listItemColl.Count > 0)
listItem = listItemColl[0];
if (listItem[CommonResources.List_Field_TilesListName] != null)
this.divListviewConfigTileWrapper.Controls.Clear();
ListName = Convert.ToString(listItem[CommonResources.List_Field_TilesListName]);
SPList list = web.Lists[ListName];
wp.ID = ListName + "_WP";
wp.ListId = list.ID;
wp.ListName = list.ID.ToString("B").ToUpper();
wp.WebId = web.ID;
if (listItem[CommonResources.List_Field_ListViewName] != null)
listViewName = Convert.ToString(listItem[CommonResources.List_Field_ListViewName]);
wp.XmlDefinition = list.Views[listViewName].GetViewXml();
wp.ViewGuid = list.Views[listViewName].ID.ToString("B").ToUpper();
else
wp.XmlDefinition = list.DefaultView.GetViewXml();
wp.ViewGuid = list.DefaultView.ID.ToString("B").ToUpper();
wp.InplaceSearchEnabled = true;
wp.AllowConnect = true;
wp.AsyncRefresh = true;
wp.ViewGuid = list.Views[listViewName].ID.ToString("B").ToUpper();
wp.View.TabularView = false;
Control ctrl = (Control)wp;
this.divListviewConfigTileWrapper.Controls.Add(ctrl);
Any please help me regarding this.Hi Karthik,
Is your question related in any ways to Microsoft scheduling solution PROJECT? In case it is, please develop with more details about the exact issue, technology, environment, version...
In case it is not, please delete and post it to the right TechNet forum in order to have an helpful hand.
Regards.
Guillaume Rouyre - MBA, MCP, MCTS
Maybe you are looking for
-
Error in Bapi_pr_create
Hi, I am trying to call Bapi_PR_Create in a report. But it gives me an error saying "Plant I001 not defined.Please check your input." The Bapi creates a PR successfully with the same data when called executed separately. What could be wrong? Please h
-
Previous Years revenue along with current year
Hi, We have a universe on top of BEX query. I am trying to query it for a particular year and the result should have the queried year revenue and revenue of previous years available. For example: if I am querying for 2010 the report should have 2010
-
Importing picture material from Adobe Lightroom
Dear iBook Author Community, I am creating quite some photo and textual content materila and intend to start my own series of iBooks just now. In order to enhance user experience for my travle photo collections, I intend to import my photo material t
-
Is it possible to deactivate the New Ledger when you have started to implemented it? In fact, we did not migrate the data. If yes, how ? Please know that we did not migrate the data. For the moment, we have just activate the New Ledger and we woul
-
Two apps, same functionality but different branding? (Product Flavors?)
I would like to release two versions of my application. The implementation is basically the same but with a different branding. So there may be different texts, images, resources, API endpoints. Also it should have its own Package.appxmanifest and Pa