Skip to Content
0
Former Member
Mar 27, 2007 at 09:25 AM

Function Module

12 Views

Is there any Function Module available for this purpose to use in data source

If start date 02/01/2007 to end date 20/01/2007.

  • No need to split the record bcz both the dates fall under same month.

Else.

**I have to calculate the number of payroll days between start date and end date.

For e.g.: start date is 15.02.2007 and End date is 22.03.2007.

In this case you have to split this record into 2 (for 2 periods)

a) 15.02.2007 to 28.02.2007

b) 01.03.2007 to 22.03.2007

And call the FM for each period to get the payroll days in the month of Feb as well as March

Thanks