Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3316

Re: FM to converta days to data

$
0
0

You dont need FM for this.

 

DATA: lw_datum type sy-datum,

           lw_output type char4.

 

lw_datum+0(4) = sy-datum+0(4).

 

lw_datum+4(2) = '01'.

 

lw_datum+6(2) = '01'.

 

Now, add your number to this date.

 

lw_datum = lw_datum + 40.

 

lw_output = lw_datum+4(4).

 

Cheers,

VS


Viewing all articles
Browse latest Browse all 3316

Trending Articles



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