05-16-2011 11:56 AM
Hi Team
hope you are doing good.
Can you help me get FM for getting the previous Payroll Periods.
Reqt : I ll pass current PY runs Payroll Period and Year and FM should get previous Payroll period and also Year.
ie I ll give 12 as PY Period and Year as 2009 and FM should give me 11 as Payroll Period & Year as 2009.
I tried with SLIM_GET_QUARTERLY_PERIODS & HR_99S_MONTHS_BETWEEN_DATES , they ll give with dates and also input i should give date types which I dont want,
Can you help me in this regards
Kind Regards
Rohit.S
05-16-2011 12:55 PM
check fm HR_GET_LAST_PAYROLL_PERIOD. This function refers to table t549q
05-16-2011 12:20 PM
Hi,
Not sure about the fm but you can query table t549Q to get previous period.
VABRJ Previous payroll year
VABRP Previous payroll period
05-16-2011 12:55 PM
check fm HR_GET_LAST_PAYROLL_PERIOD. This function refers to table t549q
05-18-2011 7:11 AM
Hi Keshav,
hope you are doing good.
Yah thats the FM I require, I am able to get it through one of HR ABAP guys.
Anyhow you hit the target right on spot.
Thank you for sharing solution, and for your valuable time .
Kind Regards
Rohit.S