Using queries from another universe in Webi; Functionality currently works in Deski
Post Author: ck1938
CA Forum: WebIntelligence Reporting
I have a report in deski that was built using 2 queries and 2 universes. One query is from a calendar universe since there is no calendar information in the reporting universe. In deski I have the option of selecting the operand Select Query Results (All) and using the calendar universe to build a filter in the reporting uiverse that uses the results found in the calendar query to define a start date in the reporting query. I'm trying to automate the report in Webi but am having issues since the operand is not available. I only have the options for Constant, Values From List, Prompt, and Object. Object will only give me objects in the reporting universe. It apparently can't see the calendar universe query. I've tried writing some sql statements but have had no luck so far. Does anyone have any guidance they can offer.
Post Author: ck1938
CA Forum: WebIntelligence Reporting
You did get me thinking though. I found another reporting universe with a calendar component and the SQL from that universe has pointed me in the right direction here. I just replaced the manually input date in the sql for the query (2008-5-29 00:00:00) with trunc(sysdate) and the report ran without any manual intervention. Thanks for your help.
Similar Messages
-
Can we use Result from another query in Webi using Bex uery universe?
Hi,
Can we use Result from another query filter option in Webi to create a report using a Bex Query universe?
I need to create a report using two universes, one is Bex Query Universe and the other is Orcle universe. I have two queries, one is using Oracle universe; the other using Bex Query universe. I need to pass the Oracle data from the Oracle query to the Bex Query query to get the matched data from SAP Bex query.
I used Result from another query in the query filter panel for the query using Bex query universe. But I got an error saying that 'A filter contains a wrong value. you cannot run this query. (Error: WIS 00007). The data used in the filter on both sides are the same. they are char.
I have tested by using two queries from the same Bex query universe to see if the Result from another query filter option works. And I got the same error.
Has anyone run into the same issue and if this is possible and what should be the solution?
Thanks in advance!
Edited by: BO_Haiyan on Oct 6, 2010 3:47 PMIn that situation:
Create two queries : Oracle and BW query.
@ Report:
As you have to see result set from both the Dataproviders, correct? To achieve thise one must have common dimension objects to merge them at report and use Objects those are coming from both queries to use them in single Table/Report.
Unless you don't use Merge Dimensions, you don't get a chane to use both queries objects in single Table/Report. (It will give tooltip saying: You can't drop here -- Incompatable Objects)
In case, if you don't have common dimensions, change object definitions to Detail objects, for those required.
Hope it helps you.
Thank You!! -
Is it possible to create a new Grid in the same analysis where calculated/Grand Totals columns/rows may be used?
I understand there is a feature use results from another analysis but wonder if it can be used in the same. Thanks.
AdiHi,
Say you have a report for retrieving Sales by Products for a company and showing up grand total of sales for all products too in the same report. So, how about a case where you would like to see each product's contribution to the whole sales numbers? For this, a new column could be something like
Measures.Sales*1.0/SUM(Measures.Sales)
Here Measures.Sales is the sales for each product and SUM(Measures.Sales) is nothing but the total sales ie grand total.
Hope this helps.
Thank you,
Dhar -
How to use Results from Another Query for SAP BW universes
Hi Everyone,
I have two SAP BI universes.In my First universe I have Sales Doc no (dimension) and Orderqty (Measure) and in my second universe I have Sales Doc no(Dimension) and BillQty (Measure).
Here in my first dataprovider I have 1200 rows of data and in second dataprovider I have 75,000 rows. The report should fetch only the BillQty details that matches to corresponding Sales doc no in first data provider.
I want to place all these fileds into a single report like as shown.
(Datarpovider1) (Datarpovider1) (Datarpovider2)
*Sales Doc No* Orderqty BillQty
Here I am able to generate single report using merge dimension but it is leading to performance issues. I want to restrict the values at query level by passing the First dataprovider Sales doc no to second Data provider Sales doc number using Results from Anothery Query feature so that It can fetch only the matching records.
I tried it but it was giving the follwing error:
A filter contains a wrong value. You cannot run this query. (Error: WIS 00007)
How Can I get rid of this error. Can we use Results from Anothery Query option for OLAP universe. Are there any limitation on it.
All this I am doing in Webi Rich Client.
Appreciate your help
Thanks &in Advance
Kiran SakaHi Kiran,
I think the filter has a wrong operand. For example, a filter with an empty constant, or a filter that deals with numeric values is defined with an alphanumeric value.Check out for this.
Regards,
Neeraj -
Unicode String Issue while Using Results from Another Query
Hi All,
In a webi report i have 2 queries say Sales Out and Investment. I need to have only those chains which are in Investement in Sales Out.
So in Sales Out query i am using the option Results from another Query. The Chain values are in Unicode format.
Though in universe i have Set Parameter Unicode_String ='Yes', this does not get applied when using option Results from another Query.
Is there any solution to resolve this problem.
Thanks
Madhuraleonhardtk wrote:
I need to take values from the column of one table that meets certain critera, and create inserts into another table that includes this data.
For example...
{code}
select emp_last_name from emp where emp_first_name like 'B%';
Duncan
Fitzgerald
Johnson
Smith
{code}
I then want to insert these values into another table:
{code}
insert into My_table values (
sequence.nextval,99,99,[last_name]);
{code}
In the example above, I need it to insert a new row into My_table for where the "last_name" is each of the names from the select statement above (Duncan, Fitzgerald,Johnson,Smith).
Based on other similar forum questions it looks like I should be doing something like:
{code}
INSERT INTO MY_TABLE
(SELECT sequence.nextval,
99,
99,
(select EMP_LAST_NAME
FROM EMP
WHERE EMP_FIRST_NAME LIKE 'B%')
{code}
But this (obviously) doesn't work!
Appreciate any assistance on this!
KSL.
Hi,
Created this test data
create table plch_test (name varchar2(50));
insert into plch_test values('AKSHAY');
insert into plch_test values('RAHUL');
insert into plch_test values('APARNA');
output
1 AKSHAY
2 RAHUL
3 APARNA
created another destnation table(in your case "my table")
create table plch_test_1 (id number,name varchar2(50));
created another sequence to generate employee ids
create sequence test_seq;
Now populated the desination table
insert into plch_test_1(select test_seq.nextval,name from plch_test);
verify the destination table
select * from plch_test_1
1 AKSHAY
2 RAHUL
3 APARNA
Hope this helps
Regards,
Achyut Kotekal -
Error when using defined object in Universe in Web Intelligence
Hi all
I create universe connect from Infocube
I create a new Object named "Sale Value" to get YTD of Object name "SS Total value of the invoice lin" with code following
<EXPRESSION>SUM(YTD(@Select(Key Figures\SS Total value of the invoice line)))</EXPRESSION>
I parse to check systax "OK".
But when I run query and using above defined object in Web Intelligence, I get error following
<<
Query 1 - ZTHP_TEST001
A database error occured. The database error text is: The MDX query WITH MEMBER [Measures].[384E7D57-FBC9-45A4-BD,4B,1D,D2,D4,41,47,7E] AS ' SUM([Measures].[ZSGROSS_L]) ' SELECT { [Measures].[ZSVOLUME], [Measures].[384E7D57-FBC9-45A4-BD,4B,1D,D2,D4,41,47,7E] } ON COLUMNS , NON EMPTY { Descendants( [ZPRODUCT ZPRODUCT_HIER].[LEVEL00].MEMBERS, [ZPRODUCT ZPRODUCT_HIER].[LEVEL09], LEAVES) } DIMENSION PROPERTIES MEMBER_CAPTION ON ROWS FROM [$ZIB_02] failed to execute with the error Invalid MDX command with ). (WIS 10901)
>>
I check MDX PARSER connection in SM59 sucessfull
I am beginer of Universe and Web Intelligence, please help me solve this problem.
ThanksHi,
The MDX parser in the universe designer just check the XML Tags or Syntax. It does not validate the expression.
The YTD, QTD, MTD functions in the universe designer requires a reference to a predefined time chararcteristics eg. 0CALMONTH etc. So the correct expression would be similar to the below expression:
<EXPRESSION> SUM(YTD([0CALMONTH].CurrentMember), @Select(Key Figures\SS Total value of the invoice line))</EXPRESSION>
Also you need to add the time characteristics in the result set.
Regards,
Rohit -
Filtering using data from a spreadsheet in WebI
I need to convert a BO6.5 Full client report to a BO XI R3.1 WebI report. The report needs to use data from an Excel spreadsheet to filter data from a universe, and in 6.5 this was achieved by creating a universe for the spreadsheet data and using 'Select Query Results' as an operand returning this data in the report conditions. When we put this report through the conversion wizard the conversion fails.
Are there any other techniques that can be used in WebI that would allow me to use a spreadsheet to filter / join with a query from a 'regular' universe?
Thanks,
Steve ClarkeThanks for the response! I'd be interested in writing a script for it (I've actually been researching it a bit already). I'm completely new to Javascript (and scripting) but have a fair level of experience with c/c++ so I feel it shouldn't be too bad. I'll ask here for now, just let me know if I should ask a new question on the scripting forum instead.
I've looked at the Acrobat JavaScript API Reference (http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_api_reference.pdf) a bit but am having trouble finding a way to read the spreadsheet's data in (I was planning on using a csv file). I found Doc.importTextData(), which can parse a tab delimited file and from the sounds of it fill in the forms automatically (though I would much prefer a c style file interface that lets me write the parsing logic). Every time I try to call importTextData it returns -1 though, which means "Warning: User Canceled File Select". When I call it direct from the JavaScript Debug Console I just get a -1, but when I have it execute when I save I get "NotAllowedError: Security settings prevent access to this property or method.". I did a bit of research on that and modified my script to look like:
Autofill = app.trustedFunction(
function ()
app.trustedFunction(importTextData);
app.beginPriv();
var result = this.importTextData("test.csv", 0);
app.endPriv();
return result;
I've also tried running Acrobat as an administrator, but I still get the same error. I could just not be understanding privileges correctly.
My overall plan was:
for each row in the spreadsheet
- read the row in from the file
- fill out the fields in the PDF using the read data
- save the file with a new file name.
If there is a better method to do this, just let me know.
Thanks again for your time! -
Calling a bounded task flow (that uses fragments) from another application
Hello,
I'm currently having difficulties calling a task flow located inside another application.
I have application Console which is my main application in which I would like to run other applications within. Inside this Console I have it divided into splitter windows and inside them I have regions. My goal is to be able to call a task flow from another application inside one of these regions but so far I'm having no luck.
My first problem occurred when I created a 'local' task flow to make a call to another application's task flow. When I set the properties to the task flow call, it gave me an error that it could not find the .XML file for that task flow when I ran the Console application. I then proceeded to copy that .XML from the remote application into the Console's WEB-INF directory and I seemed to get a bit farther. The error I get now is saying that I cannot run a task-flow that uses fragments. It's essentially trying to run that task flow as an entirely new page instead of inside the region that it's bound to. It's NOT a dynamic region (although that's the end goal here). So I then changed the other application's task flow to simply display an entire page rather than fragments inside a region and voila, it works..... kind of.
To recap how I was able to call another application's task flow inside the Console:
- I had to manually copy the task flow xml file into the Console WEB-INF directory
- I had to change the task flow so that it didn't use fragments
- I have called the task flow but I lose my console page entirely, no more regions or splitters so I'm back to square one.
If anybody has any suggestions, hints, tips or anything, send them this way and I will be forever greateful.
Thanks,
MarkThanks for your response Frank.
Unfortunately the problem seems to be greater than that. I've been able to package task-flows into a jar library and tried importing them that way with no luck.
I'm simple trying to call an external task-flow to run inside a region which is inside a splitter panel that I call my console.
Any other ideas ? -
Error when passing URL from OLAP Universe to WebI
Hi Experts,
I am getting 'The Supplier XML is not valid' WebI error when passing a URL from OLAP Universe.
URL example:
'<a href="http://www.sap.com">web link</a>'
I follow Universe Designer Guide:
- typing above URL into Dimension Select statement
- selecting Read As Hyperlink in Object Format.
When I drop this dimension into Result Objects panel in WebI Query and run refresh 'The Supplier XML is not valid' pops up.
What i am trying to achive is to create a pre-formatted as Hyperlink object (dimension) in WebI to make it available for a user to design ad-hoc reports.
Please help
ThanksHi,
Refer the below forum link for more information:
Universe object format in Web Intelligence
I guess you can do some changes in the format of Universe object and use it in Webi.
-Noor. -
How to use data from standard view in Web dynpro for ABAP
Hello:
I have to create an Abap Web Dynpro, and I must use data from a standard view in the new one. Does anybody know what do I have to do?
Thank you and have a happy new year.Hi Rodrigo,
Firstly, list the Standard component under Component Usage of the Component which you are creating in your View.
Second, In the Custom Component, view, goto context, and try to add the node from the Standard component in to your view.
NOTE: The second step requires a Node in component controller of the Standard Component.
Finally, Now in your view, get the data from that and map the data.
NOTE: To do this, I think you need to call your Standard WDA first and then only your node contains data and it will be passed.
I hope it is helpful.
Regards,
Shashikanth. D -
JBO-33035: Row currency has changed; Using snapshots from another DB
I receive this error due to a snapshot performing a complete refresh. It is not due to the user hitting the Back button in the browser. How can you get around this scenario. The page has been rendered, the user navigates somewhere else via some link, and the jbo-29000 and 33035 errors get thrown because of the snapshot having refreshed. It's not an option to stop using the snapshot. I have already tested setting 'Enable Token Validation' to false on the object. Still get the error. Any suggestions?
Hi,
I assume you use JavaServer Faces, correct ? In this case go to the starting page's pagedef file and opn the Structure Window
- select the "bindings" node and create an "action" that you bind to the ViewObject execute() operation (If you use EJB or POJO, crate a methd binding)
- in the "executables" section create an "invokeAction" pointing to the action created before
- under refresh conditions, add #{!adfFacesContext.postback} so the iterator is refreshed when you navigate back from another page.
This should solve the problem
Frank -
Using EJB from another connection pool in WLPI
Hi All,
I've deployed an entity bean (CMP) which used the connection pool other than the
one used by WLPI. When I execute the business operation I've defined for this
bean, the following exception is encountered:
"Couldn't get connection: java.sql.SQLException: Connection has already been created
in this tx context for pool named wlpiPool. Illegal attempt to create connection
from another pool: oraclePool"
Is there any other alternative for me to use the entity bean in WLPI?
Thanks,
FredInstead of using mulitiple connection pool,we are using single connection pool.
Our one application, accessing remote db also, for that we are using simple jdbc
connection. No pool.
We also tried OracleXAdriver. In that case, at the time of startup we are getting
weird error.
Thanks
JIgnesh Patel
"Fred" <[email protected]> wrote:
>
I simply turned all my CMP to BMP and get the connection from another
connection
pool. But that was not what I want. Is there any method that allows a
CMP to use
connection pool other than the wlpiPool pool in WLPI?
Thanks
"jignesh" <[email protected]> wrote:
Hi Fred,
We are also getting same error. How did you resolve this error ?
I'd appreciate,if you can post resolution of this error.
Thanks
Jignesh Patel
"Fred" <[email protected]> wrote:
Hi All,
I've deployed an entity bean (CMP) which used the connection pool other
than the
one used by WLPI. When I execute the business operation I've defined
for this
bean, the following exception is encountered:
"Couldn't get connection: java.sql.SQLException: Connection has already
been created
in this tx context for pool named wlpiPool. Illegal attempt to create
connection
from another pool: oraclePool"
Is there any other alternative for me to use the entity bean in WLPI?
Thanks,
Fred -
Using methods from another Form C#
Hello!
I'm having some trouble using methods from one Form in another one. Here's the deal:
This is a snippet from my 'main' form:
public partial class PRINCIPAL : Form
//some variables here
Form2 Config = new Form2();
Form3 Cadastro = new Form3();
public PRINCIPAL()
InitializeComponent();
//code goes on and on
//Here's the method I want to call on the other forms (Form2 and Form3)
public void salva_banco()
this.Validate();
this.projetoBindingSource.EndEdit();
this.modulosBindingSource.EndEdit();
this.funcaoBindingSource.EndEdit();
this.estadosBindingSource.EndEdit();
this.tableAdapterManager.UpdateAll(this.database1DataSet);
//And here is where I show Form3
private void projetoDataGridView_CellDoubleClick_1(object sender, DataGridViewCellEventArgs e)
Cadastro.ShowDialog();
//And here is where I show Form2
private void funcaoDataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
Config.ShowDialog();
}// And the code keeps on going}
And this is a snippet from Form3:
public partial class Form3 : Form
public Form3()
InitializeComponent();
private void Form3_Load(object sender, EventArgs e)
this.projetoTableAdapter.Fill(this.database1DataSet.Projeto);
this.modulosTableAdapter.Fill(this.database1DataSet.Modulos);
private void btnOK_Click(object sender, EventArgs e)
if (projetoTextBox.Text == "")
MessageBox.Show("some text here");
else
////// HERE IS THE PLACE WHERE I WANT TO CALL THE METHOD! "salva_banco()"
I've read lots of suggestions but none satisfied my condition.
I appreciate any help.
Thanks.You need to find the instance of the PRINCIPAL form to call the method on. If you know there will always be exactly one open you can use:
var principalForm = Application.OpenForms.OfType<PRINCIPAL>().Single();
principalForm.salva_banco();
David
David http://blogs.msdn.com/b/dbrowne/ -
if i sell my computer and delete the firefox icon, can i gain access to my bookmarks and passwords from another computer and different IP address?
See:
http://kb.mozillazine.org/Profile_backup and [[Backing up your information]]
http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
You can upload that data using the Firefox Sync extension to access it on another computer.
See:
[[What is Firefox Sync]]
[[How to sync Firefox settings between computers]] -
Sales using plan from another company code
Hello Gurus,
will you please provide some detail about customizing " inter-company sales processing", mainly about how to get plant from another company code?
thanks very much!Hi
explaining you in brief, the basic requirments for intercompany sales is,
Both the company codes should belong to the same company
The material should be existing in both the company codes
Configuration Settings :
1. The material should be extended to the Ordering company and while extending the plant and storage location should be maintained same(that of Delivering)
2. An Internal Customer should be created in the Delivering Company Code. Use the Delivering Company code and ordering sales area.
3. In the path IMG - Sales and Distribution - Billing - Intercomapny Billing -
1. Define Order types for Intercompany Billing - where you have to assign the Billing type IV to the sales Order types.
2. Assign Organisational units by plant - where you have to assign the Delivering plant to the ordering sales area
3.Define Internal Customer number by Sales Organisation - where you have to assign the Internal Customer number to the ordering sales organisation
In addition to this you have to define the plant as the Delivering Plant by maintaining the assignment of plant to Sales Organisation and Distribution Channel (of Ordering in enterprise structure)
Now you can create an order and in that you have to change the plant manually and save.
Thanks,
Ravi
Maybe you are looking for
-
My daughter has set my apple id the same as hers by mistake anyone know how to change this pls
my daughter set up my iphone 4s and when she set up the apple id she used hers by mistake and know we are both on the same id and every message either of us sends or recieved it is going to the other person aswell does anyone know what i can do to ch
-
File display extremely slow with call of OLE_FLUSH_CALL standard function
Hi, We are running SAP R/3 Enterprise 640 with Doculink extension. When trying to display PDF files stored in an SAP Archive Server, it takes quiet a while to retreive the document, while displaying it through a web browser is very fast. I have made
-
How differentiate POs classic scenario and POs extended classic scenario?
Hi Gurus, Is possible determine that some POs are generated in SRM system and send to R3 (Extended classic scenario) and other POs only to send from SRM to R3 system (classic scenario) in the same system? How we can differentiate which POs should be
-
Problems with actions (batch automation)
I created an action to convert some .tif files to .jpg's and then resize the image and close. However when i try to put it into action, the batch automate wont proceed, and it says: "The command "save as" is not currently available... even if i click
-
Hi, I like to know OBIEE Admin Tasks in Linux like how to move reports from DEV to UAT. Thanks !