cancel
Showing results for 
Search instead for 
Did you mean: 

Bex Query customer exit does not work

mqureshi1998
Explorer
0 Kudos

Hello,

I would to like the prompt variable to get current date as default and then user can input new date also. I have the following code in class/ Interface but it is not working. Could you please help me to fix it?

method EXECUTE.

DATA : l_s_range TYPE rsr_s_rangesid,
e_t_range TYPE rsr_t_rangesid,
I_STEP TYPE I,
L_variableName TYPE rszglobv-vnam.

CASE I_STEP.
WHEN 1.
IF L_variableName = 'ZVAR_CLR_DT3'.
CLEAR l_s_range.

l_s_range-low = sy-datum.
l_s_range-opt = 'EQ'.
l_s_range-sign = 'I'.
APPEND L_S_RANGE TO e_T_RANGE.
ENDIF.
ENDCASE.

endmethod.

Accepted Solutions (0)

Answers (3)

Answers (3)

raymond_giuseppi
Active Contributor

So you didn't use the old customer exit (obsolete with SAP BW/4HANA) So do you use the enhancement spot RSROA_VARIABLES_EXIT? (as of BW731) Can you check if Enhancement implementation CL_RSROA_VAR_SMOD of BAdI SMOD_EXIT_CALL is also active (this one should be deactivated in some case, e.g. before migration to enhancement spot) you should perform some search as some OSS notes may be available?

mqureshi1998
Explorer
0 Kudos

Hi guys,

It is the class we were using which is called by CMOD in extension RSR00001, i have fixed the issue. The class name was wrong and because of that customer exit was not getting called.

Thanks for looking into this.

Sandra_Rossi
Active Contributor
0 Kudos

I'm not aware of any method EXECUTE. I just know that you can implement the extension RSR00001 in transaction CMOD to work with BEx variables.

But could you explain what "is not working"? (i.e. what you expect, what you get, what is the context, did you define variables in the BEX query, etc.)