cancel
Showing results for 
Search instead for 
Did you mean: 

Customer Exit Variable reverting to ABAP debugger rather than giving output in Report screen RSRT

0 Kudos

I have created customer exit variable for Calendar Year and used Enhancement RSR00001 and wrote code in EXIT_SAPLRRS0_001

DATA: L_S_RANGE TYPE RSR_S_RANGESID.

CASE I_VNAM.
WHEN 'ZVAR_CCEXT'.
CLEAR L_S_RANGE.

L_S_RANGE-LOW = 'SY-DATUM+0(4)'.

L_S_RANGE-SIGN = 'I'.

L_S_RANGE-OPT = 'EQ'.

APPEND L_S_RANGE TO E_T_RANGE.

ENDCASE.

which is syntactically correct but when i run report in RSRT it is just reverting to ABAP debugger screen (screenshot attached) rather than giving output.Please help me what to do to resolve this.

Thanks in Advance.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

I used L_S_RANGE-LOW = 'SY-DATUM+0(4)' but sy-datum should not be in single quotes else treated as text and size mismatch occurs which inturn takes us to abap debugger screen.

Answers (1)

Answers (1)

former_member231709
Active Contributor
0 Kudos