In our development effort, the need is to find out number payroll periods based on the inputs begin and end dates.
These dates will exactly match the payroll calendar begin and dates. for ex. Monthly calendar: 1st Jan 2008 - begin date and end date will be June 30th 2008.
Note that the end date need not be the end date of that monthly period.. so based on above inputs, we need to know if there is any FM which takes the beg and dates as input (and also if its a monthly or biweekly calendar) and gives the output as the number of pay periods.
So for our example above, the The output will be 6 pay periods.
We can do it by querying table T549Q , but before doing that wanted to check if there is any std FM avaialble to achieve this.