The database table PCL1 contains the following data areas:
B1 time events/PDC
G1 group incentive wages
L1 individual incentive wages
PC personal calendar
TE travel expenses/payroll results
TS travel expenses/master data
TX infotype texts
ZI PDC interface -> cost account
SRTFD (PSKEY) = pernr (8) info type (4) subtype (4) obj id (2) lock (1) endda (8) begda (8) seqnr (3)
DATABASE TABLE PCL2
The database table PCL2 contains the following data areas:
B2 time accounting results
CD cluster directory of the CD manager
PS generated schemas
PT texts for generated schemas
RX payroll accounting results/international
Rn payroll accounting results/country-specific ( n = HR country indicator RU for US payroll result)
ZL personal work schedule
DATABASE TABLE PCL3 The database table PCL3 contains the following data areas:
AP action log / time schedule TY texts for applicant data infotypes
DATABASE TABLE PCL4
The database table PCL4 contains the following data areas:
LA change logs (long term documents)
SA Short-Term Documents for HR Master Data
SB Short-Term Documents for Applicant Master
HOW TO READ PAYROLL RESULTS - I
Import payroll record from cluster
IMPORT TABLE1 FROM DATABASE PCLn(xx) ID xx-KEY. IF SY-SUBRC EQ 0. * Display data object ENDIF.
n = 1, 2, 3 or 4 (for PCL1, PCL2, PCL3, PCL4) xx = cluster ID eg: RX payroll accounting results/international
HOW TO READ PAYROLL RESULTS - II IMPORT ALL CLUSTER RESULTS ( PCL2) cd-key-pernr = pernr-pernr.
RP-IMP-C2-CD.
“CD –
Cluster Directory
DATA : v_fpper(6) TYPE c. IF rp-imp-cd-subrc IS INITIAL. SORT rgdir BY fpper. LOOP AT rgdir.
RP-IMP-C2-RU. “RU – Payroll Results USA Add the program logic here.
Endloop.
HOW TO READ PAYROLL RESULTS - III
Read cluster directory from CD_READ_RGDIR by passing CD-key (PERNR). Call the function module CD_EVALUATION_PERIODS to transfer the payroll results to payroll run by passing in-period and RGDIR internal table.
CD_EVALUATION_PERIODS After importing the payroll directory, which record to read is up to the programmer. Each payroll result has a status. 'P' - previous result 'A' - current (actual) result 'O' - old result Function module CD_EVALUATION_PERIODS will restore the payroll result status for a period when that payroll is initially run. It also will select all the relevant periods to be evaluated.
Loop new RGDIR internal table and read cluster Rx (x country indicator) from PYXX_READ_PAYROLL_RESULT by passing Rx-key (structure contains PERNR, SEQNO) and Cluster id (RELID from RGDIR table). We will get the results into deep structure I_PAYROLL_RESULT type PAY99_RESULT. Now data is available in RT, CRT, and BT and in many more tables.
PAYROLL -ITALY
Infotype 0154 (Social Security and Contribution Data):
Use this infotype to manage the social security and contribution data for each employee. The data entered in this infotype informs the system about the terms which can be applied to the employee concerning social security and contribution issues. Social Security Data- This field group includes the various indicators of the social security institutions and of the region to which the employee belongs, as well as other data related to these institutions (for example, the employee work place required for the form DM10). Contributions -The field group “contributions” contains the employee’s tax base specification.
The wage types included in the cumulations are defined in the table T512W.