Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3276

Customer Exit query

$
0
0

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.

 

aaaa.png

 

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.


Viewing all articles
Browse latest Browse all 3276

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>