RRI / QUERY ISSUES
I have two reports Q001 Purchasing and Q002 Financial. I would like to use RRI to join these reports.
Two thing to be achived
1: transfer variable of sender
2: transfer some fields of sender query to receiver
it is transfering variables but not fields or column of sender report.
for example new report will be
3 fields of sender and 4 fields of receiver
Thanks
Go to the transaction RSBBS. There you will see two options for Sender and Reciever Query.
Sender - Q001
Reciver - Q002
Make sure that you are using the same variables in both the Queries for the fields that you want to transfer.
Similar Messages
-
Dataset query issues twice if the dataset is connected to matrix and used in multilookup function
hello everybody.
could not find any information if this is an intended behavior:
dataset query issues twice if the dataset is connected to matrix and used in multilookup function
parameters in both queries are the same
ssrs: 2008 r2, sharepoint 2010 integrated
sharepoint 2010: september 2014 cu
thanks in advance
Sergey VdovinHello, Wendy.
I prepared a very empty sample report for you to demonstrate the problem - with this report, i hope, there is no place to discuss the shrinking of time data retrieval.
There is one dataset, one parameter and one lookup function. The query is executed twice.
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns:cl="http://schemas.microsoft.com/sqlserver/reporting/2010/01/componentdefinition" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition">
<AutoRefresh>0</AutoRefresh>
<DataSources>
<DataSource Name="DataSource1">
<DataSourceReference>http://t005/ProjectBICenter/DocLib/IntegrationDBVdovin.rsds</DataSourceReference>
<rd:SecurityType>None</rd:SecurityType>
<rd:DataSourceID>7e554344-d6c2-48a5-a7f4-1d24608cb4b5</rd:DataSourceID>
</DataSource>
</DataSources>
<DataSets>
<DataSet Name="DataSet1">
<Query>
<DataSourceName>DataSource1</DataSourceName>
<CommandText>select 1 as temp, '$' as tempname</CommandText>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
</Query>
<Fields>
<Field Name="temp">
<DataField>temp</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="tempname">
<DataField>tempname</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
</DataSet>
</DataSets>
<ReportSections>
<ReportSection>
<Body>
<ReportItems>
<Textbox Name="ReportTitle">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Lookup(1,Fields!temp.Value,Fields!tempname.Value,"DataSet1")</Value>
<Style>
<FontFamily>Verdana</FontFamily>
<FontSize>20pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:WatermarkTextbox>Title</rd:WatermarkTextbox>
<rd:DefaultName>ReportTitle</rd:DefaultName>
<Top>0mm</Top>
<Height>10.16mm</Height>
<Width>139.7mm</Width>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</ReportItems>
<Height>57.15mm</Height>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</Body>
<Width>152.4mm</Width>
<Page>
<PageFooter>
<Height>11.43mm</Height>
<PrintOnFirstPage>true</PrintOnFirstPage>
<PrintOnLastPage>true</PrintOnLastPage>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</PageFooter>
<PageHeight>29.7cm</PageHeight>
<PageWidth>21cm</PageWidth>
<LeftMargin>2cm</LeftMargin>
<RightMargin>2cm</RightMargin>
<TopMargin>2cm</TopMargin>
<BottomMargin>2cm</BottomMargin>
<ColumnSpacing>0.13cm</ColumnSpacing>
<Style />
</Page>
</ReportSection>
</ReportSections>
<ReportParameters>
<ReportParameter Name="ReportParameter1">
<DataType>String</DataType>
<DefaultValue>
<Values>
<Value>1</Value>
</Values>
</DefaultValue>
<Prompt>ReportParameter1</Prompt>
<ValidValues>
<DataSetReference>
<DataSetName>DataSet1</DataSetName>
<ValueField>temp</ValueField>
<LabelField>tempname</LabelField>
</DataSetReference>
</ValidValues>
</ReportParameter>
</ReportParameters>
<rd:ReportUnitType>Mm</rd:ReportUnitType>
<rd:ReportServerUrl>http://t005/ProjectBICenter</rd:ReportServerUrl>
<rd:ReportID>cd1262ef-eca7-4739-a2ce-d3ca832d5cd6</rd:ReportID>
</Report>
Sergey Vdovin -
Hi All,
I have created a web query and assigned it to a role. I have moved the role, web templete and the query from dev to QA was able run the query fine without issues.
The problem I am having is when I make changes to the query and transport it to QA...when I run the query from the role menu it still shows the old query instead of the changed query.
Can someone please explain what are the steps I need to take when I make changes to exsisting web query in dev and move to QA and be able to see the changes. What are all the objects I need to collect. Also would like to know if there are any settings on the role menu or web templete that need to be changed and also any buffers that I need to cleared??
Any help is appriciated and will give max points.
ThanksBWdesi,
please avoid reposts - it could be that due to network issues the post got posted twice... close one of them as answered and then proceed with the other one...
Web Query issues
Arun -
I had query issue on planning layout
Sold mat price qty amount
100 3 5 5 25 layout 1
100 4 10 5 50 layout2
when I should removed material cal has to come like this
100 15 10 75
but I getting value like
100 15 10 150
can u plz tell me how to slove this
regards
rajuDear Raju,
In the query, for the Calculated Key Figure (Amount)
Select properties, enhanced and change to:
"BEFORE AGGREGATION"
It seems to be doing after aggregation, which is default.
it is aggregating:
price = 5+10 = 15
qty = 5+5 = 10
Amount = 15 * 10 = 150
Good luck, BB -
Physical query issued by Obiee when cache is on is different and slow
When the same report runs in OBIEE 10g and cache is OFF it takes less then 1min to get results. If cache is turned ON physical query issued by Obiee is totally different and it takes 2h to get results. Has anyone experienced this with having cache on that some queries are performing poorly.
Thanks,
TatjanaWe are using BI Apps Order Management and Fulfillment Analytics and all tables are cached anyway. Dimensions used are not that huge up to 40K rows. What should I check when it comes to DB query? As I said is different than one generated when cache is disabled although both have the almost the explain plan.
-
Hi,
We are having 3 reports, out of which two bex reports have RRI reports. The receiver report is a URL. During the transport always it says RRI query elements are not active and all the three reports are not going to quality system.
these 3 reports are based on a multiprovider.
Can you please give your suggestion.
Regards
Sudha-As SAPBUDDY suggested try to collect all the Queries from Transport Connection (RSA1) and select all the Query Elements from it. Make sure you expand all the collapsed Query elements.
Do not collect any other objects other than the Query elements.
Try this, and if you still get an error saying that some Query element is inactive or version M then it means you are missing some elements to capture in the transport.
Once the Quries are moved then collect the RRI interface directly from RSBBS. -
Hi,
I created a web template 1 which jumps to another web template 2.This web template 2 has 2 queries. The web template 1 has an infoobject which is also present in both the queries in template 2 with the same variable so that when I click a particular value in 1 it is passed to both the values in template 2. The issue here is even though I am able to jump one of the query is not showing any results in template 2. When I run this query independently it is showing up. Also in DEV I can run this without any problem.It is only in PROD which has this issue. The BW system has been upgraded recently to 3.5 from 3.1C if thats an issue. Looking forward to your comments on this.
Thanks,
KalHi ,
For testing purpose , I have used a single query as sender as well as receiver query.
So , the characteristics set is same.
The query is a simple query, with only one input variable.
and I have assigned it, from variable assignment.
But still the selection screen pop up is coming , when trying to jump.
Please suggest.
Regards,
Biswarup -
I am attempting to connect to a Progress database using JDBC and am having a few issues with my SQL statement. The code concerned looks like this:
// Get a statement from the connection
Statement stmt = conn.createStatement() ;
// Execute the query
ResultSet rs = stmt.executeQuery( "SELECT * FROM pub.cust" ) ;
// Loop through the result set
while( rs.next() )
System.out.println( rs.getString( "cust-code" ) ) ;
That works just fine. Prints out each of the cust-code values. My issue comes when I try to refine the query to be:
ResultSet rs = stmt.executeQuery( "SELECT * FROM pub.cust WHERE cust.Cust-code='100001-0'" ) ;
or even
ResultSet rs = stmt.executeQuery( "SELECT Cust-code FROM pub.cust" ) ;
Both of these give me an error saying Column not found/specified.
if I wrap Cust-code in single quotes, the script prints Cust-code on each line, not the value for it. If I escape Cust-code like Cust\-code, I get an Illegal escape character. Any ideas?I have never used Progress, but maybe you have to fully qualify the field names like this:
ResultSet rs = stmt.executeQuery( "SELECT * FROM pub.cust WHERE pub.cust.Cust-code='100001-0'" ) ;
ResultSet rs = stmt.executeQuery( "SELECT pub.cust.Cust-code FROM pub.cust" ) ;Just a thought. -
Help needed in resolving query issue
Hello all,
Would appreciate any help on the following issue.
Our process has a stored procedure, which used to take 6 mins to run.
We are not sure what changed at what level, but now the query goes on forever( till database shuts down or we kill it), and never returns any result. Also, this is not consistent at all times. Sometimes(!!), it brings back results in expected time.
Apparently nothing changed in the database.
We checked and the query where it gets stuck is as follows:
select a.x,
b.y,
c,z
from a,b,c where
b.header_id =a.header_id and c.property_id =a.property_id(+) and b.status_id in (1,0) and a.date(+)>c.date;
It does not give any error or any mesg, when it reaches this query, and just hangs in there( Mind this was a working query since last 2 months)
We are at a total loss at the inconsistent behaviour of this.
Any help or advise would be greatly appreciated
Thanks
AparajitaI recommend you to post this as well here:
Forums Home » Oracle Technology Network (OTN) » Products » Database » SQL and PL/SQL
Discussion of Oracle SQL and PL/SQL issues
PL/SQL
Joel Pérez -
Oracle Sql Query issue Running on Different DB Version
Hello All,
I have come into situation where we are pruning sql queries on different DB version of Oracle and have performance issue. Let me tell you in brief and i really appreciate for your prompt response as its very imperative stuff.
I have a query which is running on a DB of version 7.3.4 and it takes around 30 mins where as the same query when run on 8i it takes 15sec., its a huge difference. I have run the statistics to analyze on 7.3 and its comparatively very high. Question here is, the sql query trys to select data from same schema table and 2 tables from another DB using DB link and 2 other tables from another DB using DB link.So,how can we optimize this stuff and achieve this run as same time as 8i DB in 7.3. Hope i am clear about my question, Eagerly waiting for your replies.
Thanks in Advance.
Message was edited by:
Ram8Difficult to be sure without any more detailed information, but I suspect that O7 is in effect copying the remote tables to local temp space, then joining; 8i is factoring out a better query to send to the remote DBs, which does as much work as possible on the remote DB before shipping remaining rows back to local.
You should be able to use EXPLAIN PLAN to identify what SQL is being shipped to the remote DB, If you can't (and it's been quite a while since I tried DB links or O7) then get the remote DBs to yourself, and set SQL_TRACE on for the remote instances. Execute the query and then examine the remote trace files, And don't forget to turn off the tracing when you're done.
Of course it could just be that the CBO got better,,,
HTH - if not, post your query and plans for the local db, and the remote queries.
Regards Nigel -
Adhoc query Issue in IT0001- Additional fields.
Hi Everyone,
Im facing issue in adhoc query, In IT0001- Additional field .The supervisor name is not getting displayed in the output even though personnel number is getting fetched.Output value attributes is chosen as 'value and text'.
Details of the field:
Name of the field: Personnel number of superior (Org. Manag
Technical name :SYHR_A_P0001_AF_OMNGR_NR (Additional field)
This is happening after the implementation of A3 to A9 notes.
Thanks in Advance.
Regards,
S P Joshi.Did you try Ted's solution of identifying the "addtional field 'SYHR_A_P0001_AF_OMNGR_NA' "as a displayed field ?
Note that if that field is not already in your Info-Set, you will have to add it (using t-code sq02). -
Tabular model with Direct Query issue
Hi,
i am creating a tabular model - Direct Query option. I am using a kind of below query to import data,
Declare @TEST as Table (TestID int, TestName varchar(20))
Insert into @TEST
Select 1, 'TEst1' Union
Select 2, 'TEst2'
Select * from @TEST
But the Import fails with an error similar to below,
OLE DB or ODBC error. An error occurred while processing the partition 'Query_``````````' in table 'Query_````````'. The current operation was cancelled because another operation in the transaction failed.
Any idea, why it is failing ? or is it like we shouldn't use declare statement in the Query area ?
Please reply ...Thanks in advance !
--------------------------- Radhai Krish | Golden Age is no more far | --------------------------I'm pretty sure that the query would have to be a single statement so the declare statement would be causing issues.
So just doing this as a single union query should work:
Select 1 as TestID, 'TEst1' as TestName Union
Select 2, 'TEst2'
http://darren.gosbell.com - please mark correct answers -
With clause query issue in oracle cloud script editor
When I am running this query in SQL Workshop > SQL Commands window then its working fine
with cte as (select * from emp)
select * from cte
where deptno = (select deptno from dept where loc = 'DALLAS')
but its give me error in SQL Workshop > Script Editor window
When I did copy & paste query from Script Editor window to notepad,
then I realize that its automatically adding hidden "?" question mark (as per below query)
how can I resolve this issue?
please guide me.
I have confirm that there is no any white space after 'DALLAS')
& another simple queries working fine in both windows.
with cte as (select * from emp)
select * from cte
where deptno = (select deptno from dept where loc = 'DALLAS')?
Edited by: Sanjay on 28 Mar, 2013 6:46 PMHi Sanjay,
You have mentioned "+but its give me error in SQL Workshop > Script Editor window+" - are you referring to the SQL Workshop > SQL Scripts > Script Editor option, while editing a SQL script? If so, then I have been unable to reproduce the behaviour you have reported, and have not received any errors using your test query.
To assist in identifying the cause of your problem, could you please outline the exact steps that you followed, leading up to the step where you receive an error?
Regards,
Hilary -
Af:query issues within a taskflow
JDev: 11.1.2.1
I've created a simple fusion app, using the HR countries and department tables. The ViewController contains a home page and a taskflow.
The taskflow accepts a 'SearchBy' parameter, and I have a router (default) which then redirects the user to one of two pages, based on that parameter.
<case id="__1">
<expression>#{pageFlowScope.SearchBy eq 'countries'}</expression>
<outcome>countries</outcome>
</case>
<case id="__2">
<expression>#{pageFlowScope.SearchBy eq 'depts'}</expression>
<outcome>depts</outcome>
</case>
The two pages "CountriesQueryPage" and "DeptsQueryPage" contain nothing more than a standard af:query (with table) based on the named criteria "All Queriable Attributes" for respective views.
The Home page contains the taskflow above as a region, and a couple of links, which set a #{requestScope.SearchBy} parameter. The taskflow binding was changed to Refresh 'ifNeeded'.
<af:panelHeader text="panelHeader 1" id="ph1">
<f:facet name="context"/>
<f:facet name="menuBar"/>
<f:facet name="toolbar">
<af:group id="g1">
<af:commandLink text="Countries" id="cl1" partialSubmit="true">
<af:setPropertyListener from="#{'countries'}" to="#{requestScope.SearchBy}"
type="action"/>
</af:commandLink>
<af:spacer width="10" height="10" id="s1"/>
<af:commandLink text="Depts" id="cl2" partialSubmit="true">
<af:setPropertyListener from="#{'depts'}" to="#{requestScope.SearchBy}"
type="action"/>
</af:commandLink>
</af:group>
</f:facet>
<f:facet name="legend"/>
<f:facet name="info"/>
<af:region value="#{bindings.tf11.regionModel}" id="r1" partialTriggers="::cl1 ::cl2"/>
</af:panelHeader>
When I run this, the default "countries" page is displayed in the region. The af:query functions perfectly. When I click the link to the Depts page, the region refreshes as expected, but when the query table is rendered an error is thrown "Content failed to load.... data transmission was interrupted. Checking the log, I'm getting....
<LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
java.lang.IllegalStateException: Could not find component to stream
<FaceletViewHandlingStrategy> <handleRenderException> Error Rendering View[Home]
java.lang.IllegalStateException: Could not find component to stream
Couldn't find much online about this error message.
The only way I've been able to stop the issue is to remove the af:table on the depts query page.
I also tried using a dynamic region to get the above functionality (dividing each query page into it's own taskflow and removing the router) and got exactly the same issue.
Any ideas?
Thanks
Edited by: drb on Nov 24, 2011 6:31 PMJust in case anyone else has this issue -:
It turns out that the fault was using RequestScope parameters within the af:setPropertyListener. Once I changed this to a longer scope, pageFlowScope for example, the issue was resolved. -
UCCX 5 SQL Dbase Query Issues - Slow Returns
For several months it seemed to me that our UCCX 5 system was beginning to have trouble. At first it appeared as a problem with our wallboard system being unable to display the real-time data properly. I had deduced that queries to the db_cra database were taking 4 - 5 minutes to return data.
At first I called on the vendor for our wallboard, but they were unable to help stating that it was a UCCX database issue - and I agreed. I then went to Cisco TAC and fed them all my information and asked them for help. They also were unable to help figure out what was happening, but they could see that the SQL queries that used to take 2 seconds were now taking several minutes. Since the wallboard system queried the database every 10 seconds, it was over-taxing the database.
This began to cause little anomalies in things like call-distribution, dropped calls, slow to no Historical reports returns, and this ultimately began to cause failovers to our backup node. I could not go a day without a failover and I had to reboot the servers almost every night.
I felt there was no solution and was afraid we needed to replace our system.
After talking to all the engineers around the world, my solution came from our very own SQL administrator. Within 5 minutes he was able to resolve all our issues.
The root of our problem was that the indexing of the db_cra database was extremely fragmented.
He wrote a SQL sript that he had me run against the database and he told me that this would correct any indexing issues.
It worked like a charm.
The system stopped behaving poorly immediately. This resolved many of our problems that I had been living with for a long time. It made the Admin page work so much faster, call distribution issues halted, the wallboard is running faster than ever with real-time data, and the list goes on. This resolved so many smaller issues that I cannot even list them all.
I would advise anyone using a SQL database, whether it be a Cisco product or not, to always keep their database 'defragmented'.
My SQL admin also setup the script to run automatically, on a schedule to keep our database running like a Ferrari. It has been sweet ever since.
KEEP YOUR INDEXES CLEAN AND YOU WILL REAP HAPPINESS!I was equally shocked that there was no escalation, as was my boss and my Cisco rep. They let me go with no resolution and hung-up the phone leaving me with instructions to have some-one else take a look at the database. It was very unexpected, especially considering how close they were to the point when we were trouble-shooting.
The TAC SR # 611904619 - IPCC Database Not Returning Query Data.
With this resolution, it also raised to my mind the issue of Informix. We are using CUCM 6.1.2 and are concerned about the same issue happening there and we would like to determine if this can happen there also, and if there is a re-indexing tool available for Informix.
Maybe you are looking for
-
ITunes won't open, QuickTime error message
By accident, I deleted QuickTime, and can now not open iTunes, so I downloaded QuickTime again, recieved a message that QuickTime has been successfully downloaded, but when I try to open/run it, I get this error message: "C:\Documents and Settings\Ow
-
How can I diagnose a Labview RT program crash on cRIO 9073?
I have 2 cRIO 9073 purchased about 1 year apart. Both are running the same realtime application. The first cRIO runs fine. The 2nd cRIO crashes intermittently while executing 1 particular VI that contains 2 timed loops running in parallel (1 colle
-
SharePoint Designer 2013 after installation getting error with runtime i.e. error writing to file Microsoft.SharePoint.Client.Runtime.Local.Resources.dll Verify that you have access to that directory after retry..again SharePoint Designer requires th
-
Unable to see the request in Reconstruction Tab of Info Cube
Hi Experts, We are scm 5.1 version. Actually I have created extraction process to extract data from Demand Planning area. I have extracted data from planning area also. I can see the request in to PSA as well as Info Cube but I am not able to see the
-
Keys on keyboard F1 through F12
What does each of them do? I tried an internet search and found some eHow articles but they were mostly not thorough but far from thorough; I tried looking in the User Guide pdf on the computer; some other too-light articles found through internet s