Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP class or function for retrieving BEx query properties at runtime

Former Member
0 Likes
529

Hello again Experts,

I'm working on BW enhancement RSR_OLAP_BADI and for a special calculation I need to know which characteristics are in the drill-down of the BEX query, sol later on I can aggregate some key figures using only these characteristics.

Problem is that structure C_s_DATA in method COMPUTE contains all fields of the query (filters, free chars, chars in the rows, etc) and I need to now which characteristics are currently being showing in the Bex analyzer.

So is there an ABAP class or function module I can use to find out this kind of information at run time?

Any suggestion?

I found classes CL_RSR_OLAP and CL_RSR_REQUEST that somehow are used for calling Bex queries. The main problem now is how to get a reference from within the method COMPUTE of my implementation of RSR_OLAP_BADI to the object that represents this runtime query.

Any idea on this?

Thank you

Edited by: Garduño Azael on Aug 5, 2010 8:29 PM

2 REPLIES 2
Read only

Former Member
0 Likes
400

Solved by myself. I use field navigation of the input parameter i_th_sfc of method INITIALIZE

Read only

0 Likes
400

Hi Azael,

I am having the same issue right now. How did you make this work-around? I don't find a way to change the field navigation of the input parameter i_th_sfc.

Thanks and Regards,

John