cancel
Showing results for 
Search instead for 
Did you mean: 

Function Module for Active Period for PERNR

Former Member
0 Kudos

Hi gurus,

I need a function module to calculate the number of active days within a given BEGDA ENDDA for a PERNR. We get the Status of a PERNR from IT0000 where STAT2 = 3.

Regards

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Take a look at function module HRGPBS_ME_ACTIVE_SPLITS. If not you need to build a custom function module.

Former Member
0 Kudos

The best thing I suggest you to do is Use Adhoc Query and import the results to Excel and then use the formula to calculate the number of days between two calender dates in your document.