Skip to Content
0
Former Member
Feb 07, 2007 at 06:52 AM

Virtual Keyfigure is not executing

25 Views

Hi Guys,

I have one issue in Virtual Key Figure.

My Scenario is to assign value 1 to keyfigure in cube's all records.

Cube name : X_UBR_JV2

Key Figure Name : X_JV_CNT (Data Type : Dec)

Query Name : X_UBR_JV2_Q001_VKF

Query is having only one Characteristic (X_REP_TY) and one Key Figure (X_JV_CNT).

-


<u><b>Routine Details :</b></u>

Project Name : ZBIW1

RSR00002 Details: EXIT_SAPMRSRU_001

<u>zxrsrtop :</u>

DATA: g_pos_X_UBR_JV2_X_JV_CNT TYPE i.

<u>ZXRSRZZZ :</u>

FORM user_X_UBR_JV2 USING i_s_rkb1d TYPE rsr_s_rkb1d

CHANGING c_s_data TYPE any.

FIELD-SYMBOLS <l_X_JV_CNT>.

ASSIGN COMPONENT g_pos_X_UBR_JV2_X_JV_CNT

OF STRUCTURE c_s_data TO <l_X_JV_CNT>.

<l_X_JV_CNT> = 1.

ENDFORM. "user X_UBR_JV2

<u>ZXRSRU02 :</u>

data: l_s_chanm type rrke_s_chanm.

CASE i_s_rkb1d-infocube.

WHEN 'X_UBR_JV2'.

CASE i_s_rkb1d-compid.

WHEN 'X_UBR_JV2_Q001_VKF'.

APPEND 'X_JV_CNT' TO e_t_kyfnm.

ENDCASE.

ENDCASE.

-


After activating the complete project, When i am executing the query, this User Exit is not executing. My output of the keyfigure is 0 (as it is default).

I believe that i explained the scenario clearly. Anything i missed here? Can anybody help me out ?

<b>In this project, RSR00001 BW: Enhancements for global variables in reporting is working fine .</b>