Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

function module for month wise for given input dates

Former Member
0 Likes
1,619

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

6 REPLIES 6
Read only

FredericGirod
Active Contributor
1,485

it is not so hard to code

Read only

former_member197616
Active Contributor
0 Likes
1,485

Hi ,

Which details of the table you need ? Is it month wise consumption report ?

Regards,

Read only

0 Likes
1,485

For Custom Report....

Read only

Sathya_Gunasekaran
Contributor
0 Likes
1,485

RP_LAST_DAY_OF_MONTHS - will give you the last day. And '01' is always the first day 🙂

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,485
DATA(mydate) = CONV d( '20190801' ).

mydate = mydate - 1. " previous day

ASSERT mydate = '20190731'.
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,485
DATA(mydate) = CONV d( '20190701' ).

DATA(mymonth) = mydate+4(2).

ASSERT mymonth = '07'.