0% found this document useful (0 votes)
42 views13 pages

Cluster Database Table in HR

Uploaded by

Gyanendra Dubey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views13 pages

Cluster Database Table in HR

Uploaded by

Gyanendra Dubey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 13

Cluster Database Table in HR

Contents :
 Database Tables in HR
 Cluster Data Structures
 Data Structure for Payroll Result
 Reading the Cluster Directory
 Processing Payroll Result
 Utilities
Cluster Database Table in HR
Cluster Database Table in HR

 The PAnnnn database tables contain all HR data sorted by infotype.


They constitute the database for infotype entry screens and are evaluated
by the HR logical database.

 The PCL1, PCL2, and PCL3 database tables constitute either the
database for subsequent programs, such as accounting runs or
evaluations, or the database for subareas within Human Resources, such
as travel expenses and recruitment.

 The PCLn database tables are a type of import/export database table.


Cluster Database Table in HR

 Database tables of type PCLn are


divided into subareas known as data
clusters.

 Data clusters can be identified by their


two-character IDs.

 The respective subareas within Human


Resources work on their own cluster.

 A separate data key is defined for each


subarea.

 You can use the transaction


PECLUSTER to call a view with
information on the existing clusters and
the database tables in which they are
stored.
Cluster Database Table in HR

 The following are some of the


data areas in the database table
PCL1:
B1 Time events/PDC
G1 Group incentive wages
L1 Individual incentive wages
PC Personal calendar
TE Travel expenses/Accounting
results
TC Travel expenses/Credit card
data
TX Infotype texts
ZI Interface PDC -> Cost
Accounting/Materials
Management
Cluster Database Table in HR

 The PCLn cluster database


tables are managed by the
ABAP commands IMPORT and
EXPORT.

 You can use these commands to


store any data object - such as
fields, structures or internal
tables - on the database, or to
read them from the database.

 Data is read and written using a


unique key.
Cluster Database Table in HR

 The data definitions of a work area are stored in separate programs using a fixed
naming convention.
 They are defined as INCLUDE programs. Their names follow convention RPCnxyz0,
where.
n = 1 or 2 for PCL1 or PCL2
xy = Cluster, for example, RX
z = 0 for international clusters or country indicator from table T500L
for country-specific clusters.
 Example: The program RPC1TX00 contains the data definition of cluster TX. In this
cluster, the database table PCL1 contains the texts stored for infotypes.
 The key structure of the cluster is stored in a field string xy-KEY where the personnel
number is the first element.
 The data objects (field strings and tables) are named individually per cluster.
Payroll Result
 With this report, you can display the
payroll results for any country. The
indicator behind each name shows
whether results exist in the selected
period.
Green: Results exist
Red: No results exist
Gray: No authorization for
displaying personnel numbers

 Payroll results are stored as structures


and internal tables on the database.

 Each payroll result has a status


indicator:
A = Current result
P = Previous result
O = All other results
Payroll Result

 The payroll driver, RPCALCn0, uses


HR data (stored in the database tables
PAnnnn) and the last payroll result
(stored in the database table PCL2) to
run the payroll for the specified period

 The program (payroll driver) imports the


processing logic in the form of a
schema.

 The schema contains functions that call


the subroutines contained in the payroll
driver. In many cases, the function is
enhanced by rules for specific control
of the subroutines.

 Report H99_DISPLAY_PAYRESULT
displays the payroll results for PCL2
Payroll Result

 Table RGDIR contains the directory


(cluster directory) for all of an
employee's payroll results and is
contained in cluster CU.

 The function module


CU_READ_RGDIR reads table RGDIR
from cluster CU. The personnel number
whose payroll directory is to be read is
transferred to the function module.

 If the MOLGA parameter is active, the


function module returns the HR country
indicator.
Payroll Result

 You can use the function module


PYXX_READ_PAYROLL_RESU
LT to read a complete payroll result
from the database table PCL2 or
from the buffer. The payroll result
is then transferred to the parameter
PAYROLL_RESULT.

 The data structures for the


international payroll results RX
are described in the Dictionary
in the structure
PAY99_RESULT.
Database Utility
Database Utility

 The utility transaction PU00 allows you to delete payroll results in xy


clusters for specific personnel numbers.

 You can use the utility programs RPUPnD00 and RPUPnD10 to delete
one or more records from any cluster. n stands for database table PCL1
or PCL2.

 You can delete payroll results using the program RPUDEL20.

 Caution:
The deletion utilities should only be used for testing. Archive data to
reduce the amount of data in the database.

You might also like