Skip to Content
0

Bex Query customer exit does not work

Jul 05, 2017 at 06:52 PM

73

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Raymond Giuseppi
Jul 06, 2017 at 05:54 AM
1

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?

Share
10 |10000 characters needed characters left characters exceeded
Mohi Qureshi Jul 06, 2017 at 07:26 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
Sandra Rossi Jul 06, 2017 at 02:01 AM
0

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.)

Share
10 |10000 characters needed characters left characters exceeded