Skip to Content
0
Aug 12, 2008 at 04:16 AM

Month Difference - Function Module needed

1245 Views

Hi Experts,

In my report, I am using mcs0-spmon as select options; one of my inputs where the user will enter month and year in the selection screen . e.g. 04.2008 to 07.2008

I want to calculate the month difference and it should not exceed 3 months. If it does, an error will be shown.

My question is -

Is there any Function Module by which I can proceed. How do I go about it?

Can anyone tell me a solution?

Thanks in advance