2018 Apr 13 2:15 PM
Hello,
example: An absence lasts from 20.11.2016 until 13.01.2018.
Is there any FM that shows, how many days of this absence belong to period 02/2017
or how many days belong to year 2017 ??
Grateful for hints ... Stefan
2018 Apr 13 5:07 PM
Hi Stefan,
Interesting question! I'm not aware of an existing function module or class method that will give you this directly. One option is to call function J_1B_GET_DATE_RANGE_DDA for each range of dates to get a list of the individual dates in each range. Then compare the two lists to see what their intersection is.
Cheers,
Amy
2018 Apr 14 7:02 PM
Most basic calculation would be to subtract the dates: 20180113 - 20161120
That should give you the total days between those 2 dates.