Quantcast
Channel: SCN : Discussion List - SAP ERP Human Capital Management (SAP ERP HCM)
Viewing all articles
Browse latest Browse all 7926

To Generate annual quota using PT60.

$
0
0

Hi All.

Kindly need help for  generating annual quota using time evaluation PT60.

I have an requirement where we need to develop a pcr for generating  quota.  till now quota was generating manually. but customer needs this to be done using PT60.

The requirement they mentioned like below.

** This is only for creating a quota record " But there are few more requirements  for new hire leave calc and existing staff leave calc.

If EmploymentStatus = “Active” AND EeSubGroup = “Mgmt Staff” Then

If ServiceDate > first day of the year Then

                               

                                AbQuotaStartDate = DateType_ServiceDate

                                AbQuotaStartDeductionDate = DateType_ServiceDate

                                AbQuotaType01_Number = New Hire Leave Calculation

Else

AbsenceQuotaStartDate = first day of the year

                                AbsenceQuotaStartDeductionDate = first day of the year

                                AbQuotaType01_Number = Existing Staff Leave Calculation

                EndIf

                If No record of Subtype M3 TerminationDate in IT41 OR TerminationDate < ServiceDate Then

AbsenceQuotaEndDate = last day of the year

                                AbsenceQuotaEndDeductionDate = last day of the year

‘Last day of the calendar year i.e. 31 December 2013

Else

AbsenceQuotaEndDate = DateType_TerminationDate - 1

                                AbsenceQuotaEndDeductionDate = DateType_ TerminationDate -1

EndIf

Else

                Do Nothing

         endif.

regards,

Deeps     


Viewing all articles
Browse latest Browse all 7926

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>