Skip to Content
author's profile photo Former Member
Former Member

Customer Exit Text Variable from Input Intervall base on 0calday

Dear Expert,
i have a User exit like below. I need Text Variable base of this.. Could anybody please write me a code?
Exit Variable : 01.10.2019 (firstday from current month) - 10.10.2019 (yesterday)

    IF i_step = 1.
      CLEAR: l_s_range.
      vday2 = sy-datum.
      vday2 = vday2 - 1.                      
      CONCATENATE vday2(6) '01' INTO vday1.  
      l_s_range-low = vday1.
      l_s_range-high = vday2.               
      l_s_range-sign = 'I'.
      l_s_range-opt = 'BT'.
      APPEND l_s_range TO e_t_range.

Thanks alot for your help.

Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

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.