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

Re: Dynamically update tvarvc variable with last day of month from variable business day

$
0
0

Hi Pete,

 

Try to get the previous month from the sy-datum field:

 

pre_mnth = sy_datum+4(2) - 1.

form the prevoius month date as :

concatenate sy-datum(4) pre_mnth '01' into pre_mnth_date.

 

Then use the FM 'RP_LAST_DAY_OF_MONTHS' to get the last day of the previous month.

 

You can use the date found from the function module in your custom report.

 

Hope it helps.

 

Regards,

Munesh.


Viewing all articles
Browse latest Browse all 9129

Trending Articles



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