Skip to Content
0
Jun 09, 2020 at 05:42 PM

Year to date calculation on fiscper for previosu months

309 Views

Hello,

i need a routine to calculate YTD of previoous months to use in DTP filter routine

we wont enter any date it will be based on current date

For example:

İn January 2020 ==> it will show january 2019- december 2019 YTD

In February 2020==> it will show only January 2020 YTD

In March 2020==> it will show January 2020- February 2020 YTD

.....

In December 2020 ==> it will show January 2020- November 2020

Could you please help me about this Abap code?

Thanks