Your must transfer the payroll results from your legacy system before the first payroll run.
You transfer the data using the BUS7023.InsertLegacy method in the Data Transfer Workbench. For general information on using the Workbench, refer to Application help from the Data Transfer Workbench. Choose Data Transfer Objects in Applications -> HR - Human Resource Management -> Data Transfer: Payroll Account. This also gives detailed information on the transfer of payroll results.
If you complete the interface tables T558B, T558D and T558E with your own report, you do not have to use the Data Transfer Workbench.
Subsequently, you start the payroll driver with the data transfer schema xLK0 (x stands for the country code), to format the data from the interface tables as payroll results and to store it in the database table PCL2. This ensures that all payroll periods are transferred from table T558B.
function bapi_extpayroll_insert_legacy.
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*" IMPORTING
*" VALUE(EMPLOYEENUMBER) LIKE BAPI_BUS7023-PERNR
*" EXPORTING
*" VALUE(RETURN) LIKE BAPIRET2 STRUCTURE BAPIRET2
*" TABLES
*" PERIODS STRUCTURE BAPI7023_PAYPERIODS
*" WAGETYPES STRUCTURE BAPI7023_WAGETYPES
*"----------------------------------------------------------------------
댓글 없음:
댓글 쓰기