‎2007 Sep 03 12:01 PM
Hi All,
Pls tell any Function Module which gives the number of working days between 2 dates.
Thanks in advance
Vikas
‎2007 Sep 03 12:08 PM
Hello Vikas,
You can use the following FM
CALL FUNCTION 'RKE_SELECT_FACTDAYS_FOR_PERIOD'
EXPORTING
i_datab = date1
i_datbi = date2
i_factid = 'GB'
TABLES
eth_dats = l_it_dat.
In i_factid you have to pass factory Id like for india 'IN' or some other coutnry
n pass two dates you will get only working days in between those two dates
according to that calender
Reward If Helpful
-
Sasi.
‎2007 Sep 03 12:08 PM
Hi,
RKE_SELECT_FACTDAYS_FOR_PERIOD
Thanks and Best Regards,
Vikas Bittera.
‎2007 Sep 03 12:08 PM
try SD_DATETIME_DIFFERENCE for date difference...
*Reward if useful
‎2007 Sep 03 12:09 PM
You can use the following FM
CALL FUNCTION 'RKE_SELECT_FACTDAYS_FOR_PERIOD'
EXPORTING
i_datab = date1
i_datbi = date2
i_factid = 'GB'
TABLES
eth_dats = l_it_dat.
In i_factid you have to pass factory Id like for india 'IN' or some other coutnry
n pass two dates you will get only working days in between those two dates
according to that calender
Thanks
Seshu