Skip to Content
0
Former Member
Jun 27, 2016 at 10:55 AM

Customer Exit query

48 Views

Dear SCN Members,

There is customer exit variable which gives the result of yesterday(Current month) and when we run on 1st day of the month there is no result because of current month. Customer exit variable is based on 0date.

Please see variable and code.

IF i_step = 2.

l_date = sy-datum - 1.

l_range-sign = 'I'.

l_range-opt = 'EQ'.

l_range-low = l_date.

APPEND l_range TO e_t_range.

ENDIF.

Now user would like to have new variable with "variable is ready for input" enabled and I have written the same code as above for new variable & it's giving the same day result and not yesterday's.

Please help me if I have to tweak the code and any changes to variable.

Reg,

Guru.

Attachments

aaaa.png (116.8 kB)