Skip to Content

Repalcement path with singel value

Hi folks,

we created our cust.exit variable as "Interval". because of this we are not getting single month value if we enter just 08.2011 in input selection screen. can we change the code now with If condition? example : if input is "08.2017" consider it is from and to value. please find our code below.

DATA: lv_month_low TYPE /BI0/OICALMONTH,

lv_month_high TYPE /BI0/OICALMONTH,

L_S_RANGE TYPE RSR_S_RANGESID,

wa2 like line of i_t_var_range.

IF i_step = 2.

CASE i_vnam.

WHEN 'C_UIM_0091'.

LOOP AT i_t_var_range

INTO wa2 WHERE vnam = 'ZPM_CALM'.

lv_month_low = wa2-low.

lv_month_high = wa2-HIGH.

l_s_range-low = lv_month_low.

l_s_range-high = lv_month_high.

l_s_range-sign = 'I'.

l_s_range-opt = 'BT'.

APPEND l_s_range TO e_t_range.

ENDLOOP. ENDCASE.

ENDIF.

ENDFUNCTION.

awaiting your reply.

thanks in advance.

regards,

Ravi.B

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 13 at 04:49 PM

    what is your issue here?

    Add comment
    10|10000 characters needed characters exceeded