‎2006 Oct 06 1:15 PM
I have a Funtion module name as HR_AUPBS_MONTH_DAY ,to which i am giving input in the form as follows:
From date: 12.09.2006
To Date : 06.10.2006
And it is returning the days as 24, but when i m using this funtiocn module in scripts by perform statement its not giving me the exact result . Even i tried this funcion module in the individual report progm, even there also it is taking input as 12092006 only not the periods in between.
pls let me knw the solution.
Thanks in advance ramada
‎2006 Oct 06 1:22 PM
Hi
Seems to be obvious but did u try 20060912 to 20061006 ?
Regards,
Erwan
‎2006 Oct 06 1:28 PM
You can use the FM 'DAYS_BETWEEN_TWO_DATES'.
If u test the FM HR_AUPBS_MONTH_DAY in SE37 u have to give the date in From date: 12.09.2006
To Date : 06.10.2006
But if u call the FM in program it should be
From date: 20060912 and To date: 20061006, Because it is of type D.
Regards,
PRakash.