cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI to read cube data

Former Member
0 Kudos

Hi friends !

Could you please give me the std BAPI names to read data from an infocube (that returns a list of all records, or as a DB aggregation in some way, contained in a cube) ?

Bye,

Roberto

View Entire Topic
Former Member
0 Kudos

Hi Roberto,

which one do you want? BAPI object MDDataSetBW gives you the data if you are able to use MDX to extract the data. TDDataProviderBW gives you tabular data which might help in your case. Both objects contain a multitude of methods to get your values but are quite difficult to handle.

If you use BPS you could use API_SEMBPS_GETDATA to get cube data.

My personal favorite is RSDRI_INFOPROV_READ. It also has a huge interface but with a bit of trial and error it's more or less straight to use.

Note that this function module isn't officially released but it's the internally used interface.

If you have any questions about the interface feel free to ask.

Best regards

Dirk

Former Member
0 Kudos

Hi Dirk,

thanks for all these information...

I need to link BW data (stored in several cubes) to Hyperion Financial Management...the adapter provided by Hyperion in H.Application Link for BW allows extraction via BAPI and/or RFC call...

I wonder which type of tool it's better to use for this purpose and, above all, which type of method allows to test extracted data quality/layout.

Let me know what are your thoughts...

Thanks in advance, Dirk !

Bye,

Roberto

Former Member
0 Kudos

You could use either RSDRI_INFOPROV_READ_RFC or use the standard methods via BAPI object MDDataSetBW. Other ideas are to use Open Hub and write your own RFC to read the db table. The BAPI is the official way but as I said it's a bit difficult to use. It has the advantage to not only extract cube data but also extract query results so if your data is in multiple cubes you might want to use XML/A on queries on multiproviders. The XML/A statement is normally the way to handle this situation.

Best regards

Dirk

Former Member
0 Kudos

Dirk,

I think I'll use RSDRI_INFOPROV_READ_RFC FM...but (as I was afraid of) all parameters descriptions are in german and it's a real difficult undertaking to understand something...

however, I wonder if there is some way to test the output of this FM, considering that:

- at this moment I'm not able to create the RFC connection...

- ...so, I think it's not possible to download the output on local on my machine

- I can use RSDRI_INFOPROV_READ for this purpose...

- ...but it isn't possible to run this FM on test mode (by SE37)

Could you please give me some suggestion (insert RSDRI_INFOPROV_READ in an ABAP pgm to see the result of the extraction ?) and some explanation on parameters that I have to use (especially about tables section) ?

Dirk, do what you can and thanks in advance !

Grateful,

Roberto

Former Member
0 Kudos

Roberto,

What you can do is wrap the FM call into a report and call it. To understand further the input and output parameters go to listcube and put a /h into the toolbar to go into debugging mode. Once in debugging mode create a breakpoint on the FM RSDRI_INFOPROV_READ. You can then look at the contents of what is in the input parameters and mimic them in your report.

Hope this helps.

Cheers,

Scott

Former Member
0 Kudos

Dirk (or better Mike Eacrett from SAP),

just another question...

but RSDRI_INFOPROV_READ_RFC is a component of Open Hub Service ?

Do I need an additional license to use this RFC FM ?

Or to use std BAPIs as MDDataSetBW or MDDataSetBW ?

Former Member
0 Kudos

Extracting data from SAP BW by any means requires additional licensing, ok, but if my customer has already paid for Hyperion Adapter for SAP BW (I think that Hyperion, in his turn, have paid to SAP a sort of fee in order to develop this kind of technology), is it possible that additional (and not so slight!) costs are required ?

I think that if this is true, my client will reject any vendor offering and he will choose (with the same economical effort!) to pay for all his life a good programmer that will extract all needed data through a completely custom solution directly from R/3 !

I know that this is a commercial issue (and my customer will further investigate), but I wonder if someone, in the meanwhile, can enlightened me about this !

Bye,

Roberto

Former Member
0 Kudos

Hi Roberto,

I would really wonder if Hyperion pays licenses to SAP for this extractor. But I'm currently in the same situation. I would talk to the sales representative and explain the situation.

BTW do you work for a bank currently? If yes you can mail me, I would like to discuss these things not here in the forum.

Best regards

Dirk

Former Member
0 Kudos

Hi Dirk,

I'm not engaged in a bank project...however I will inform you about any news (from some Hyperion/SAP rep.) on this topic...

Bye,

Roberto