Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Virual Key figure exit does not work


Detail - We are trying to build a logic for a virtual key figure.

We have created a VKF (Virtual key figure) and added that in cube and respective multi-provider.

We also added that VKF into the query .

Now we are using following approach and it doesnot work -

Approach 1 -

We created BADi called ZBIVAR_IMP based on RSR_OLAP_BADI using SE19 transaction. In this definition , we included our class - ZCL_IM_BIVAR_IMP

We activated this BADi definition and then in our Z Class - we have 3 methods, define, initialize and compute. We activated break-point .

We wrote a code there and followed sample code of CL_EXM_IM_RSR_OLAP_BADI class.

Now when we try to excute our query from RSRT, system doesnot stop at our break-point. In another words, this BADi is not getting called.

We also observed following settings if that matters --

1) When we go to RSRT for the query name and click on option, "No paraller processing" is on.

2) When we go to RSRT and click on technical info, we see "Virtual key Figure" property is set to NO. If this needs to be changed then how do we do that?

3) We activated BADi definition but not sure if we need to activate BADi implementation , if yes then how?

Approach 2 -

We develop code in one of the BEx user exit called EXIT_SAPMRSRU_001

In this exit , we have include called INCLUDE ZXRSRU02 .

We donot have any other includes such as ZXRSRZZZ or ZXRSRTOP. To be frank , we donot know how to use these includes and where are those available to be used?

Problem of this approach is we cannot use C_S_DATA that gets final logic of key figure to be used in BEx report.

Both of these approaches doesnot work..

Your help in this regard will be highly appreciated.



Former Member
Not what you were looking for? View more on this topic or Ask a question