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: 

function module to calculate no of days between two date ranges

Former Member
0 Kudos

hi experts,

can some one please suggest a function module that can calculate no of days between specified date range.

for example : if i enter date range between 26.02.2011 to 20.05.2011, then it should calculate no of days between these dates.

Moderator message : Basic date questions not allowed. Read forum rules before posting. Thread locked.

Edited by: Vinod Kumar on May 25, 2011 10:57 AM

3 REPLIES 3

Former Member
0 Kudos

You can use CALL FUNCTION 'HR_SGPBS_YRS_MTHS_DAYS'

Former Member
0 Kudos

Hi,

Please search SDN.. there are lots of posts for teh same.

[http://wiki.sdn.sap.com/wiki/display/ABAP/FunctionModulerelatedonDate+calculations]

Former Member
0 Kudos

This message was moderated.