Problem with OBIEE generated query
Hi All,
I'm working on OBIEE 10.1.3.4 version. For generating one report am using five tables , in thses five tables 2 are the fact tables and remaining all are dimensional tables.
In these five tables am using one or more colums in each table and we joined properly for these five tables(we are not getting any error on these joins). The problem is when ever i get query from OBIEE (Administration--->Manage sessions) its not generating a single query , instead of single query its splits into more queries..
Why its not generating the single query ,we are assuming that beacause of these reports are taking time to show the results.
Could you pls suggest me why i'm facing these and also i have these problem for only one report for remainig reports OBIEE is generating sine query.
Hi,
Please refer : multiple queries for single report
Why multiple queries ?
when we can find the multiple queries in view logn
Thanks,
Saichand.v
Similar Messages
-
Problems with Input Ready Query
Hello All,
I'm facing problems with input ready query for BI IP.
I've created the input query on aggregation level and maintianed all the planning settings. It is not allowing me to edit, when i'm attaching in the web template.
I also attached a button copy function, and i'm able to execute it and save it, but it not allowing me to change manually.
I also enabled the 3rd option for keyfigures...data can be changed with planning functions and user input.
Please help me in this regard.
We have just started the development of BI-IP, please suggest me if there are any notes to be applied.
Regards
KumarHello Johannes,
Yes I've set to the finest granularity...even if it is Only one characteristic and one key figure without any restrictions...
I've checked even planning tab page under properties...it is also fine..
But still it is not allaowing me to go to edit mode...this is a fresh instalation and the query i'm working is the first one...
Please suggest me if there are any notes to be applied, we are on Support Pack 10.
Regards
Jeevan Kumar -
Hi Folks,
I have a problem with OBIEE EM, There in Enterprise Manager i am unable to navigate into the options like when i clik on any Tab it is not working and even i am unable to create a report using analysis.
Thanks in advancei have also tried that but no use can u give me any other way.......
-
Problems with URLs generated for My/BEx Portfolio in a FPN
Has andone successfully configured a FPN that uses My/BEx Porfolio?
We are facing a problem with the URLs generated when launching a BEx web query stored in either My Portfolio or BEx Portfolio after it has been saved from the BEx Web Analyzer. After saving the KM document in My/BEx Portfolio in BEx Analyzer attempts to execute the link from the Portfolio IView result in "Page not found or not avaialble". The KM document appears to be correct as it can be opened correctly from the BEx Analyzer template.
Current Setup:
Consumer Portal: EP 7 (SP17)
Producer Portal: EP 7 (SP17 patch 11)
BW System: BI 7 (SPS16, BW SP18)
SSO and Trusts are configured and working.
WebDav is configured to store BEx Portfolio entries on the Consumer
Currently RSPOR_T_PORTAL is configured with hostname of Producer, however it was initially configured with Consumer host, resulting in the same problem, though this should not matter, as the RDL IView is used regardless of the setup.
Scenario:
Existing Roles have been imported from BW System into Producer Portal, the roles are not used, only the imported IViews
IViews of the Queries have been included in Consumer Roles using RDL
IView has been added to this role to display local BEx Portfolio links
RDL IView has been added to this role to display Producer My Portfolio links
1. Launch IView of Query included in Role
2. Use Save As functionality to store KM document in My Portfolio or Bex Portfolio
3. Open the cooresponding Portfolio IView and click on the link
Here's an example URL resulting from launching the link
http://pportal.lhoist.com:50000/irj/servlet/prt/portal/prteventname/navigate/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage?BOOKMARK=D4UE3NQC7T5MUXILOGH6GV7LC&BI_TARGET_IVIEW=fpn%3AEP%2Fpcd%3Aportal_content%2FLhoist_BI%2FRoles%2FLhoist.MyReporting%2FStandardReports_2%2FSales%2FProfitability%2FSales_Quantity%2FMPXXSAP103_00000071%3AhRPQZv3B9%252BE66ckUgr9%252Fcg%253D%253D%3A1%3A&NavigationContext=fpn:EP/pcd:portal_content/Lhoist_BI/Roles/Lhoist.MyReporting/StandardReports_2/Sales/Profitability/Sales_Quantity/MPXXSAP103_00000071:hRPQZv3B9%2BE66ckUgr9%2Fcg%3D%3D:1:&windowId=WID1231315538117
Thank you.In fact I have exported a master file and I have brought it into Compressor.
Master file exported from Final Cut:
Transcoded file:
Compressor is not able to open the file it has just transcoded: -
Problem with timestamp in query
I have problem with timestamp in JPA query.
I wonna select all data from database where difference between two timestamps is more than 3 month.
Database:
ID timestamp1 timestamp2
1 20008-11-19 15:02000 20008-08-19 15:02000
2 20008-11-19 15:02000 20008-11-14 15:02000
@Column(name = "timestamp1", nullable = false)
@Temporal(TemporalType.TIMESTAMP)
public Date timestamp1;
@Column(name = "timestamp2", nullable = false)
@Temporal(TemporalType.TIMESTAMP)
public Date timestamp2;
sql query works:
select id from table where
MONTH( DATE(timestamp1) - DATE(timestamp2) ) > 3
but how I can write in Java?
I't doesnt wrk:
Query query = em.createQuery("SELECT f.id FROM Foo f WHERE MONTH( DATE(f.timestamp1) - DATE(f.timestamp2) ) > 3 ")
error:
ExceptionUtil E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method .
Exception data: <openjpa-1.0.2-r420667:627158 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: An error occurred while parsing the query filter 'SELECT f.id FROM Foo f WHERE MONTH( DATE(f.timestamp1) - DATE(f.timestamp2) ) > 3'.
Error message: <openjpa-1.0.2-r420667:627158 nonfatal user error> org.apache.openjpa.kernel.jpql.ParseException: Encountered "MONTH (" at character 438, but expected: ["(", "+", "-", ".", ":", "", "=", "?", "ABS", "ALL", "AND", "ANY", "AS", "ASC", "AVG", "BETWEEN", "BOTH", "BY", "CONCAT", "COUNT", "CURRENT_DATE", "CURRENT_TIME", "CURRENT_TIMESTAMP", "DELETE", "DESC", "DISTINCT", "EMPTY", "ESCAPE", "EXISTS", "FETCH", "FROM", "GROUP", "HAVING", "IN", "INNER", "IS", "JOIN", "LEADING", "LEFT", "LENGTH", "LIKE", "LOCATE", "LOWER", "MAX", "MEMBER", "MIN", "MOD", "NEW", "NOT", "NULL", "OBJECT", "OF", "OR", "ORDER", "OUTER", "SELECT", "SET", "SIZE", "SOME", "SQRT", "SUBSTRING", "SUM", "TRAILING", "TRIM", "UPDATE", "UPPER", "WHERE", <BOOLEAN_LITERAL>, <DECIMAL_LITERAL>, <IDENTIFIER>, <INTEGER_LITERAL>, <STRING_LITERAL>].
at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.parse(JPQLExpressionBuilder.java:1665)
at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.<init>(JPQLExpressionBuilder.java:1645)The error is indocating improper formatting of your JPQL string. MONTH is not understood. I would recommend using your SQL string in a createNativeQuery(...) call instead.
Doug -
Hallo Experts,
We encounter a problem with unit in our Query.
Szenario:
We use the Unit like PC, SET in Query.
In Table T006 those Units have value 0 in the field ANDEC, so they will be rounded up and rounded down in Query.
Our Problem is some Queries need the rounding up and down but others don't need this function.
Where and how should we change to solve the problem.
thanks & Best regardshi,
if you want to control the rounding off while unit conversion you can do it from SPRO
In the BW system, goto SPRO -> SAP NetWeaver -> General Settings -> Check Units of Measurement -> Units of Measurement -> Choose the unit corresponding to 'KM' -> Click on 'Details' button in the toolbar.
Look the field 'Decimal Pl rounding'. Change this to 3 or whatever value you choose and see if it works.
in above link i have taken example of KM, you need need to select the required unit.
let us know if this is solves your problem. I am not sure if this can be done for individual queries but this is controlled by UOM wise as mentioned above.
Regards,
Rk. -
Problem with WSDL generated with wscompile JAX-RPC
Ok well I have successfully built a Web Service (From an existing wsdl) and Static Stub Client they work perfectly. I then I tried to connect to it using a Delphi Web Service Client. The client cant change, the problem I am getting is it is requesting using the variable name I am using and the WSDL has String_1.
Ie. it gives me:
unexpected element name: expected=String_1, actual= {targetNameSpace} [Variable Name]
I suspect this is a problem with how the WSDL is generated any suggestions?THanks for the response, I originally used axis WSDL2Java. And only used the interface class. I think this is where my whole thing fell down. Although this worked with a static stub client that I used.
I have now generated the server side java files using wscompile and am l looking how to implement the server. It doesn't look like it has a implementation class there. And there isn't much information on how to do it. -
Problem with a Bex Query Report with Web Intelligence
Hello!
I have a Bex query (with query Bex version 7.0) I'm connecting with Web Intelligence (4.0) but one of the attributes instead of displaying the description shows only the key, and it is strange because other cubes if given by the conversion.
I wonder if there is a solution for this or if it is a problem of version 4.0 of Web Intelligence.
I await your response,
Greetings!Hi,
Whereabouts in the application are you seing this problem? (in the query panel conditions, in the prompt list of values, or in the table block? )
also, what do you mean by "and it is strange because other cubes if given by the conversion" ?
it's worth noting that the "key and text display properties" in the Bex Query Designer do not influence webi. WebI consumes the global infoobject property from BW RSH1.
Regards,
H
p.s. if you need to understand which features are or are not supported with BI 4.0 tools, please look here: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d056e1bc-2794-2e10-959e-8779c5623cc5 -
Problem with REGEXP_SUBSTR related query.
I am having a problem with this query:
SELECT *
FROM ( SELECT REGEXP_SUBSTR ('{SUMMER}|{POINT OF SALE}',
'({)([A-Z]+ *[A-Z]*)(})',
1,
LEVEL,
'i',
2)
val
FROM DUAL
CONNECT BY LEVEL <=
REGEXP_COUNT ('{SUMMER}|{POINT OF SALE}', '|') + 1)
WHERE val IS NOT NULL
I need the output in 2 rows in this format:
VAL
====
SUMMER
POINT OF SALE
But I am not able to get 'POINT OF SALE' in the output because of the blank space, or maybe some other reason. Can anyone correct my query?So you want something like this?
SQL> ed
Wrote file afiedt.buf
1 SELECT *
2 FROM ( SELECT REGEXP_SUBSTR ('{SUMMER}|{POINT OF SALE}', '[^{|}]+', 1, LEVEL, 'i') val
3 FROM DUAL
4 CONNECT BY LEVEL <=
5 REGEXP_COUNT ('{SUMMER}|{POINT OF SALE}', '[^|]+'))
6* WHERE val IS NOT NULL
SQL> /
VAL
SUMMER
POINT OF SALE
SQL> -
Problem with OBIEE Web Service getHTMLForReport() Method
Hello, I´m trying to develop an example using the OBIEE Web Services and I have a problem with the method “getHTMLForReport(String pageID,String pageReportID,String sessionID)” (http://download.oracle.com/docs/cd/E12103_01/books/AnyWebServ/AnyWebServ_Methods8.html).
The problem is the next one: In the pageReportID parameter should contain a character string ID returned by the addReportToPage() method, but the addReportToPageMethod is a void method. (http://download.oracle.com/docs/cd/E12103_01/books/AnyWebServ/AnyWebServ_Methods4.html#wp1008810)
Which is the value of the pageReportID parameter?
Thank you.Yes, there seems to be a bug in the oracle documentation. Basically, the second parameter of the addReportToPage() method is a free text. You can put "report101" as value of second parameter. Then you have to use the same string in the getHTMLForReport()method.
For example ..
addReportToPage(pageId, "report2", reportRef, "Jaggi Di Report", null, null, sessionID);
getHtmlForReport(pageId, "report2", sessionID);
Regards
Jagdeep Singh -
Problems with catalyst-generator
hi
I have an ati radeon hd 4650
the problem is
when i install the drivers, works fine but if i compile the module with catalyst-generator. for last kernel i cant saw a film, i test with 2 players and the system restart to login manager.
an ideashttps://bbs.archlinux.org/viewtopic.php?id=132453
-
Hi Experts,
There is a problem in my query output.
I have a CKF for sales documents number created with replacement path which gives the correct count of number of Sales documents.
But the req here is to create two more counters which will be counting the passed and failed count with reference to other KF1 (the value of this KF can be 0 or 1).
i.e. If the KF1 value is then failed count would be 1 .
else passed count would be 1.
I have used the Replcement path variable created for Sales Document count.
For failed count the CKF formula which I have created is: (Sales Order Count ) * (KF1<>1)
Which gives the right result but as soon as I remove the drill down , instead of aggrading the total results, failed counter still shows 1 which is incorrect.
Could any one please help me out.
Regards,
BW Userhello,
try using exception aggregation as total and reference char as the one which u have reomved from drilldown.
Regds,
Shashank -
How can i use index in select query.. facing problem with the select query.
Hi Friends,
I am facing a serious problem in one of the select query. It is taking a lot of time to fetch data in Production Scenario.
Here is the query:
SELECT * APPENDING CORRESPONDING FIELDS OF TABLE tbl_summary
FROM ztftelat LEFT JOIN ztfzberep
ON ztfzberep~gjahr = st_input-gjahr
AND ztfzberep~poper = st_input-poper
AND ztfzberepcntr = ztftelatrprctr
WHERE rldnr = c_telstra_accounting
AND rrcty = c_actual
AND rvers = c_ver_001
AND rbukrs = st_input-bukrs
AND racct = st_input-saknr
AND ryear = st_input-gjahr
And rzzlstar in r_lstar
AND rpmax = c_max_period.
There are 5 indices present for Table ZTFTELAT.
Indices of ZTFTELAT:
Name Description
0 Primary key( RCLNT,RLDNR,RRCTY,RVERS,RYEAR,ROBJNR,SOBJNR,RTCUR,RUNIT,DRCRK,RPMAX)
005 Profit (RCLNT,RPRCTR)
1 Ledger, company code, account (RLDNR,RBUKRS, RACCT)
2 Ledger, company code, cost center (RLDNR, RBUKRS,RCNTR)
3 Account, cost center (RACCT,RCNTR)
4 RCLNT/RLDNR/RRCTY/RVERS/RYEAR/RZZAUFNR
Z01 Activity Type, Account (RZZLSTAR,RACCT)
Z02 RYEAR-RBUKRS- RZZZBER-RLDNR
Can anyone help me out why it is taking so much time and how we can reduce it ? and also tell me if I want to use index number 1 then how can I use?
Thanks in advance.Hi Shiva,
I am using two more select queries with the same manner ....
here are the other two select query :
***************1************************
SELECT * APPENDING CORRESPONDING FIELDS OF TABLE tbl_summary
FROM ztftelpt LEFT JOIN ztfzberep
ON ztfzberep~gjahr = st_input-gjahr
AND ztfzberep~poper = st_input-poper
AND ztfzberepcntr = ztftelptrprctr
WHERE rldnr = c_telstra_projects
AND rrcty = c_actual
AND rvers = c_ver_001
AND rbukrs = st_input-bukrs
AND racct = st_input-saknr
AND ryear = st_input-gjahr
and rzzlstar in r_lstar
AND rpmax = c_max_period.
and the second one is
*************************2************************
SELECT * APPENDING CORRESPONDING FIELDS OF TABLE tbl_summary
FROM ztftelnt LEFT JOIN ztfzberep
ON ztfzberep~gjahr = st_input-gjahr
AND ztfzberep~poper = st_input-poper
AND ztfzberepcntr = ztftelntrprctr
WHERE rldnr = c_telstra_networks
AND rrcty = c_actual
AND rvers = c_ver_001
AND rbukrs = st_input-bukrs
AND racct = st_input-saknr
AND ryear = st_input-gjahr
and rzzlstar in r_lstar
AND rpmax = c_max_period.
for both the above table program is taking very less time .... although both the table used in above queries have similar amount of data. And i can not remove the APPENDING CORRESPONDING. because i have to append the data after fetching from the tables. if i will not use it will delete all the data fetched earlier.
Thanks on advanced......
Sourabh -
Problem with Variable in Query Designer.
hi all,
we have a variable ZAMREG on characteristic AM Region, where AM region is attribute for two different master data objects mastobj1 and mastobj2, we have different infosets build on these two master data objects along with some other ODS.
now this variable ZAMREG is visible in one of the infosets only in query designer, whereas it is not visible in the other infoset.
what could be the problem??
thanks,
RkHi,
Please check if that variable is created locally or globally. If it is a local variable in any query, it will not appear in any other query.
In anyways, you can always create one more variable if the older one is not available. This will not make much of difference. I would suggest go ahead with creating a new variable.
Regards,
Yogesh -
Mapping Problem with Native SQL query
My application uses a native SQL query to locate certain entities. It looks like this:
SELECT UPLOADATTEMPTREF, STUDENTNUMBER, USERID, WORKITEMCODE, WORKITEMINSTURN, WORKITEMTITLE, MODULERUNCODE, STUDENTNAME, SUBMISSIONDEADLINE, UPLOADATTEMPTSERVERDATE, FILENAME, UPLOADCOMPLETESERVERDATE, NEWFILENAME, FILESIZE, FILEPATH, DOWNLOADSERVERDATE, MODULECODE, MODULETITLE
FROM Submission_Attempt WHERE UPLOADATTEMPTREF IN (
SELECT uploadAttemptRef FROM (" +<br /><br /> "SELECT MAX(uploadAttemptRef) AS uploadAttemptRef, UserID, workItemInstUrn, " +<br /><br /> "workItemCode FROM Submission_Attempt where workiteminsturn = ?1 " +<br /><br /> "GROUP BY UserID, workItemInstUrn, workItemCode) Table1 ) " +<br /><br /> "and uploadCompleteServerDate is not null;"<br />
My expectation was that EclipseLink would be able to handle the mapping of the results to the entity quite happily. However, I get a NonSynchronizedVector of Objects - each Object representing one field of data.
I need help with either:
Converting the above SQL into JPQL so that I (hopefully) don't have to worry about the SQL or
Understanding why this isn't working properly...
Anyone able to help?
Edited by: phunnimonkey on Nov 6, 2008 3:33 AMNever mind - the problem was to do with not specifying a class when creating the native query.
Maybe you are looking for
-
IMac won't see my music library on an external drive
I am running Yosemite 10.10.1 on an iMac late 2012 3.4 GHz Intel Core i7 32GB 1600 MHz DDR3 with NVIDIA GeForce GTX 680MX 2048 MB and my music library is on an external disc drive a WD MyBookLive 3TB. I used to run the external disc drive through a S
-
THis is what I did, but when I get to sync, it won't sync.....what do I doLynnLynn Preparation Before you connect any device to a new library go to the Devices tab of the the preferences panel via Edit > Preferences (Windows) or iTunes > Preferences
-
Invalid Password message on BB bold 9700
I downloaded a new software onto my computer and couldn't remember my password, so I reset my pasword with BB and was able to login on the Blackberry Web site. The passord was correct. But when I tried to connect my phone to the computer to download
-
Looking for freelance Captivate programmers - LA/OC area
Urgent need! Looking for freelance Captivate programmers - LA/OC area - For development of e-learning programs for Large Corporations. Please contact me if you have the skill set and are in the area. Thank you
-
Convert SIF files to TXT or LVM
Has anyone written a VI that can read, and/or convert, SoMat Infromation files (*.SIF) to a TXT or LVM file format?