Activate wage type for PERSG/PERSK and WERKS/BTRTL#
V_511_B | Grouping |
V_503_G | PERSG/PERSK |
V_001P_K | WERKS/BTRTL |
Cluster#
To see what is stored in which cluster table (PCLx) under which ID,you can check the domain values:
- table PCL1 see domain.RELID_PCL1 > values
- table PCL2 see domain RELID_PCL2 > values
Payroll function missing#
We had a case that the source code of a payroll function could not be found though it was available in a custom include.
1. x.PE04
2. Name=<payroll function>, class=Payroll, type=Function
3. Button "Source" (Ctrl+F7)
=> f.SHOW_SOURCE_PE04 > P0/825 = "Formroutine <function> konnte nicht gefunden werden."
The related form is searched in a tree called "PG_RPCALCD0", which is defined in
t.DIRTREE | Baumverwaltung |
t.DWTREE | Baumobjekte der Entwicklungsumgebung |
There are certain management reports and functions
r.RS_APPL_REFRESH | Refresh der Komponentenhierarchie auf der DWTREE |
r.RDDEXECL | Ausführung von Reports nach Import zu Transportaufträgen aus TRBAT |
r.SAPRSEUT | Update Object Lists After Transport |
r.SAPRSEUB | Generate Where-Used List (For All Programs) |
r.SAPRSLOG | Refresh Navigation Indexes and Object Lists |
f.WB_TREE_NEW_VERSION | Produziert eine neue Baum-Version(snummer) in DIRTREE über T |
f.WB_TREE_SET_OBJECTLIST | Positioniert für ein gegebenes Objekt auf die Objektliste |
f.WB_TREE_SET_OBJECTLIST_ENH | Positioniert für ein gegebenes Objekt auf die Objektliste |
We compared Dev with Qual and it was visible that the object list in the tree was not up to date. You can use following report to display the objects (or put a breakpoint in a/m function)
r.SAPMSEU2 | Testutility zur Anzeige der Objektlisten |
f.WB_TREE_ACTUALIZE_RFC | Aktualisiert die Objektliste/Indizes zu |
A payroll function is of type R3TR/PFCC. In our case the function itself was saved within following tables
T52BW | Input-/Outputparameter |
T52A0 | Interne Nummer von Objekten |
T52A0_T | Texte zu Objekten der T52A0 |
T52B5 | Zuordnung von Werten zu Objekten |
T52B6 | Funktionsparameter |
T52B7 | Gültige Werte von Funktionsparametern |
T52B8 | Texte zu den Funktionsparametern |
T52B9 | Verwendung von Infotypen bei Objekten |
T52BB | Texte von Werten für Funktionsparameter |
T52BG | Verwendung von Grouping Reasons bei Objekten |
Connection between payroll function and source code#
1. Create function within PE04
2. Create source code in Include PCBURZxxy
PCBURZxxy with xx = country and y = running number starting with 0 can contain customer operations and functions.
There is a note at the top saying "* Attention: Never change or transport this include in SAP systems". This note is for SAP itself, e.g. SAP itself should not modify or transport anything here, because it is for the customer. So you must NOT be confused, this is the right place!
Payroll Report | Customer Include |
---|---|
r.RPCALCD0 | PCBURZCH0 |
r.RPCALCD0 | PCBURZDE0 |
r.RPCALCX0 | PCBURZ990 |
Inside the payroll reports the functions are called via dynamically created report source.
r.RPUCT700 | Generate code to call functions (via r.RPUCT300) |
Note: We removed the assignment from "All Countries" to exclude the payroll function from RPCASFX0. Everything compiled fine, but the payroll function index was not in synch with the schema anymore. You get a dump "PERFORM_INDEX_TOO_LARGE" and there is note 330389 which describes the solution (in our case point 1):
- The numbers in the generated schema or calculation rules are not up-to-date. These errors can usually be corrected by regenerating the schema (force it via x.PE01 or r.RPUCT800)
- The include that contains the indexed perform is not current. These errors can usually be corrected by regenerating the function (x.PE04 or r.RPUCT700)
- The number assignment in table T52A0 is not correct for some reason. For example, numbers may have been assigned twice or they appear in the incorrect number interval
Lohnarten, LGART#
T512W | Lohnartenbewertung |
T512T | Lohn-Gehaltsarten-Text |
Cluster#
RD | D=Deutschland |
RA | A=Austria |
.. | ... |
RPCALCD0 | Abrechnung |
RPCEDTD0 | Entgeltnachweis |
x.PU03 | Frühestes Rückrechendatum leer = keine Rückrechnung! |
Results #
RPCLSTRD (last two is the cluster).- This open a view per employee on the table RGDIR.
- The employee together with the sequence will be the key.
- A double click will open the sub-tables.
- For each payroll a copy is made here from the master data, so they may not be equal.
Name | Descr |
---|---|
WPBP | IT 0,1,7,8 effective dated, maybe splitted also for month-parts |
RT | Lohnart |
RT_ | LA komprimiert, Sortiert nach Modifikator der Abr. (V_503_ALL->AbrRegel), daher LA ggf. mehrfach |
CRT | kummulierte Jahressumme |
BT | Überweisungen, ggf. mit Zeitstempel (das Fehlen ist allerdings kein Indiz für keine Überweisung) |
C1 | IT 14,15,2001 Kostenzuordnung (100%) pro LA (sichtbar im IT14/15 mit Button "Kostenzuordnung") |
C0 | IT 27 alle LA, aber xx% => ggf. mehrere Zeilen in WPBP |
AB | IT 2001, Abwesenheiten |
SV | IT 13 |
ST | IT 12 |
SCRT | Steuerl. Kummulation |
DUV | Deüv |
MODIF | Regeln |
VERSC | Stati der Abrechnung (ersichtlich hier auch: Ist Rückrechnung durchgeführt) |
VERSION+PCL2 | Letzte Änderung am Cluster (welches ABAP + Stamp) |
ZP00CU_ZZU_CLUSTERAB | Abw.arten im Cluster AB verferkeln |
ZP00CU_ZZU_CLUSTERRD | Lohnarten im Cluster RD verferkeln |
Clustername ist PCL2.#
Clustertypen#
A | actual |
P | previous |
O | old |
Die Übersicht zeigt auch AbrKreis (der nicht änderbar ist!) und JuPer, ggf. mehrfach wenn Wechsel
Beispiele ABAP#
SE24: Z_HRPAYDESE38: ZP01PS_MELDE_CONTI_2008, Z*FA_BESCHEINIGUNG
FB "CD_READ_RGDIR", "HR_GET_PAYROLL_RESULTS", "PYXX_READ_PAYROLL_RESULTS"
Entgeltnachweis#
RPCEDTD0 (Dx = Deutschland)PE51 Forms
& | CAG |
> | Temic |
( | Teves |
PC00_M99_CWTR_NO_OC - Lohnarten-Reporter #
unter Personalabrechnung > Europa > Deutschland > Folgeaktivitäten > Pro Abrechnungsperiode > Listen/Statistikoder SE38:H99CWTR0
Reports#
ZP00CL_PCL1_LGARTNACHWEIS | from Aequitas |
ZP01ZL_LOHNARTENKATALOG_KUG | |
ZHR_LART_VERGLEICH_ZTAB | SK |
ZP01ZL_LA_KUMUL_VKLAS | Kummulationen & Verarbeitungsklassen |
RPDLGA20 | Verwendung der Lohn- und Gehaltsarten in der Abrechnung |
RPDKON00 | Zuordnung Lohnarten – Sachkonten |
V_512W_O | Gesamtübersicht T512W (Lohnarten Verarbeitungsklassen etc.) |
V_512W_B | Bewertungsgrundlagen |
V_512W_C | Duschschnitte |
V_512W_D | Verarbeitungsklassen, Kummulationen und Auswertungsklassen |
V_512W_T | Lohn- und Gehaltsartentexte |
Payroll Control Record#
T569V | Holds the general control record per ABKRS and period |
T569U | Holds the current status of the control record |
FI Customizing#
Profitcentervorschläge#
x.FAGL3KEH | Hauptbuch: Vorschlagsprofitcenter |
x.3KEH | EC-PCA: Zusätzl. Bil. u. GuV.Konten |
t.FAGL_T8A30 | Hauptbuch: Vorschlagsprofitcenter |
t.T8A30 | EC-PCA: Definition weitere Konten |
t.T9GSB und t.KO03 | Profitcenter einem Auftrag zuordnen |
Steuerkennzeichen#
V_FAGL_SPLIT_FLD | Belegaufteilungsmerkmale für Hauptbücher |
VV_T52SWCODIST | Aktivierung der Kostenverteilung (Deutschland), see Note 1039346 |