Function Module: CD_READ_PREVIOUS

This module transfers a previous payroll record for a payroll record; this is the newest record for the payroll period (or daily payroll run) which was written before the transferred payroll record and contains the same FOR data as the transferring record.

Example Example

Table contents before the function module is accessed:

End of the example.

SEQNR

FPPER

FPBEG

FPEND

INPER

IPBEG

IPEND

BONDT

PAYTY

PAYID

00001

01.1996

01.01.96

01.15.96

01.1996

01.01.96

01.15.96

     

00002

01.1996

01.01.96

01.15.96

 

01.16.96

01.16.96

     

00003

 

01.16.96

01.16.96

 

01.16.96

01.16.96

01.16.96

B

0

00004

 

01.17.96

01.17.96

 

01.17.96

01.17.96

01.17.96

A

0

00005

 

01.17.96

01.17.96

 

01.17.96

01.17.96

01.17.96

A

1

00006

02.1996

01.16.96

01.31.96

02.1996

01.16.96

01.31.96

     

00007

02.1996

01.16.96

01.31.96

03.1996

02.01.96

02.15.96

     

00008

03.1996

01.16.96

01.31.96

03.1996

02.01.96

02.15.96

     

The following parameters are transferred:

- Record with SEQNR '00007'

Result:

SEQNR

FPPER

FPBEG

FPEND

INPER

IPBEG

IPEND

BONDT

PAYTY

SRTZA

00006

02.1996

01.16.96

01.31.96

02.1996

01.16.96

01.31.96

   

P

Explanation of individual fields