Change in the query of a report
Hi All
Recently we have upgraded one of our siebel analytics 7.8 project to OBIEE 10.1.4.3.0. After upgradation we came to know one issue. Previously in Siebel 7.8, in some reports sql query, there was Round function. But in OBIEE, the same function is being transformed as Truncate. This is not creating any problem from Data side. But we want to know why it is being converted into Truncate.
could you please tell me why its happening like that... any help would be appreciated.
Hi Sai,
Thank you for your reply. Infact, there is no upgradation of DB. We were using Oracle 10g for Siebel Analytics 7.8 and still we are using the same for OBIEE also. And can you please tell me what DB features will affect this transformation?
Edited by: 785818 on Mar 14, 2011 11:54 PM
Similar Messages
-
How to fetch the query by a report
Post Author: gionnyDeep
CA Forum: Data Connectivity and SQL
How to fetch the query by a report.I need to manipulate it and pass it again to the report.
Any idea?Post Author: gionnyDeep
CA Forum: Data Connectivity and SQL
I just need to get the query of a report.
You know that a report is buld up on a sql query.I just want to know how to get that query starting by a java ReportClientDocument.
And I found reportClientDoc.getDatabaseController().getDatabase() to fetch DataBase object .After that I do not know the exact sequence of methods for fetch the query
Sorry for my english -
Dynamic change in the query name based on user input
Hi Gurus,
In a scenario, country appears as a user input variable.When the user specifies his country, the same query displays <b>Business trends</b>' data pertaining to his own country and rest of the world(international) in two tables.The reports are developed using Web application designer.
Can the name(description) of the query be changed so that the user input value for country gets dynamically reflected in the query name like <b>Business trends:Selected country vs International</b>?
Regards,
BalajiHi Bala,
ya this can be done by text variables. create a text variable( replacement path on the country infoobject) by going to the query properties on the description.
if the user enters country value then it will be displaed on the description of the query .
assign points if useful .
regards
santosh -
Manupilation of the Query in Crystal Report
Dear Experts,
I have prepared a report to get opening balance which I haven able to achieve. Please find it below:
SELECT SUM(dbo.JDT1.Debit)- SUM(dbo.JDT1.Credit) as Opening
FROM dbo.JDT1 INNER JOIN
dbo.OJDT ON dbo.JDT1.TransId = dbo.OJDT.TransId
where dbo.OJDT.DueDate between '20090101' AND ''.
Now I want to get the cumulative total for the balance, I know about the Running balance which adds
current figure to the previous. But the problem is how to add the opening balance and then
add current figure as done by Running. I have put down a link of what I am looking for in my report.
http://www.megaupload.com/?d=EARD5WIU
http://www.megaupload.com/?d=EARD5WIU
Your help be appreciatedHi,
You need a BEx query ontop of the MC, which is set 'allow external access'
You need software "integration kit for SAP solutions"
You need Crystal Designer client
You need to use the "BW MDX Driver"
You need to add the query fields using the "Database Expert" wizard
Then design the report.
When you come to asking about creating the IRR formula in Crystal, please ask that question the Crystal subforum in SDN.
Regards,
H -
How to display language key (0LANGU) in the query for BW report
Hi,
Can someone tell me how to display language key (0LANGU) in the query? I want to display which language (English or French) is used for material description in BW report. Thx.hi,
check if the infoobject is kept as lang dependent or not for material text, else you need to create a masterdata attribute with text and lang keys and do corresponding mapping, so then it can be displayed in your report
regards
laksh -
Cube/ Infoset changes effect the query / reports / workbooks
Hello Experts,
I have added infobjects to the cube, ODS and Infoset. These object are already in production from a long time and there queries / reports on the same.
When I am going to transport the new Cube, ODS and Infoset with the new objects added, would this effect the queries/ reports which the users are already using them.
Is there any caution or procedure to be followed.
Thanks,
BWerHi BWer,
In addition to what Arun said..
If you are adding anything in the Infoset make sure you adjust the Infoset in RSISET.
Ashish. -
In query designer , cant able to change/modify the query porperties
hai experts / friends
even in production or develeopment i have selected one query in query designer and opened and after that am selecting one default value and then right hand side it displays the properties of that particular query then i can not modify the changes ...that Display and change option is in disable....how can i enable this button...
please help me friends...
previously i have tried using production and then i thought because of production it is not getting enabled then i tried in development , and came to know that even in development also same problem it is not getting enabled....
thanks in advance..
regards
anandhai friends..
thanks for all your reply...
actually i want to explain detail ..
after selecting the one particular query , am just placing the mouse in my charecteristics restrictions and then right hand side
properties window gets displayed and at the top we can find display/change button and save button technical name
button
in that display and change button is disabled...i want that button to be enabled.
i have checked in my authorizations in SU01...
even i have all the profiles like SAP_ALL ...
and then i have been trying to have transaport connection and then creating transport conn. for BeX...but it is asking package name...
in this case i dont know the exact package name....
can any body help me in this regard???
thanks
anand -
Tracing the Query in Toad/Report builder
Hi Friends does any body will trace this query and send me the updated query please, it is displaying the duplicate rows
SELECT
ppa.property_code ownershipno
, ppa.property_name propertyno
, substr(plea.lease_num,5) leasenum
, ppa.district location
--, pla.class
, fndc.meaning paymenttype
, rc.customer_name personname
, pla.attribute2 amount
--, pla.location_type_lookup_code
--, pla.building
--, pla.location_code
FROM
pn_locations_all pla
, pn_properties_all ppa
, pn_leases_all plea
, ra_customers rc
, pn_payment_terms_all pta
, pn_lease_details_all lda
, fnd_lookups fndc
, fnd_lookups fnds
, fnd_lookups loot
WHERE
pla.property_id=ppa.property_id
AND ppa.property_name=plea.name
AND rc.customer_id=pta.customer_id
AND plea.lease_id=pta.lease_id
--AND plea.org_id=ppa.org_id
AND fndc.lookup_code(+) = pla.CLASS
AND fndc.lookup_type(+) = 'PN_CLASS_TYPE'
AND fnds.lookup_code(+) = pla.status_type
AND fnds.lookup_type(+) = 'PN_STATUS_TYPE'
AND loot.lookup_code(+) = pla.lease_or_owned
AND loot.lookup_type(+) = 'PN_LEASED_OR_'
and lda.LEASE_ID=plea.LEASE_ID
and pla.ACTIVE_START_DATE!=lda.LEASE_EXECUTION_DATE
--AND ppa.property_name = :Pname
ORDER BY TO_NUMBER(propertyno)
Thanks & Regards,
Azeez
[email protected]For the more clarification, I have used JDBC Query as Data source type and Database connected via ODBC Driver in System DSN. The Driver selected from the drop-downs are jdbc-odbc.
Kindly explain the mistake I m doing. -
Inserting 320 millions rows...the speed change whilst the query is running
Hi guys, I got a strange behavior in my data warehouse. When I insert data in a table I start to take note of the speed. So in one minute, at the beginning the speed was 3 millions every minute (it expected 312 millions rows) but now, after five hours the
speed is 83.000 row per minute and the table has already 234 millions rows. Now, I'm wondering if this behavior is right and how I can improve the performance (if I can whilst the insert is running).
Many Thankschange Database recovery mode to bulklogged(Preferably)/ simple.
No - that will not solve the problem because INSERT INTO isn't bulk logged (automatically). To force bulk logged operation the target table need to be locked exclusively!
Greg Robidoux has a great matrix for that!
http://www.mssqltips.com/sqlservertip/1185/minimally-logging-bulk-load-inserts-into-sql-server/
@DIEGOCTIN,
I assume nobody can really give you an answer because it could have so much reasons for it! As Josh has written GROWTH could have been a problem if Instant File Initialization isn't setup. But 320 mil records in one transaction could cause a heavy growth
of the log file, too. This cannot participate from Instant File Initialization.
Another good tip came from Olaf, too!
I would suggest to insert the data with a tablock. In this case the transaction is minimally logged and the operation will not copy rows but pages into the target table. I've written a WIKI about that topic here:
http://social.technet.microsoft.com/wiki/contents/articles/20651.sql-server-delete-a-huge-amount-of-data-from-a-table.aspx
Wish you all a merry christmas and a happy new year!
MCM - SQL Server 2008
MCSE - SQL Server 2012
db Berater GmbH
SQL Server Blog (german only) -
Bind option in report. How to change setting in Query Designer?
Hello,
Is there any way of changing the 'Bind display of textx/attributes in data provider result and in value help' in the portal. We can change this option from the report by right clicking on the characteristic -> Properties -> Characteristic -> Selecting the 'Advanced' tab. But we want to make a permanent change to this option from the query designer so that the users would not have to change it every time they run the report. Can anyone point to where I can make that change in the query designer or anywhere else if that works?
There is a characteristic say 'XYZ'. It has a attribute 'ATTR'. We want to display the attribute alone in the column of the query. We are able to do so by bringing the characteristic 'XYZ' and dragging and dropping the attribute 'ATTR' under it. We then change the display options to make the characteristic as 'No dispaly'. But this affects not just the characteristic in the columns, but also in the Navigational blocks. So the users are not able to see any values while filtering. One way to fix this is to uncheck the 'Bind display of textx/attributes in data provider result and in value help' option after the report is executed which is an end user task. But we want to find out a way of changing this from the query designer, so that the users won't need to carry out his activity every time they run the report.
Any help is appreciated.
Thanks<p>There are a few ways that you can achieve this. If your SQL Queries have their filters modified (ie. WHERE clause) then this can be easily solved by adding report parameters to the Report filter. Search the in-product help for "Record Filter" and you should get a number of helpful resources returned.</p><p>Additionally, you can pass in java.sql.ResultSet objects with a populated recordset of the data you want to show in the report. We don't currently provide any tools to assist the creation of the code stubs for thick-client applications (like we do for JSP pages) however you can download a collection of thick-client sample code from here:</p><p><a href="http://support.businessobjects.com/communityCS/FilesAndUpdates/crxi_r2_jrc_desktop_samples.zip">http://support.businessobjects.com/communityCS/FilesAndUpdates/crxi_r2_jrc_desktop_samples.zip</a> </p><p>As I mentioned, this sample contains a collection of code snippets. The one in particular you will be interested in is titled "JRCResultsetDatasource". Hopefully, this will provide you with a few options. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) </p>
-
How can i refresh view on query after changing the query?
Hi,
i built few view's on 1 query in BI7. after i made a change in the query i haven't seen it in the view, why?
it's not refreshing automaticly from the query? and if it's not, how can i refresh the view?
thanks
Meirav
Edited by: Meirava on Apr 2, 2009 11:43 AMHi,
You need to refresh that view and once again save the view with changed settings. Then it will brings according to the query changes.Once check the variables also.
Regards
Pcrao. -
Changed reconciliation account in vendor master - Report FAGLF101
Hi
When a Recon account is changed in the Vendor Master, a report has to be run to post the adjustment entries using T-Code FAGLF101.
The query is that, the report posts the adjustment entries through an adjustment account but at the same time also reverses the effect on the first day of the next month.
Is there a way to stop this reversal. Though I do not select the reversal posting date, system is reversing the entry.
Further, why is the Recon account not posted to rectify the entries?
Regards
Abhishek KumarHi
For changing the reconciliation account in Vendor Master and customer master, please follow the following steps.
1. First change the reconaccount in the customer / vendor master
2. run the program SAPF101 for adjusting balances of old recon account to the new recon account.
Problem will be solved.
I hope it will clarify your doubts.
Regards
Madhav -
Can i modify the query in discoverer
Hi
I am working on discoverer vierwer, is it possible to change the query and run the query myself. I can access the query but i can't make any changes.
The problem i am having is i want to show the sum of a variable but not show the count, is this possible ?
any help would be appreciated
thanks
nimeshHi Nimesh
Presumably the workbook you are referring to is not owned by you and has only been shared with you? In this case, while you can make changes to the query while it is in memory, providing you have the necessary privileges that is, you will not be able to save over the original. This is because only the owner can do this and you are not the owner.
What you can do though is to use Save As and save ourself a variant of the report. Of course this opens up another spoke in the wheel of reinvented queries, something that most organizations would like to avoid.
Therefore, perhaps the best option would be to contact the owner of the workbook and request that it be modified for your needs.
I hope this helps
Best wishes
Michael Armstrong-Smith
URL: http://learndiscoverer.com
Blog: http://learndiscoverer.blogspot.com -
How to delete the Query Buffer in OLAP
Hi Guys,
I have been working with query, after some time there has some changes in cube data.
But when i execute the query it shows the previous values only.
So, i would like to delete the existed buffer in OLAP from that query.
So, please help me out regarrding this....
Its very urgent.
Points are assigned for better ones.
Thanks in advance
PeterCached results have a timestamp, which is compared with the timestamp of the last data load
and meta data change.
If new data is loaded before a cached query is executed again, the OLAP engine states that the
cached entry is out-of-date. It removes the old entry, loads the current query result from the
InfoProviders and writes back this new OLAP Cache entry. The OLAP Cache entry is invalidated
in the following cases:
Transaction Data Load to the underlying InfoProvider(s)
Deletion of Transaction Data from the underlying InfoProvider(s)
Master Data Load (and hierarchies) and subsequent change run of InfoObjects contained
in the query definition
Currency conversion rate change
This invalidation is also done for meta data changes, i.e. changes to the query structure, and
query generation.
Note that changes to key dates for time-dependent master data does not result in invalidation,
but in an additional cache entry.
In addition, the OLAP Cache can be invalidated and deleted completely via the OLAP Cache
monitor (transaction RSRT 􀃆 Cache Monitor or transaction RSRCACHE). One query entry in
the OLAP Cache can be invalidated by simply re-generating the query. -
Can't find out the problem in the query.
emp Table->
(name varchar2(10),
shot_seq varchar2(1)
The emp table contains around 2 million records.
When I run the following query the output comes within 20 seconds.
select name,sum(decode(shot_seq,1,1,0)) as pd2 from emp where shot_seq = 1
group by name;
But when i made the change in the query by putting ' shot_seq = '1' ', so that query is now:
select name,sum(decode(shot_seq,1,1,0)) as pd2 from emp where shot_seq = '1'
group by name;
The output doesn't comes, sqlplus just hangs up.
Please explain what is the reason behind this.
Thanks for ur time,
skala.1.
I think the problem is with sum and decode part:
..sum(decode(shot_seq,1,1,0)) as ...
If <shot_seq> is character then you need to convert it to_number before using any group functions....
2.
Check your decode:
......(shot_seq,1,1,0)) as pd2 from emp where shot_seq = '1'
I think it should be something like that(after you convert chars to nums)....
null
Maybe you are looking for
-
How to find the serial number for more than one Ipod Touch in Itunes?
I lost my Ipod Touch (first one I bought), how can I find the serial number in Itunes or somewhere else beside I sync my daughter's new Ipod (2nd I bought) with my Itunes account, because when I try to find the serial number they show me only my daug
-
Vendor balances and customer balances
Hi Experts, I was shock to see that all my customer balances are shown in negative value and all my vendor balances are shown in positive value... what is happening? please clarify me . is anything to be enabled or disabled... i coul
-
Hello experts , I have a scenario in which basically two types of purchases are made in cash . As the purchases are high in volume , we need to capture this in PO . Also as we need to have a control over inventory , we dont want to use 501. Hence 50
-
HELP, Convert PDF to Flash book with flipping effect.
Hello everyone, I want find a software to helps me convert my local PDF files into flash playbook, with page flipping effect. It is better, if software can: 1.Freeware 2.Add links and images 3.output Flipbook can be viewed on mobile device Please he
-
File Upload not working in firefox with flash p-layer 9
hi, I've a web application with a component to upload file.The upload operation is working fine in IE.But when using firefox with player 9,its asking for the proxy authentication again and the firefox will get stuck. With player 10 ,its workin