dbTalk Databases Forums  

Unexpected row shift using SAP BW OleDb provider with SAP BW 3.5

comp.databases.olap comp.databases.olap


Discuss Unexpected row shift using SAP BW OleDb provider with SAP BW 3.5 in the comp.databases.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Julien Cheyssial
 
Posts: n/a

Default Unexpected row shift using SAP BW OleDb provider with SAP BW 3.5 - 05-25-2005 , 04:17 AM






Hi all,

I have created a Microsoft .NET windows application (in C#) which reads
and displays data directly from SAP BW using the SAP BW OleDb provider.
The application simply connects to the SAP BW system and executes
against it a very simple MDX query :

SELECT
[0CALMONTH2].[LEVEL01].Members ON COLUMNS,
[ZCOUNTRY].[LEVEL01].Members ON ROWS
FROM [$ZMYCUBE]
WHERE [Measures].[ZSALES]

The application returns expected results when the MDX query is executed
against a SAP BW 3.1. But, if the MDX query is executed against a SAP
BW 3.5 containing the very same cube, there is a row shift on the
dimension column (the first column). Here is the detailed illustration
of this unexpected behavior:

Here is the expected results, which is correctly obtained in my .NET
application using the SAP BW OleDb provider connecting to a SAP BW 3.1
system :

Jan Fev Mar
----------------------------
DE 60 80 85
FR 120 100 120
UK 140 110 110

And here is the obtained results in my .NET application using the same
SAP BW OleDb provider, connecting to a SAP BW 3.5 system :

Jan Fev Mar
----------------------------
FR 60 80 85
UK 120 100 120
140 110 110

The "DE" country has disappeared and other countries have been shifted
1 row up ! But note that measures values for columns "Jan", "Fev" and
"Mar", didn't move.

- I made this test using many different versions of the SAP BW OleDb
provider for Olap, and I encountered the same problem with all of them.
- Plus that, I tested the MDX query using the MDXTEST tool on both 3.1
and 3.5 versions of SAP BW and both systems returned correct and
expected results.
- I also could reproduce the bug on different SAP BW 3.5 systems.

I think SAP BW 3.5 doesn't return the same structure of data results,
thus making the SAP BW OleDb provider interpreting incorrectly. Did
anyone had this problem and is there a patch which could fix it? Thanks
in advance.

Best regards.


Reply With Quote
  #2  
Old   
Joerg Narr
 
Posts: n/a

Default Re: Unexpected row shift using SAP BW OleDb provider with SAP BW 3.5 - 06-02-2005 , 07:12 AM






Julien,

this can be a bug in the ODBO driver of SAP. This is not at all unusual.
Post your problem to the OSS. Another Patchlevel might solve your issue.

Kind regards,

Joerg
hotmail

"Julien Cheyssial" <julich (AT) gmail (DOT) com> schrieb im Newsbeitrag
news:1117012653.393791.63920 (AT) g43g2000cwa (DOT) googlegroups.com...
Quote:
Hi all,

I have created a Microsoft .NET windows application (in C#) which reads
and displays data directly from SAP BW using the SAP BW OleDb provider.
The application simply connects to the SAP BW system and executes
against it a very simple MDX query :

SELECT
[0CALMONTH2].[LEVEL01].Members ON COLUMNS,
[ZCOUNTRY].[LEVEL01].Members ON ROWS
FROM [$ZMYCUBE]
WHERE [Measures].[ZSALES]

The application returns expected results when the MDX query is executed
against a SAP BW 3.1. But, if the MDX query is executed against a SAP
BW 3.5 containing the very same cube, there is a row shift on the
dimension column (the first column). Here is the detailed illustration
of this unexpected behavior:

Here is the expected results, which is correctly obtained in my .NET
application using the SAP BW OleDb provider connecting to a SAP BW 3.1
system :

Jan Fev Mar
----------------------------
DE 60 80 85
FR 120 100 120
UK 140 110 110

And here is the obtained results in my .NET application using the same
SAP BW OleDb provider, connecting to a SAP BW 3.5 system :

Jan Fev Mar
----------------------------
FR 60 80 85
UK 120 100 120
140 110 110

The "DE" country has disappeared and other countries have been shifted
1 row up ! But note that measures values for columns "Jan", "Fev" and
"Mar", didn't move.

- I made this test using many different versions of the SAP BW OleDb
provider for Olap, and I encountered the same problem with all of them.
- Plus that, I tested the MDX query using the MDXTEST tool on both 3.1
and 3.5 versions of SAP BW and both systems returned correct and
expected results.
- I also could reproduce the bug on different SAP BW 3.5 systems.

I think SAP BW 3.5 doesn't return the same structure of data results,
thus making the SAP BW OleDb provider interpreting incorrectly. Did
anyone had this problem and is there a patch which could fix it? Thanks
in advance.

Best regards.




Reply With Quote
  #3  
Old   
Julien Cheyssial
 
Posts: n/a

Default Re: Unexpected row shift using SAP BW OleDb provider with SAP BW 3.5 - 06-08-2005 , 04:47 AM



I fixed the problem by applying OSS Note 828949


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.