Application Development 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: 

How to get Quaters of the year if give month year and number of quarters

Former Member
0 Kudos

My requirement is if i give the input month, year and number of quarters i want the previous quarters. Is there is any function module to get the quarters if we give month and year and number of quarters

Thank you.

2 REPLIES 2

former_member189629
Active Contributor
0 Kudos

Pradeep,

Use the Fm TSTR_PERIODS_QUARTERS and pass the year into the IMPORT PARAM IT_YEARTAB-TSTR.

U will get the begin & End dates of each quarter...

reward if helpful,

Karthik

Former Member
0 Kudos

Hi Pradeep,

01 to 03(mar) month is 1 quarters....

04 to 06(jun) month is 2 quarters....

why you need a FM for this.....

If the hint is useful… Say thanks by reward….

Regards,

Prabhu Rajesh