‎2020 Jan 28 9:49 AM
Hi Team,
Any function module for month wise for given input dates
Ex: Input : 01.07.2019 to 31.12.2019
Month wise : 01.07.2019 31.07.2019
01.08.2019 31.08.2019
01.09.2019 30.09.2019
01.10.2019 31.10.2019
01.11.2019 30.11.2019
01.12.2019 31.12.2019
‎2020 Jan 28 9:51 AM
‎2020 Jan 28 10:04 AM
Hi ,
Which details of the table you need ? Is it month wise consumption report ?
Regards,
‎2020 Jan 28 10:39 AM
‎2020 Jan 28 11:07 AM
RP_LAST_DAY_OF_MONTHS - will give you the last day. And '01' is always the first day 🙂
‎2020 Jan 28 12:24 PM
DATA(mydate) = CONV d( '20190801' ).
mydate = mydate - 1. " previous day
ASSERT mydate = '20190731'.
‎2020 Jan 28 12:25 PM
DATA(mydate) = CONV d( '20190701' ).
DATA(mymonth) = mydate+4(2).
ASSERT mymonth = '07'.