Skip to Content

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

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jul 16 at 11:43 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 07 at 09:31 AM
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.