Skip to Content
0
Former Member
Jan 02, 2008 at 03:31 PM

Calculate Month Range from Single Month input

25 Views

Hi Gurus,

In a particular query, the mandatory input is 0calmonth. Variable used is 0PCALMON.

When user inputs 12.2007, then during runtime one of the keyfigure i need to calculate is quarter quantity for the month range 10.2007 to 12.2007 as 12.2007 falls in this quarter.

Similarly if user inputs 03.2008, quarter quantity will be for these months 01.2008 to 03.2008.

Plz tell me the steps from variable creation and writing code in cmod.

Thanks in advance.

Vaishnavi.