SAP Function CD_READ_LAST - Reads the Last Result (Check Date) in a Period

Parameter Reference Type Length Default Optional Text
BEGIN_DATE PC261-PAYDT D 8 Search Interval From
END_DATE PC261-PAYDT D 8 Search interval to

Parameter Reference Type Length Text
OUT_SEQNR PC261-SEQNR N 5 Output of Payroll Record

Parameter Reference Length Optional Text
RGDIR PC261 156 Payroll Results

Exception Text
NO_RECORD_FOUND No record found

Functionality
This function module determines the current payroll result with thehighest check date in the intervals BEGIN_DATE and END_DATE. Thisfunctionality is required for example, when importing the cumulationsat the end of a year.
Example

616332HR-GB: Determination of the payment date in old results