MDX Queries , Webservices in SAP BI7.0
In BI we have a Query and that query is being used by .NET Application. Now we need to do some changes in the query. While i made a change in the query in Q-Sys that change is not reflecting in the .NET Application[Q-Sys]. From the .NET Person i received some MDX Queries which are using for retrieving the data from the query. I used the TCODE : MDXTEST while im going to give that MDX Query and run it is showing the data, but that data is not similar to the query o/p(changed query), it is showing the data (as of before modifying the query).
Any one please help me out, regarding this MDX Queries, What is the WebService part in BW,
When XMLA, SOAP, WSDL ... come into picture as of BW side.
check these
http://help.sap.com/saphelp_nw2004s/helpdata/en/e8/2cd937651f1a13e10000009b38f8cf/content.htm
http://help.sap.com/saphelp_nw70/helpdata/en/c8/e92637c2cbf357e10000009b38f936/content.htm
Similar Messages
-
Mdx-queries: how to optimize their processing?
hi there. I have a problem with mdx-queries processing. For now mdx-queries are processed as follows:
if I refer a dimension in an mdx-query the OLAP processor while creating a cube downloads into internal memory the whole SID-table and then the whole P- and Q- tables for the corresponding charachteristic are being downloaded as well. And it doesn't take in account any filters used in a query on this stage, i.e. the whole axis is downloaded.
Does anyone know if there is a possibility to optimize the mdx-queries processing in SAP BW? How to make it take in account filters on the stage of downloading master data for the cube?
We use the SAP BW 3.5 version.hi there. I have a problem with mdx-queries processing. For now mdx-queries are processed as follows:
if I refer a dimension in an mdx-query the OLAP processor while creating a cube downloads into internal memory the whole SID-table and then the whole P- and Q- tables for the corresponding charachteristic are being downloaded as well. And it doesn't take in account any filters used in a query on this stage, i.e. the whole axis is downloaded.
Does anyone know if there is a possibility to optimize the mdx-queries processing in SAP BW? How to make it take in account filters on the stage of downloading master data for the cube?
We use the SAP BW 3.5 version. -
Request MDX syntax for BOE XI3.0 and SAP BI7
Hi,
Does anyone know that where I can find a document to specify the MDX syntax that can be used for BOE XI3.0 and SAP BI7?
I found a related topic on:
Resources for customizing SAP Universe objects with MDX
But after go through the above thread, the feeling is that we can only get the answer by testing each of the syntax.
Could anyone share any ideas to this topic?
Thanks and regards
noraHi Ingo,
Here is the example that customer gave:
Per you request, a real example. The following objects were created,
when an universe was set up against a BEx Query:
Notation A: [0LOCNOTA].[LEVEL01].[20LOCNOTA].[Value]
Notation B: [0LOCNOTB].[LEVEL01].[20LOCNOTB].[Value]
Notation C: [0LOCNOTC].[LEVEL01].[20LOCNOTC].[Value]
Notation D: [0LOCNOTD].[LEVEL01].[20LOCNOTD].[Value]
User Status: [0LOCUSTA].[LEVEL01].[20LOCUSTA].[Value]
Want to be able to create an object, CFact, defined in the universe as
(shown in Oracle syntax here, but of course we have a SAP OLAP
universe thus our request for a MDX syntax for BO and SAP BW/BEx Query):
decode([0LOCNOTA].[LEVEL01].[20LOCNOTA].[Value],'Y','FAIL;','')
||decode([0LOCNOTB].[LEVEL01].[20LOCNOTB].[Value],'Y','CDMN;','')
||decode([0LOCNOTC].[LEVEL01].[20LOCNOTC].[Value],'Y','BSFR;','')
||decode([0LOCNOTD].[LEVEL01].[20LOCNOTD].[Value],'Y','ERR;','')
||substr([0LOCUSTA].[LEVEL01].[20LOCUSTA].[Value],1,4)
Say, if values for the objects are 'Y', 'N', 'Y', 'N',
and 'INACESSIBLE', respectively, CFact would have the data
FAIL;BSFR;INAC
Hope the above provides you with enough detail.
thanks and regards
nora -
MDX queries : BW statistics are inconsistents
Hello,
We are implementing BO on top of SAP BW 3.5.
We had some major performance issues , and now we're tryning to investigate in detail.
The queries were first launched on BO only, and afeterwards on SAP BW, using the transaction MDXTEST, we measured a similar amount of time.
Now now want to have a closer look at the distribution of the time spent. (DB%,Frontend%;Network%, etc...)
The problem is that when we have a look at transaction ST03 in BW analysis, the statistics of MDX
queries are inconsistents :
I've join a concrete example :
The left column is a BO statistic executed on SAP using MDXTEST,
The right column is a traditional BEX query.
When I do the addition of the different time %(percent total) the results is 100 % for the Bex query ...and 44% for the MDX query.
I know that many fixes for MDX have been delivered on BI.7, but what about 3.5, I searched the sap notes but I couldn't find any note descrybing this symptom, nor any fix for our BW release.
Do you know how I should interpret thoses results, in other worlds, where ar the missing percentages in MDX queries ?
thank you in advance for your help.
Regards.
InfoCube Name Cube C Cube C
Name of Query Query A(BO) Query B(BEX)
Number of Navigation Steps 1 1
Total Runtime (s) 534,9 39,8
Total Runtime / Navigation Step (s) 534,9 39,8
Median of Total Runtime (s) 534,9 39,8
Initialization Time (s) 0,2 0,4
Initialization Time / Total Runtime (%) 0,04 1,01
Ø Initialization Time (s) 0,2 0,4
OLAP Runtime (s) 0,9 2,1
OLAP Time / Total Runtime (%) 0,17 5,28
OLAP Runtime / Navigation Step (s) 0,9 2,1
Database Runtime (s) 197,0 22,4
Database Runtime / Total Runtime (%) 36,83 56,28
DB Runtime per Navigation Step (s) 197,0 22,4
Frontend Runtime (s) 33,9 4,8
Frontend Runtime / Total Runtime (%) 6,34 12,06
Frontend Time per Navigation Step (s) 33,9 4,8
Master Data Runtime (s) 5,6 10,1
Master Data Time / Total Runtime (%) 1,05 25,38
Ø Master Data Time per Navigation Step 5,6 10,1
Number of records selected 18620 899
Number of Transferred Records 10037 629
Ratio of Selected to Transferred Records 1,9 1,4
Database Time per Selected Record (ms) 10,6 24,9
Number of Cells 162060 7295
Cells per Transferred Records 16,1 11,6
Number Formatted 0 72
Ratio of Formattings to Number of Cells 0,0 0,0
percent Total : 44,43% for MDX and 100,01% as expected for BEX
time 237,8 40,2
Edited by: Raoul Shiro on Feb 5, 2009 6:54 PMHi Raoul,
in regards to the BW statistics values I would suggest you open a OSS case.
in regards to the performance improvements - correct they are done for BI7 and the XI 3.1 release.
Ingo -
Perfromance problem when using MDX queries in Crystal
Dear All,
I am using Crystal reports together with an MDX query from the BI system. When I run the report in the Web then it takes 60 seconds to get results. When I use this query through MDX into a crystal report the query runs very long and in most cases ends up with the message :
Database connection error: 'No more storage space available for extending an internal table"
It looks like there is something going on with the definition of the query on the database when using the MDX drivers. Is There a way to solve this ?
I hear rumours that upgrading to EHP 1 Stack 3 solves performance problems arround MDX queries, but I cannot find prove anywhere. Without proof or an official statement I cannot advise the Customer.
Please Help,
MarcelHi Ingo,
This feature I did not use yet ;-).
The MDX looks like :
SELECT {[Measures].[4B78DNZSKX3JQCWJKSS9S421C]} ON COLUMNS, NON EMPTY CROSSJOIN(EXCEPT([Z0TERR2__Z0SALEM].MEMBERS, {[Z0TERR2__Z0SALEM].[All]}), CROSSJOIN(EXCEPT([Z0CUST].MEMBERS, {[Z0CUST].[All]}), CROSSJOIN(EXCEPT([0DOC_NUMBER].MEMBERS, {[0DOC_NUMBER].[All]}), CROSSJOIN(EXCEPT([Z0TERR2].MEMBERS, {[Z0TERR2].[All]}), CROSSJOIN(EXCEPT([Z0ORDITEM__Z0CNVMAN].MEMBERS, {[Z0ORDITEM__Z0CNVMAN].[All]}), CROSSJOIN(EXCEPT([Z0CICL__Z0IMLG18].MEMBERS, {[Z0CICL__Z0IMLG18].[All]}), CROSSJOIN(EXCEPT([Z0DUMOVEN__Z0MOVDECR].MEMBERS, {[Z0DUMOVEN__Z0MOVDECR].[All]}), CROSSJOIN(EXCEPT([Z0BUSTRW].MEMBERS, {[Z0BUSTRW].[All]}), CROSSJOIN(EXCEPT([Z0BUSTSTW].MEMBERS, {[Z0BUSTSTW].[All]}), EXCEPT([Z0IBUSTRW].MEMBERS, {[Z0IBUSTRW].[All]})))))))))) DIMENSION PROPERTIES [Z0CUST].[20CITY], [Z0CUST].[2Z0CUST], [0DOC_NUMBER].[2Z0SALCRON] ON ROWS FROM [Z0SD_M04/Z0SD_M04_Q0021] SAP VARIABLES [0P_COAR] INCLUDING [0CO_AREA].[3100], [0P_COCD] INCLUDING [0COMP_CODE].[3110], [0GMFROM] INCLUDING [0FISCPER].[Y42009002], [0GMTO] INCLUDING [0FISCPER].[Y42009002], [!V000005] INCLUDING [Z0REJECFP].[Y42009002], [!V000006] INCLUDING [Z0REJECFP].[Y42009002], [ZP_CSDAT] INCLUDING [0CALDAY].[20090311]
Running the query in MDXTEST transaction with Flattening gives data in 10 minutes.
Running the query in multidimensional mode gives the same result.
How to proceed ??
Kind regards
Marcel -
Hi All,
If anyone know about MDX queries in BI please share some documentation.
We are using OBIEE as front end for BI for reporting purpose which uses MDX quries from SAP bi
ThanksHi Arun
Thanks for ur reply
I tried using MDXTEST
But i need some more doumentation about that. -
Consuming external webservice in SAP
Hi All,
Wjile Consuming external webservice that is .NET webservice in SAP I am getting the error "Proxy generation terminated: WSDL
(<extension> not supported)". Please can anyoone tell me what would be the issue and how should I resolve it.
Thanks in Advance,
Meenu.The SAP version that we are using is ECC 5.0. And the URL that they have given me to consume has some .svc extension.
http://ctnhgesappdev.corp.timken.com/GES_EDISService/EDISService.svc?wsdl
So when I am trying to consume this in SAP I am getting the error "Proxy generation Terminated : WSDL error : (<extension> not supported)". -
Need Inputs - Creation of webservice in SAP R3 through PI
Hi Experts,
Need inputs that my client wants me to create an webservice in SAP/R3 through PI and they (client) will call it by their 3rd party software.
Webservice contain fields like :- Comany_Code, Location_Code,Item _code etc.
SAP -
> PI ---> 3rd party
Is this possible through PI ? Please comment !
Thanks.Hi,
If you have such kinda requirement , then it is easy to create WSDL(webservice) on PI System..
Create a normal Xi Interface with normal Steps .....
Your Sender DataType will be acc to Your requirement as clients want...
go to tools - Define webservice ... ( will Use Outound Service Interface and namespace)
read the template and Put values in there . This will genrate a WSDL for you ,
You Can give this Genertaed , WSDL File to Client to consume in their application and Pass data to it ..
Hope it helps ..
Regards
Prabhat Sharma. -
Queries related to sap Basis.
Dear All
Can any body tell me queries related to sap Basis.
Which data sources need to be installed and what are the cubes and dso's which gives information related to SAP BASIS.Hi,
It might not be installed in ur system Thats y u are unable to find.
Goto rsa1->BI Content ->Infoproviders by infoareas....There u shall find 0DBH infoarea. It is Database performance.
In my client Basis people are using some of the cubes from this infoarea.
But datasources are generic.
Hope this helps.
Regards,
Guru -
How to use Webservices in SAP 7.0 SP 17
Hi,
I am having issues calling the webservices in SAP 7.0 SP 17.
I am following the below mentioned tutorial to call a webservice from a portal project (PAR).
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b449e790-0201-0010-1188-ff17840712d3
I have been successful to a point where my websevice needs authentication. I am not sure how to do this.
Here is the code of doContent()
public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
try
logger.infoT("Inside doConent()...");
UserProfile up = pushUserProfileAttributes();
logger.infoT("After pushUserProfileAttributes()...");
ILDAPOperationsService port=(ILDAPOperationsService) PortalRuntime.getRuntimeResources ().getService (ILDAPOperationsService.KEY);
logger.infoT("After port()...");
RegisterUserResponse res = port.CreateExternalUserProfile(up);
logger.infoT("After res ..user created." + res.getEmailAddress());
} catch (UserRegistationFailed e){logger.errorT("Error in calling webservice...."+ e.getLocalizedMessage());}
catch (Exception e1){logger.errorT("Error in calling webservice...."+ e1.getLocalizedMessage());
Its failing at RegisterUserResponse res = port.CreateExternalUserProfile(up);
and the error I am getting is
Error : Error in calling webservice....com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: Problem in server response: [Unauthorized].
Any help with this will be highly appreciated.
Also , if any documentation could be shared.
Looking forward to hear something soon on this.
Thanks,
ShivHi Sumit,
you may move your question to the ABAP for SAP HANA community (http://scn.sap.com/community/abap/hana).
Are you asking about the SAP_BASIS version, or which version do you refer to?
Best,
Jasmin -
How to Include JAVA script code in SAP BI7 web Reporting?
How to Include JAVA script code in SAP BI7 web Reporting?
In nw2004s there is a new web item called "Script" web item which lets you add javascript code. When you add javascript code in this web item, you don't need the opening and closing <script> tags...
Hope it Helps
Chetan
@CP.. -
Automatic authentication with a webservice in SAP
hi all
I have a flex application which uses SOAP webservices from SAP to retrieve data.
Everytime one of the SOAP webservices is called the user have to enter a name plus password
I would like to make this automaticly. So that the user haven't got to fill this in. But Flex already filled it automaticcally.
But how do this work? How can you set this in Flex?
kind regards
Anton Pierhagenhi Sathyamoorthi. That is correct. But i'd like to suppress this one time login for the user.
My wish is that during the calling of the webservice in SAP, a system user is automatically login in the background just like the retrieving of the data.
So the user who uses the flex application has no idea that a webservice in SAP is used for the retrieving of the data.
Do you have any idea how to solve this?
Kind regards,
Anton Pierhagen -
Teradata and SAP BI7.3 Connection
Hi experts,
I have requirement to extract data from Teradata to SAP BI7.3, I have gone through some of the links in SDN which was suggest to go for UD connection with JDBC
1.In SAP BI7.3 is there any other way of connecting Teradata ( As all links referred to old version i.e BW3.5 and UD Connector)
2.Does any body have step by step document,
3.What are the Pros and Cons of using UD connector? Can I use DB connector ? and which is the best possible way to get data from Teradata.
Thanks and regards
SriHello
You need to deploy the JDBC drivers for Teradata
Once done you need to create a connection string in the Java stack under the Connector Container.
There is a document available on the Teradata site with the complete steps.
The procedure is same like for other databases. Follow that
How to use the Teradata JDBC Driver with SAP
Regards
RB -
Calling webservice in SAP XI from Servlet
I have requirment of Calling webservice in SAP XI from Servlet.
COuld you provide information of caling simple webservice from servletHello Venkat,
Getting Started with Web Services
Web Services Infrastructure
Getting Started with Web Services [original link is broken]
Thanks,
Satya -
BEST PRACTICES FOR SAP BI7.0
Hello SAP Gurus,
We are working for a client who is in manufacturing business. Can anybody help us to provide some document for Best Practices to implement SAP BI7.0.
Would appreciate.
Thanks
tried searching on sdn but did not get appropriate answer.Hi,
Check this link.
http://help.sap.com/bp_biv335/BI_EN/html/Bw.htm
Regards,
Maybe you are looking for
-
Not able to save a newly created Data Model in BI Publisher.
Hello everyone, I was trying to create a new Report (my very first report) in BI Publisher. I created a new Data Model and a Data Set. But I am not able to save the Data Model and thus not able to proceed to the report. There's no error shown. Same h
-
The above messages keep popping up on my windows laptop since I installed the latest update of itunes. I followed the advice on the apple support page to completely remove itunes and reinstall and now I haven't got itunes at all. How do I solve the p
-
How can I copy the music from my iphone to the pc?
I lost all the songs that I had in my pc, but still have everything on the Iphone, how can use it as a hard drive.? I dont want to buy any program.
-
Sapscript - Diferent Image in every page
Hi all, I want to know how to change an image of a window for every page that sapscript generate. I want to include a image depending of the business area. The window is not main type. Is normal window. Now the image there is not changing, is allways
-
Guest user available after lion 10.7.2 update
I yesterday installed the 10.7.2 update. I now find that on the login screen I have a guest account that wasn't there (and which I don't want). Also the picture of my user was changed. I fixed the picture in the address book (was also changed) and on