Cross Join in SAP MDX using Web I
Hi there,
I am facing an issue. I am currently using BO universe on the top of BW infocube. Now whenever i am dragging two dimensions from the universe in my web i report it is creating cross join , however whenever i add any key figures , it changes the cross join to Non Empty Cross Join.
Now while testing the mdx query in MDXTEST i found that while running the MDX query with two dimensions only is giving me a cross join in MDXTEST also, however if i modify the cross join to non empty cross join it gives me the correct data.
Is it possible to do something in BO or SAP side so that my query starts creating non empty cross join rather then mere cross join.
Is it something to do with the transports we run before installing SAP integration kit
Thanks for your support
Thanks for your input Ingo. I am however creating a report in web intelligence using infocube as the base. Connected via integration kit and a universe. The universe is on the top of the infocube.
So when i create a web i report with two dimensions it is simply doing cross join however when we add a key figure it gives the correct data. The data which comes out of a report with two dimensions only is different then the data coming out of a bex query using the infocube as the base simply because the web i report is creating cross join (in database terminology) whereas the bex query is joining the two dimensions via the fact table to give us relevant data ( e.g. customers for a particular material)
Now when we analyzed the query coming out web i, we found out that instead of "crossjoin" if it uses "Non Empty Crossjoin" it solves the purpose.
Coming to the point the query getting generated from web i is incorrect. I was hoping to get some kind of fix if available from the forum else ask the SAP support people to provide with a hotfix or something
Thanks
Similar Messages
-
How to make link between xcelsius components with sap data using Web servic
Hi all,
I have a doubt regarding connection between Xcelsius components and SAP data.
I created one Web service using Function module and made a connection between xcelsius and that web service using binding URL. It shows imput and output parameters perfectly.
But I cant get any idea as to how to connect Xcelsius components with these parameters.
Can anybody help me out..
please its urgent.
Thanks,
SimadriHave you bound your output parameters to ranges of cells? Select the item, then click the icon to the right of the Insert In: box and select the cells.
Add a spreadsheet component to your chart and bind it to the cells, then preview the model. Do you see the data coming through?
If you do, then you can click File > Snapshot > Export Excel Data. Then close Preview mode, and import data from spreadsheet and select the sheet you just exported. This gives you real data to work with when designing the dashboard.
Hope that helps. -
Modify SAP data using Web Dynpro for ABAP
Experts,
I have a question. We all have working in web Dynpro to create report.
I was trying to display the data in table and update the data.
When I click on Save button the data should be saved in the SAP table.
SAP table may be standard or user-defined table.
Any idea of how to do it???
Answers will b rewarded.
Thanks in Advance
Edited by: Router on Mar 11, 2008 12:06 PMHi,
The solution to this is very similar to the reports that we write.
1. Create a context node from the dictionary element in the view of the webdynpro component.
2. Now you may be displaying/editing this data in the form of a table in the view layout. For this create a table in the layout and bind the fields of the context to the node you created from the dictionary table in the context.
3. In the layout you also want to have a button SAVE. on the event of this button. Write the code from code wizard where in
a. Read the context of the dictionary table from the context.
b. call method
CALL METHOD lo_nd_group->get_elements
RECEIVING
set = lt_ddictable.
c. update the database table using the internal table lt_ddictable.
Hope you find this helpul.
Regards,
Kinshuk -
Execute SAP transaction online ( w/o SAP access ) using web dynpro
Hello,
We have made a quiz on sap using a module pool program which we want to run online on systems wihtout sap access.
How to go about it.we have to acces database for users QUIZ ID to run that particular quiz.In the end we are showing graphs for user score and certificate on smartforms.how we will run this transaction on web browser with dynamic interaction with the databse on the systems in same company.
Thanks & Regards
MonikaHi,
You can directly call DB via native SQL call. What is a business reason for accessing DB directly without SAP Application server ? Are you looking for a way cheating user license ?
Regards,
Masa -
Using WebI with SAP BW Data - Best practice for introducing BW Accelerator
Hi,
We have a significant investment in using BOE XI 3.1 SP2 integrated to SAP BW 7.0 EHP 1 SPS05.
Now we intend to introduce BW Accelerator to improve the data fetch performance for the Adhoc (WebI) Analysis and the formatted reports built using WebI (Infoview).
Data handling in question is approx. 2 Million+ records for each WebI report / adhoc analysis (20 to 30 columns).
The solution could be BW Cubes --> BW Accelerator --> BW Queries --> BO Universe --> WebI using Infoview
Does it really help in introducing the BW Accelerator like the case described above ?
Understand that the BW Accelerator could improve the performance of the underlying data and hence the BW Queries do work faster; but does it really improve (9x to 10x) performance for the MDX Queries generated by the BO Universe ( BOE XI 3.1 SP2 ) & WebI.
What is the roadmap for the future wrt BW Accelerator and SAP BI BO Integration; if we intend to use WebI ?
Or should be migrate to BO Explorer as the front end for Adhoc Analysis ?
Is BO Explorer able to present 1 Million + records with 20-30 columns ?
What is the best practice / better on performance; as an integrated product / solution ?
1) BW Cubes --> BW Accelerator --> BW Queries --> SAP Integ Kit --> BO Universe --> WebI
2) BW Cubes --> BW Accelerator --> ??? --> BO Explorer --> ??? --> WebI ???
3) BW Cubes --> BW Accelerator --> ??? --> BO Pioneer --> ??? --> WebI ???
4) BW Cubes --> BW Accelerator --> ??? --> BO Explorer
5) BW Cubes --> BW Accelerator --> ??? --> BO Pioneer
6) BW Cubes --> BW Accelerator --> BW Queries --> SAP Integ Kit --> Crystal Reports (to handle above data volume)
7) BW Multiproviders --> BW Accelerator --> BW Queries --> SAP Web Analyzer (to handle above data volume)
regards,
Rajesh K Sarin
Edited by: Rajesh Sarin on Jan 25, 2010 4:05 PMHi,
We have a mix of Adhoc Analysis (60 %) and Formatted Reports (40%). We selected WebI as the tool for the purpose & used it for requirements which process approx. 2M records. We faced bottleneck issues on performance (we are on BO XI 3.1 SP2 & SAP BW 7.0 EHP1, SP05).
We are further analyzing possibility to introduce BWA; if this can handle similar record processing & still preserve our investment on OLAP Universes, WebI, SAP Integration Kit & training users on WebI frontend.
I see a lot of documentation suggesting "BO Explorer and BWA" - understand that BWA would improve the DB time and BO Explorer would help on the Front-end / OLAP time.
Request your guidance on the road map & continuation of investment using BWA + WebI.
regards,
Rajesh K Sarin -
How to use Google Tool Bar using web Services in SAP Portal
Hi,
I created a HTML Page in SAP Portal project. I want to incorporate <b>Google Toolbar using web services in my HTML Page.</b>
Please suggest/ tutorial/ codes how to implement this ?
Thanks in Advance,
Anmolsolved
-
OSB and SAP integration using XML web services
Hi Team,
We are designing solution for asynchronous and synchronous scenarios integration between OSB and SAP using web services.
Can you please provide some pointers which tells about how OSB and SAP integration works.
For an example:
If we are designing the above scenario between SAP PI and SAP ECC, we know the below communication protocols are avilable:
1.Proxy
2.RFC
3.IDOCs
And also we know how adapters will get connect.
Now ODB wants to connect to SAP to send and receive data. Please help me with information like:
1. Is Proxy, RFC or IDOCs are applicable for OSB as well?
2. How webservice scenarios can be implemented?
Thanks in Advance.
regards,
VickyHi,
>>>and what are the Forms ? for SAP Business Connector Related Postings ??
try WM (webmethods forums) or here since this is the only middleware related forum on SDN
>>> I have a requirement to integrate sap to non-sap with Business Connector !!
excellent
>>>We need to Generate the SAP Data In xml Format ? and the Non-sap System can Understand Only XML Formated data.
fairly easy
>>>>Is there any way Business Connector Box can Pull the XML file from R/3 Application Server and store the file in the Business Connector Server. from that How do we Sent XML file to Non-sap. How do we Integrate ??
business connector has both IDOC and RFC adapters so it can
receive data from SAP (IDOC, RFC), send data to SAP (IDOC, RFC)
and pull data from SAP (RFC only)
>>>>what transaction code will trigger this event ? I mean is ther any SAP Transaction Code to Integrate Business Connector?
either transaction from SAP (for sending IDOCs for example) or you can schedule (via BC scheduler)
an RFC call to SAP that will fetch the data and put it in an XML file
good luck,
Regards,
Michal Krawczyk -
Fetch multiple rows using cross-join technique
Hello.
Can anyone suggest a method to return 3 rows from a query when only one row would otherwise be returned?
I'm trying to achieve the Logical SQL analog to this -
SELECT x.foo, p.id, p.name FROM people p CROSS JOIN (SELECT 1 AS foo UNION ALL SELECT 2 UNION ALL SELECT 3) x;Reason: I want to force a three (n) row result and use GROUP BY with case statements to create 3-level summary.
Here is a simple Logical SQL expression that works for my OBI setup -
SELECT
"- Nx_CSDG0_Repair_Orders (Depot Repair Views)".Repair_Number saw_0,
"- Nx_CSDG0_Repair_Orders (Depot Repair Views)".SR_Operating_Unit_Name saw_1
FROM
"[Noetix-NoetixGlobalRepository] NoetixViews for Oracle Service"
WHERE
("- Nx_CSDG0_Repair_Orders (Depot Repair Views)".Repair_Number = '338246')But I think I cannot do this -
SELECT
"- Nx_CSDG0_Repair_Orders (Depot Repair Views)".Repair_Number saw_0,
"- Nx_CSDG0_Repair_Orders (Depot Repair Views)".SR_Operating_Unit_Name saw_1
FROM
"[Noetix-NoetixGlobalRepository] NoetixViews for Oracle Service"
CROSS JOIN (SELECT 1 AS foo UNION ALL SELECT 2 UNION ALL SELECT 3)
WHERE
("- Nx_CSDG0_Repair_Orders (Depot Repair Views)".Repair_Number = '338246')But what can I do?
Thank you.
-csHi CSeelig ,
The BI Server uses the ANSI SQL standard. Then all SQL that follows this specification will in OBIEE work.
I have made an example with a densification:
http://gerardnico.com/wiki/dat/obiee/logical_sql/obiee_sql_densification
You will see a cross join to make a densification.
Cheers
Nico -
Formula :using filter with cross join issue
Hi alll,
Ihave one scenario like calclate the ytd values using cross join like
IIF(is ([Flow].CurrentMember,[YTD]),
(case
when
is ([PERIOD].CurrentMember,[2008.01])
Then (Sum (crossjoin({[DI-3]},CrossJoin({[FLOW].[MtD]},{[PERIOD].[2008.01],[PERIOD].[2008.01] })))/2)
when
is ([PERIOD].CurrentMember,[2008.02])
Then (Sum (crossjoin({[DI-3]},crossjoin({[FLOW].[MtD]},{[PERIOD].[2008.01],[PERIOD].[2008.02]}))))
when
is ([PERIOD].CurrentMember,[2008.03])
Then (Sum (crossjoin({[DI-3]},CrossJoin({[FLOW].[MtD]},{[PERIOD].[2008.01],[PERIOD].[2008.02],[PERIOD].[2008.03]))))
etc,othercase)
but I am trying other oneto decrese the size of formula
IIF(is ([Flow].CurrentMember,[YTD]),
(Sum (crossjoin({[DI-3]},CrossJoin({[FLOW].[MtD]},
{filter([PERIOD].Generations(5).members,StrToNum(Right([PERIOD].CurrentMember.MEMBER_NAME,2)) <= StrToNum(Right([PERIOD].CurrentMember.MEMBER_NAME,2)) AND StrToNum(Left([PERIOD].CurrentMember.MEMBER_NAME,4))=StrToNum(left([PERIOD].CurrentMember.MEMBER_NAME,4)) ) }))))
, othercase )
but its result is same value for all the YTDs for every month, something is going wrong some where
plz any help would be appriociated
Thanks in advance
.macearl wrote:
SQL View does not display unless data is returned by the query. Is that normal?
Also, none of these options shows the literal result of the expression we built, i.e.:
expression: CAST(YEAR(TIMESTAMPADD(SQL_TSI_MONTH, -24, CURRENT_DATE)) as CHAR)
result: *2008*
Having the ability to test expressions and see their results would be very helpful in debugging. If anyone knows how to do that please share!
Thanks!
MacOk, Probably shoud have figured this out before, but in response to my own question, the way to view the result of an expression is to add the expression as a column and include it in the Table Presentation.
- Mac (he can be taught) -
I have 2 separate data providers/queries
Let's say in the first one it returns something like this:
OrderId Product Amount
1 Apple 500
1 Orange 400
1 Banana 600
2 Apple 300
2 Orange 200
And in the second one it returns something like this:
OrderId SalesPerson
1 Bob
1 Mary
2 Steve
I'd like to have the webi report output something like this (basically a cross join)
OrderId Product Amount SalesPerson
1 Apple 500 Bob
1 Orange 400 Bob
1 Banana 600 Bob
1 Apple 500 Mary
1 Orange 400 Mary
1 Banana 600 Mary
2 Apple 300 Steve
2 Orange 200 Steve
I think I've tried every combination of merge dimensions/detail objects, etc. but always end up with either #INCOMPATIBLE or #MULTIVALUE in SalesPerson when there are multiple salespersons associated with an order (such as order 1 in the example above). When there is only one SalesPerson associated with the order then it works as expected, such as below:
OrderId Product Amount SalesPerson
1 Apple 500 #MUTLIVALUE
1 Orange 400 #MULTIVALUE
1 Banana 600 #MULTIVALUE
2 Apple 300 Steve
2 Orange 200 Steve
I can't really change the universe, so is this possible to do within webi?Thanks Bala, but I should have mentioned in my original post I tried that as well. It gives me something like this:
OrderId Product Amount SalesPerson
1 Apple 500 Bob
1 Orange 400 Bob
1 Banana 600 Mary
2 Apple 300 Steve
2 Orange 200 Steve
It avoids the #MULTIVALUE, but it doesn't do a proper cross-join. It shows only the number of rows associated with the Product, but doesn't cross-join across SalesPerson. Worse, it seems to "randomly" join against SalesPerson for one of the rows - i.e, I'm not sure why it displayed Mary for one of the rows instead of Bob. -
How to integrate Microsoft and SAP using Web Services?
Hi All
How to integrate Microsoft and SAP using Web Services? If any one has document please send it to me. My id is [email protected]... Please
Help me
Best Regards
Ravi ShankarHi Ravi,
This is for Customizing Email and Other Web Services.
Create addresses
The address maintenance of R/3 users is carried out either via the R/3 User Maintenance (Transaction SU01) or the Private office settings (Transaction SO12):
Address --> Other communication...
Selection of the required communication service.
Enter address.
Copy or save.
b) Configuration of SAPconnect (Transaction SCOT)
Set communication method
4.0 + 4.5: Goto --> Customizing --> Communication methods
as of 4.6: Settings --> Communication methods
Set the method of the required communication service to the value 'SAPCONNECT' and save the setting.
Customized the same for Internet mailing.
C) If you want to Transfer Table Structure Values from SAP R/3 to Web Services then
1. Create BAPI and Transfer whichever things you want.(Note: The Structure
of BAPI should be similar to Web Structure (Datatypes).
2. Create a BDC and Schedule it in the Background.
Hope it helps you, Awaiting for the Reward Points.
Thanks
Subrato Chowdhury -
What is the use of Cartesian Product or Cross join?
Dear friends...
I have done with inner join, self join and outer join. But I m getting confused with cross join. I know it used to produce Cartesian product of two table. But I wanted to know what is the use of Cartesian product in real life? In
which situation we can use Cartesian product or cross join? I wanted some real life examples on Cartesian product. Please help me.Sometimes you get requirement stating that all combinations should be considered and in this scenario CROSS JOIN comes in play.
If you have Products and Stores table, by using CROSS JOIN you can get the combination of all stores and all products and then you can JOIN this result set to other tables.
Please refer: The power of the Cross Join
Cheers,
Vaibhav Chaudhari
[MCTS],
[MCP] -
Can cross join be used with other joins
hi,
Q1) is this syntactically correct , cross join with other joins like inner outer. like following.
select * from t1 cross join t2
inner join t3 on cast(t3.c1 as varchar) = (cast(t1.id as varchar) + cast(t2.t2 as varchar))
I have seen it works but wanted to know is it syntactically correct.
yours sincerelyHi
First, Sorry, I wanted to VOTE (as I wrote) and not to Propose as answer :-)
Join are not necessarily executing in the order we write them. I can show simple example with tables that include the amount of rows is very different.
/**************************************************** DDL - Create tables */
CREATE TABLE T1 (
ID INT IDENTITY CONSTRAINT PK_T1 PRIMARY KEY,
MyValue UNIQUEIDENTIFIER DEFAULT NEWID()
CREATE TABLE T2 (
ID INT IDENTITY CONSTRAINT PK_T2 PRIMARY KEY,
MyValue UNIQUEIDENTIFIER DEFAULT NEWID()
CREATE TABLE T3 (
ID INT IDENTITY CONSTRAINT PK_T3 PRIMARY KEY,
MyValue UNIQUEIDENTIFIER DEFAULT NEWID()
GO
/**************************************************** DML - Populate Tables*/
SET NOCOUNT ON;
insert T1 (MyValue)
select top 100 null
from _ArielyAccessoriesDB.dbo.ArielyNumbers
GO
insert T2 (MyValue)
select top 500 null
from _ArielyAccessoriesDB.dbo.ArielyNumbers
GO
insert T3 (MyValue)
select top 10000 null
from _ArielyAccessoriesDB.dbo.ArielyNumbers
GO
/**************************************************** Play Time */
select T1.MyValue, T2.MyValue, T3.MyValue
from T3
join T2 on T2.ID = T3.ID
join T1 on T1.ID = T2.ID
GO
-- Check Execution Plan [EP]
-- Notice that SQL Server has changed the join order from T3-T2-T1 to T1-T2-T3 because it’s better that way.
-- You can notice that the order was by the number of rowns in tables from the smallest to the bigest SET
hope this is helpful :-)
[Personal Site] [Blog] [Facebook] -
OBIEE: non empty cross join function problem with some reports
Hi all,
I am getting some problem ,when we are excuting some requests in OBIEE its taking long time , Actually our OBIEE is connected with Essbase when we are generating some reports its taking long time so i captured the Query in OBIEE and Iam excuting that query in Essbase MDX editor
its having the the function " NON EMPTy CROSS JOIN"
which reports having non empty crossjoin function its taking long time so how can i disable this function in OBIEEfor that reports
I dont want to use that function for my reports so how can i do this in OBIEE
your help would be appriciated.
Thanks
Edited by: user8815661 on 26 mai 2010 08:44Any Help
-
Problem in completing the TASK when using Web Dynpro Java and BPM
Hi,
I am using Web Dynpro Java and BPM.
i see my Web Dynpro View when i run the process.
Just that the task is not completing.
when i click on the Web Dynpro button to signal the completion of the event, nothing happens.
i have appropriately created events in both Component controller and Interface Controller and used the same in creating the Task.
a method in Component controller fires the event and a button click in the view calls this method.
i have successfully completed Donka Dimitrova's "SAP Netweaver Business Process Management-End-to-End Process Implementation Sample " but when i tried my own with slight modifications, it is not working !!!
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d07f3e88-554f-2b10-3cbf-ab8afea51b9f
regards,
-Amol GuptaHi Amol,
The way you described the things, I dont see any problems. Just to make sure that you are triggering the right event that you mapped as completion event for the task, try to cross check once again and see if the correct event is getting triggered. Also try to put some messages for debugging to see till where the control goes.
Regards,
Arafat
Maybe you are looking for
-
Error Message: Need to purge Cache in Adobe Bridge CC (on PC)
I tried purging using Adobe Bridge by going to Edit/Preferences/Cache then purging, but it becomes non responsive. The error message said the problem files were at Users/(my user name)/AppData/Roaming/Adobe/BridgeCC/Cache. There are 4 files in the
-
When I turn on my Ipad and click on Safari it says Safari could not open the page because the server stopped responding.but I can get on internet with Google Chrome. What is the problem and how can I repair it?
-
I recently upgraded to 10.5 (now 10.5.7), and I have the CS2 Creative Suite. My Illiustrator seems to work fine, but my Photoshop will not open. Any patches or solutions? I can fine CS3 help on Adobe.com, but none for CS2 regarding Illustrator.
-
ITunes is failing to open run on my PC last 2 days.
iTunes is failing to run on my PC last 2 days. I repaired and reinstalled iTunes but still get the message it failed to install - error 7 and windows error 5 I now seem to be going in circles. can anyone help? We also seem to be getting another mess
-
Create effect as if music was playing in scene
Greetings I'm new to Soundbooth, but after having worked for several years using PPro and AE I have now come to a point where I (think) actually need an advanced sound editing tool. I'm editing a scene where characters are leaving a movie theater whi