SAP HR ESQUEMAS Y REGLAS PARA CALCULO DE NOMINA (PCR)
Transaccion: PE01
Ruta de Menu:
Recursos Humanos Calculo de Nomina Internacional Herramientas Herramientas de Configuración Esquemas
Al hacer doble clic en un sub-esquema le llevará a la pantalla de mantenimiento de ese esquema.
Al hacer doble clic sobre cualquiera de las reglas (de PCR) le llevará al editor de reglas. Se puede decir que la diferencia entre los sub-esquemas unas reglas examinado los parámetros. El nombre del sub-esquema se puede encontrar en la columna de la Par 1. El esquema principal llama generalmente todos los diferentes sub-esquemas. Los sub-esquemas entonces llaman a las reglas de nómina. En la mayoría de los casos, cuando una regla se llama, habrá parámetros en los Par1 Par2 o Par3 columnas. En general, la mayoría de los sub-esquemas son llamados por el comando "copiar".
Los esquemas, reglas y características de SAP utilizan los siguientes comandos del editor de línea. Esto le permite mover, borrar, copiar e insertar líneas. Todos los comandos se introducen en el área utilizada para los números de línea. Sobrescribir cualquiera de los números con los comandos que se muestran a continuación. Para los comandos que utilizan 1 letra - pulse la tecla de retorno una vez que haya entrado en la carta. Para los comandos utilizando 2 cartas - pulse la tecla de retorno después de las primeras 2 letras se han introducido o después han entrado en ambos conjuntos.
Los comandos más utilizados son:
Los comandos más utilizados son:Linea de Comando
Descripcion
D Borra una Linea
I Inserta una línea
M Mueve una línea
C Copia una línea
DD Indica el inicio de un bloque que se desea borrar
DD Indica el final de un bloque que se desea borrar
CC Indica el inicio de un bloque que se desea copiar
CC Indica el final de un bloque que se desea copiar
MM Indica el inicio de la ONU bloque se mueva
MM Indica el final de un bloque se mueva
Una vez que haya elegido el bloque a mover o copiar, necesita mostrar dónde mover o copiar a en el esquema. Los siguientes comandos indican donde se puede copiar o mover las líneas.
Línea de Comando Descripción
A Coloca el bloque después de la línea elegida
B Coloca el bloque antes de la línea elegida
Recuerde que cuando se llama a la PCR a partir del esquema: GEN significa que el CC-nomina es **** es decir, no ha especificado uno y NOAB significa que se verá en cualquier Agrupador de Área de Personal. Si desea que la regla use CC-nóminas específicos o agrupaciones, deje en blanco.
Utilice la opción de impresión y VAR (PAR 2) en el esquema de salida de la tabla de variables durante el procesamiento.
La posición es muy importante para los esquemas. Mira a ver que una pieza similar de transformación haya tenido lugar. En caso de duda, coloque la regla después de los datos similar ha sido leído y procesado.
Funciones de uso general
Función Descripción
PIT Proceso de la Tabla de entrada (IT)
PRT Resultados del Proceso de la Tabla
COPY Llama a un esquema colocado en PAR1.
BLOCK Define el inicio y el final de un nodo anidado
IF/ELSE/ENDIF El esquema se procesa si la condición se cumple
Pxxx Procesa la información contenida en infotipo Pxxx.
ACTIO Llama una PCR. Se procesa, independientemente de si existe el tipo de salario o no.
Parámetros utilizados comúnmente
Parametros Descripción
GEN Procesar cualquier Concepto de nomina
9000 Solo procesos de concepto de nomina 9000
NOAB Proceso para cualquier agrupaciones de Área de Personal (para regla de cálculo de nomina)
1 Procesa la regla sólo para agrupación de Área de Personal 1
REGLAS PARA CALCULO DE NOMINA
Transacion: PE02
Ruta de Menu:
Recursos Humanos Calculo de Nomina Internacional Herramientas Herramientas de Configuración Reglas
Operaciones de uso común en la configuración de la nómina
Operación Descripción
*Esto cubre todas las entradas restantes que no se ha especificado. Si deja en blanco la línea para la operación entonces el WT se deja caer. Recuerde que siempre tiene que tener una opción para * en su PCR.
ADDCUAcumula la CC-nómina en la CC-nóminas de acumulación relevante (/ 101 ...) y valoración (/ 201 ...)
ADDNA * A partir de la TI, NUM y AMT se acumulan en el OT. Blank es OT mientras E se refiere a RT.
ADDNA 4067 NUM actual y AMT se añaden en el tipo de salario 4067
ADDWSE9N03Esta operación es muy similar a ADDWT. La única diferencia es que se escribe el valor de la tabla V0 así
ADDWSI* Guarde el concepto de nómina actual en la TI.
ADDWT * Almacena el concepto de nómina en TI / OT
ADDWT 1103Todos los valores actuales de AMT, NUM, RTE se añaden a los valores que actualmente están retenidos en el concepto de nomina 1103
ADDWT&TAñade el concepto de nómina actual para la tabla de variables como T - que se puede utilizar en una etapa posterior
ADDWTA*Los valores de la clave concepto de nómina se copian en la tabla anterior empleador VAG - llamados en las reglas XDPI, XDPR y XDPT
ADDWTC* Los valores de la CC-nómina actual se agregan a la CRT
ADDWTC/101 Los valores de la CC-nómina actual se agregan a la CRT de la CC-nómina técnica / 101
ADDWTD* Los valores de la CC-nómina actual se agregan a la tabla Diferencia DT
ADDWTD/551 Los valores de la CC-nómina actual se agregan a la tabla de diferencias DT de la CC-nómina
técnica / 551
ADDWTD/APO Añadir la CC-nómina actual a la tabla de diferencias (DT)
ADDWTE Almacena AMT en la tabla (RT) - difiere con la línea de abajo
ADDWTE* Añadir la CC-nómina actual para la tabla de resultados RT
ADDWTE/101 Añadir la CC-nómina actual de la tabla de resultados RT como /101
ADDWTH/201Añadir la CC-nómina actual de la tabla de resultados anteriores (ORT) en concepto de nómina / 201
ADDWTI* Añadir la CC-nómina actual a la tabla de entrada IT
ADDWTI/101Los valores de la CC-nómina actual se agregan a la tabla de entrada IT para la CC-nómina técnica / 101
ADDWTL* Añade la CC-nómina actual a la tabla de resultados de la última nómina (LRT)
ADDWTN Se utiliza en XLON
ADDWTN/LRP (Prestamos - XLON)
ADDWTW Añadir la CC-nómina actual para la tabla de mantenimiento de salarios
AMT- 9023Sustrae el campo AMT de la CC-nómina 9023 de la Tabla TI (si el cc-nomina 9023 está disponible)
AMT%33.33 Multiplica la AMT por 33,33%
AMT%KSAPRO Multiplica AMT por SAPRO valor contenido en la tabla T511k
AMT-& T AMT menos el valor contenido en la variable T
AMT*-1 AMT multiplicado por -1
AMT*12 AMT multiplicado por 12
AMT*KGENAUMultiplica AMT por la constante GENAU contenida en la tabla T511K. GENAU se utiliza para factorizar por 4 o 5 factores de 10 para evitar el problema de los errores provocados por el redondeo.
AMT-.04 AMT menos 0,4
AMT/2 Divide AMT entre 2
AMT/KGENAU Divide AMT por el factor de GENAU contenido en la tabla de constantes T511k
AMT/KPKWPR AMT dividido por PKWRP constante contenida en la tabla T511K
AMT/KZF001 AMT se divide por la constante ZF001 de la tabla T511K
AMT? * Compara el valor contenido en el campo AMT para todos los cc-nominas
AMT? /GPY Compara el valor contenido en el campo AMT con el concepto de nómina / GPY
AMT?& ZAPR Compara el valor contenido en el campo AMT contra la constante ZAPR
AMT?0 Compara el valor contenido en el campo AMT contra 0
AMT?E /167Compare AMT contra el valor de AMT contenido en la tabla de resultados RT para el concepto de nómina / 167
AMT?IGRUEB Compara AMT actual contra el límite mantenido para la transferencia bancaria
AMT+ /564 Añadir AMT de CC-nómina / 564 de la IT
AMT+ 0001Agregue AMT del campo del cc-nomina 0001 de la Tabla de IT (si CC-nómina de 0001 está disponible.)
AMT+ 9013Agregue AMT del campo del cc-nomina 9013 de la Tabla de IT (si CC-nómina de 9013 está disponible.)
AMT+& ZSAPAñadir el valor contenido en la variable ZSAP para AMT de la CC-nómina actual que se está procesando
AMT+E 910B Añadir la AMT actual a la RT y colocarlo en concepto de nómina 910B
AMT+O /ZPO Añadir AMT de concepto de nómina / ZPO en VORT (Resumida ORT)
AMT< /562 Comprueba si AMT actualmente contenido es menor que la contenida en la CC-nomina /562
AMT= * Esto establece el AMT= 0 para la CC-nómina en cuestión
AMT= /111Almacena el valor en el campo AMT del concepto de nómina / 111 en el campo AMT de concepto de nómina procesado.
AMT= 1000Almacenar el valor en el campo AMT de la CC-nómina de 1000 en el campo AMT de concepto de nómina procesado
AMT= BETRGDeje AMT igual al valor contenido en el campo BETRG (AMT) para la clave concepto de nómina en cuestión
AMT= PKWWRRestablecer AMT en concepto de nómina xxxx a la que tuvo lugar en el valor para KWWR contenida en T511K
AMT= PLANS Establece AMT = número de posición
AMT=& /426 Ajusta el AMT = AMT contenida en el concepto de nomina técnica / 426
AMT=& TASARestablecer AMT en concepto de nómina xxxx a la que tuvo lugar en la CC-nómina temporal TASA
AMT=0 Establece AMT =0
AMT=A * AMT se establece en el valor contenido en la tabla VAG – previo datos empleado
AMT=E * Permite AMT = AMT en el concepto de nomina actual en la
AMT=E /167 Permite AMT = AMT contenido en el concepto de nómina técnica / 167 en el RT
AMT=KSAPLR Establece AMT = la constante SAPLR contenida en la tabla T511k
AMT=L * Permite AMT = AMT mantenidos para la CC-nómina actual en la LRT - última tabla de resultados
AMT=L /561Permite AMT = AMT contenido en el concepto de nómina / 561 en la LRT - última tabla de resultados
AMT=N /LBBAgrega el valor de AMT en el concepto de nómina técnico préstamo / LBB (saldo del préstamo) al saldo del préstamo de la cc-nomina especifico
AMT=N /LOPAgregue el valor AMT en la cc-nómina técnica de préstamo / LOP (pago del préstamo) a la devolución del préstamo de la cc-nómina específica
AMT=N /LRPAgrega el valor AMT en la cc-nomina técnica de préstamo / PRL (reembolso del préstamo) al pago de préstamo de la cc-nomina especifica
AMT=Q /GPYPermite AMT = AMT contenido por concepto de nómina / 561 en el OCRT - tabla de resultados acumulativos viejos
AMT=ZERO Reducir el valor en el campo AMT a cero
AMT>*"La formación máxima: El mayor valor de * y el valor actual del campo AMT se determina y se escribe en el campo AMT actual."
AMT-1 Resta 1 a AMT
AMT50Si el valor del campo AMT es menor que 50, se retiene. De lo contrario, será fijado en 50 (formación de una cantidad mínima).
AMT-E /167 Reste del valor AMT actual el AMT contenido en la RT de la cc-nomina / 167
AMT-K43301 Tome el valor contenido contra la constante de nómina 43301 del salario anual
AMT-O /167 Resta el valor AMT contenido en la ORT del cc-nomina / 167 del AMT almacenada actualmente
AMT-R 9019AMT de la CC-nómina actual menos el valor que tuvo lugar en la RT de 9019 (Resultados de nómina utilizando divisiones exactas)
AMTS /564 Resta a cero - el valor no puede ser menor que cero.
AMTS* Resta a 0 (no negativo) para el cc-nomina actual
AMTS* 9013 Resta a 0 (no negativo). Concepto de nómina actual menos 9013
AMTSE 9043Resta a 0 (no negativo). Concepto de nómina actual menos AMT contenida en la RT de cc-nomina 9043
BTREC /558
"Establece los datos de destinatarios de las transferencias bancarias. Sólo se puede ejecutar después de la transferencia de datos del banco ha sido leído desde un infotipo. Los datos sobre el tipo de salario y la cantidad se transfiere de los campos actuales (OT) y retenido en la tabla de transferencia junto con datos sobre el destinatario del último registro leído".
CMPER 0510 Compara AMT actual con que celebró para el período de 10 en el año 05.
D Esperar una decisión en esta línea
D AMT?0El valor del campo AMT se compara con 0, y el resultado ('>', '=' o '<') se coloca en la clave variable.
D VWTCL 01 Toma una decisión sobre la clase de tratamiento 01
DIVID ANR Divide AMT entre NUM y almacena el resultado en campo RTE
DIVID ARA Divide AMT entre RTE y poner el resultado en el campo de AMT
DIVID ARR Divide AMT entre RTE y almacena el resultado en RTE de la CC-nomina
DIVID NRN Divide NUM entre RTE y almacena el resultado en el campo NUM
ELIMI * Eliminar todas las divisiones
ELIMI A Eliminar las divisiones - trabajar periodo centro (WPBP)
ELIMI K Eliminar las divisiones - la contabilidad de costes
ELIMI KTXELIMI KTX Eliminar las divisiones de contabilidad de costos, pagos alternativos y asignación de variables
ELIMI R Eliminar las divisiones - empleado agrupación subgrupo de PCR
ELIMI T Eliminar divisiones - pagos alternativos (ALP)
ELIMI U Eliminar divisiones - transferencia bancaria (BT)
ELIMI X Eliminar las divisiones - asignación de variables
ELIMI Y Eliminar las divisiones – asignación de ausencia
ELIMI Z Eliminar las divisiones - unidad de tiempo
ERROR Procesamiento termina para el empleado actual
FILLF ARestaurar los valores originales de AMT - es decir, los valores que contenía para el campo AMT de la cc-nomina antes de cualquier procesamiento en esta regla
FILLF NRestaurar los valores originales de NUM - es decir, los valores que contenía para el campo NUM en la cc-nomina antes de cualquier procesamiento en esta regla
FILLF NRARestaurar los valores originales para NUM, RTE y AMT, es decir; Los valores que se contenían los campos NUM, RTE y AMT en el cc-nomina antes de cualquier procesamiento en esta regla
FILLF RRestaurar los valores originales de RTE, es decir, Los valores que contenía en el cc-nomina antes de cualquier procesamiento en esta regla
GBVRT"GB procesamiento específico de operación AWE GB operación específica para sobrescribir RTE promedio de CC-nómina / MAE en la tabla RT en caso de un cálculo retroactivo"
GCY ZUM2 Llama PCR ZUM2
GCYGXALQ Llamadas PCR Xalq para todos cc-nominas - conjunto de cc-nomina ****
GEWRT Eliminación de division WPBP en el RT
GSXP2 New Changes Across End of Year solution active for GBSXP phase 2
GSXPDCheck on Implementation Date of AVERA for SxP AWE. Called in GG70 and ensures that the old and new technical wage types for averages don't both exist.
LRTST YEvalúa el estado de la tabla LRT. El Procesamiento solo es continuado si el mes anterior cae en el año en curso.
MEANV 01 Cálculo de promedios para el 01 (de la tabla T511A)
MEANVG03 Calcualation of averages for 03 (from table T511A) - not sure what the G implies
MESSGxxxxxPuede utilizar un mensaje 5 caracteres. Surge si el registro se enciende o se apaga. Puede ser utilizado como un mensaje de error personalizado.
MODIF 1=02Establece el modificador para la generación de CC-nómina (T510S- regla de selección de cc-nomina de tiempo) - 02 corresponde a la agrupación empleado
MODIF 2=01Establece el modificador de las valoraciones constantes (T510J) - 01 corresponde la agrupación empleado
MODIF A=01 Establece el modificador para la regla de valoración de absentismos (T544C) a 01
MULTI ANN MULTI ANN Multiplicar AMT por NUM y almacenar en el campo de NUM de la CC-nómina
MULTI NRA Multiplicar NUM por RTE y poner el resultado en el campo de AMT
NEXTRProcess the next line. Placing an * in the last column in the operation column has the same effect as "nextr". Remember to put a letter or number in the next line under the NL column.
NEXTR A Continuation line. A...Z followed by 0...9 Don't forget to put in the letter following the NEXTR in the
continuation line of the next line.
NEXTR BContinuation line. A...Z followed by 0...9 Don't forget to put in the letter following the NEXTR in the continuation line of the next line.
NUM* BSGRDMultiply the value in the number field by the value held against the capacity utilization level on infotype 0008
NUM*1.5 Multiply the value in the number field by 1.5
NUM/100 Divide the value in the number field by 100
NUM?0 Test the value in the number field against 0
NUM+ 3710 Add the value in the number field of wage type 3710 to the number field in the WT being processed
NUM+& ZNIL Adds the number held in the temporary variable ZNIL to the currently held value for the number
NUM+39 Add a value of 39 to the number field
NUM+C 3000Add to the NUM value from wage type 3000 held in the CRT table - to the NUM value of the WT being processed
NUM+E /852 Adds the number held in technical wage type /852 to the currently held value for the number
NUM+TSAP**Adds the number from the partial period parameter for the paid absence measured in working hours for xx is the sum of all paid absences (totalled over all classes)
NUM= 3000 Set the current NUM to the value held in wage type 3000
NUM= ANZHL Transfers the value of the ANZHL field to the number field.
NUM= BWGRL Sets the number equal to the valuation basis per hour
NUM= EMPCT NUM = Capacity utilization level from P0007 (called record layout fields in SAP Help)
NUM= PLANS Sets the number equal to the position number of the employee
NUM= STDAZ Sets the number equal to the number of hours taken from IT 0007
NUM=& ZSHF Sets the number equal to the number held in the temporary variable ZSHF
NUM=0 Set the number field to zero
NUM=39 Store 39 in the number field
NUM=BJRSTD Sets the number equal to the position number of the employee
NUM=BTGSTD Sets the number equal to the daily hours worked by the employee
NUM=BWOSTD Sets the number equal to the weekly hours worked by the employee
NUM=E /SSP Set the NUM = the value of /SSP held in the results table
NUM=GSDIVP Sets the number equal to the working hours for the employee for the entire payroll period
NUM=GSSOLLSet the number = planned working time measured in working hours taken from the work schedule rule
NUM=TSAU** See part period parameter help (function PARTT)
NUM=TSAX** See part period parameter help (function PARTT)
NUM=TSDIVI See part period parameter help (function PARTT)
NUM=WOSTD See part period parameter help (function PARTT)
NUM=YCURPP Set the NUM = current payroll period (?)
NUM-51 Reduce the hours held in the number field by 51
NUM-E /845 Take away the number for technical wage type /845 held in the RT from the currently held number
NUM-TSDIVPCurrent value in the number field less the total working time measured in working hours taken from the total working time in payroll accounting period
OPINDEvaluates operation indicator - used immediately after a database record has been read. Multiplies by -1.
OUTWPABART Load Work Center and Basic Pay Data - payroll area
OUTWPCTYMO Load Work Center and Basic Pay Data - country modifier
OUTWPPAYSB Decide which payroll accounting area the employee is in
OUTWPPERSB Load Work Center and Basic Pay Data - employee sub-group
OUTWPPERSG Load Work Center and Basic Pay Data - employee group
OUTWPPLANT Load Work Center and Basic Pay Data - personnel area
OUTWPPLTSC Load Work Center and Basic Pay Data - personnel sub-area
OUTWPSHIFT Load Work Center and Basic Pay Data - shift indicator
OUTWPTRFAR Load Work Center and Basic Pay Data - pay scale type
OUTWPWWEEK Load Work Center and Basic Pay Data - working week from IT 0007
PCY X05D* Runs PCR X05D for all employee subgroup groupings
PCY X93B Runs PCR X93B
PPPAR A Reads part period parameters: leavers during payroll period
PPPAR B Reads part period parameters: paid absences during payroll period
PPPAR E Reads part period parameters: new joiners during payroll period
PPPAR F Reads part period parameters: leavers on the first day of the next payroll period
PPPAR PReads part period parameters: if the time unit for the payroll area is different to the time unit for the pay scale type and area
PPPAR R Reads part period parameters: is the employee is in an active work centre?
PPPAR S Reads part period parameters: basic pay changes during payroll period
PPPAR U Reads part period parameters: for unpaid absences in the period
PRINT Prints the IT
PRINT& WTG Prints WTG from the variable table
PRINTC Prints the contents of the CRT
PRINTE Prints the contents of the RT
PRINTL Prints out the contents of the old results table (LRT)
PRINTO Prints the summarised ORT (VORT)
R Employee work centre is inactive, therefore do nothing
R51P1?10NYou want to know if there is an entry in table T51P1 with indicator 10 for the current IT wage type. If an entry is found, processing should be continued.
R51P1=01RYou want to read the entry in table T51P1 with indicator 01 for the current IT wage type, and store it in the OT table. If an entry is found it should be rejected
R51P6A"Operation R51P6 reads an entry from table T51P6. This table determines the characteristics of the deduction wage types. The value of the arrears characteristic should be placed in the variable key."
RE510T Read Pay Scale Table - group and level
RESET * Sets the splits back up again - has the opposite effect to the ELIMI * operation.
RESET 1 Resets the first national split (/SI)
RESET ARResets the amount and the rate - is the opposite of ELIMI. Reset * - resets all the split indicators. Give the meaning of all the other variables elsewhere in the document.
RESET KR Resets the cost accounting and employee subgroup grouping values
RESET R Resets R - is the opposite of ELIMI - resets the employee subgroup groupings for the employee
RETRO Checks if the payroll run is a retroactive accounting run
ROUND Rounds off the AMT field - see SAP help for specifics
ROUND 005 Rounds the AMT field up so that it is divisible by 005
ROUND +100 Rounds the AMT field to the next available number
ROUNDA Rounds off the NUM field - see SAP help for specifics
ROUNDB Rounds off the RTE field - see SAP help for specifics
ROUNDG Rounds off the AMT field - see SAP help for specifics
RTE%33.33 Multiply the value held in the rate by 33.33% - so effectively multiply by .3333
RTE-& HALF Subtract the value held in the constant HALF from the rate
RTE* BSGRD Multiply the value held in the rate by the capacity utilization level field on infotype 0008
RTE*-1 Multiply the rate by negative 1 - effectively switch the sign for the value
RTE*100 Multiply percentage held in rate field by 100
RTE*KGENAU Multiply the rate by the constant GENAU held in table T511k
RTE*KGENAU Multiply the value in the rate field by the payroll constant GENAU (10,000).
RTE/100 Rate divide by 100
RTE/GKDIVI RTE/ total working time in calendar days
RTE/TADIVI RTE/ total working time in working days
RTE/TASOLL RTE/ planned working time measured in work days
RTE/TKDIVI RTE/ Total working time measured in calendar days
RTE/TSDIVI Divide the value in the rate field by the worked hours for pay period being processed.
RTE/TSDIVP RTE/ total working time measured in working hours
RTE?& VLBS Check to see how the current rate compares against the value held in the temporary variable VLBS
RTE?0 Check to see how the current rate compares against a value of zero
RTE+ 1001 Adds the rate held in wage type 1001 to the currently held rate
RTE+& MM Adds the rate held in the variable MM to the currently held rate
RTE+* Adds the current rate to the IT
RTE+100.00 Adds a value of 100 to the currently held rate
RTE+BBETRG Add the amount from table to the currently held rate
RTE+TKAU10 Add the unpaid absences measured in calendar days for counting class 10 from table T554C
RTE= 1001 Set the rate equal to the value held in the rate field for wage type 1001
RTE= BETRG Set the rate equal to the amount
RTE= BSGRD Set the rate equal to the capacity utilization level held on infotype 0008
RTE= BWGRL Sets the rate equal to the valuation basis per hour
RTE=& AB Sets the rate equal to the value held in the temporary variable AB
RTE=0 Set the rate field to zero
RTE=10000 Store 10000 in the rate field of wage type xxxx
RTE=BBETRG Set the rate equal to the amount pulled from the table
RTE=BWOSTD Sets the RTE equal to the weekly hours worked by the employee
RTE=GKSOLL Set the rate as the planned calendar days
RTE=K30551 Store the value held against payroll constant 30551 in table T511 in the rate field of wage type xxxx
RTE=KGENAU RTE set to the value of GENAU from table T511K (default set at 10 000)
RTE=TADIVP RTE = Total working time measured in working days
RTE=TASOLL RTE = planned working time measured in work days
RTE=TKDIVI RTE = Total working time measured in calendar days
RTE=TKSOLL Store the planned calendar days in the rate field of the wage type being processed
RTE=TSAU07 RTE = unpaid absence measured in working hours for counting class 07
RTE=TSDIVP RTE = total working time measured in working hours
RTE=TSSOLL RTE = planned working time measured in working hours
RTE=ZERO Reduce the value in the amount field to zero
RTE-GKAU** Rate subtract the part period unpaid absences in calendar days for all unpaid absences (totalled
over all absence counting classes)
RTE-TAAU**Rate subtract the part period unpaid absences in working days for all unpaid absences (totalled over all absence counting classes)
RTE-TKAU**Take away any unpaid absence, in calendar days, from the current rate (totalled over all absence counting classes)
RTE-TKAU20Take away any unpaid absence, in calendar days, from the current rate (for absence counting class 20)
RTE-TSAU**Take away any unpaid absence, in worked hours, from the currently held rate (totalled over all absence counting classes)
COND=F IF The condition for function IF is false
SCOND=T AL Set condition for Function LPBEG when the condition is true
SCOND=T IF The condition for function IF is true
SCOND=T IF The condition for function IF is true
SETIN A=01 Set the work center - basic pay split for the wage type as 01
SETIN R=1 Set the ESG for PCR as 1
SETIN X=NXYou want to set X with number 01 as a variable split; the number of the split is to be increased by 1 by every call.
STATU 2P Status field 2 which is valid at the start of the in-period is entered in the variable key.
SUBRC?SET The return code set in the second example must be evaluated.
SUBRC=0 The internal return code is set to the value 0
SUBWT * Subtracts the current wage type - effectively changing the sign of the NRA.
SUBWT 1025 Subtracts the current wage type (signs change) and stores it as 1025.
SUBWT&ZREG Subtracts the current wage type and stores it as a temporary variable ZREG.
SUBWTD* Subtracts the current wage type (sign change) of the NRA in the difference table (DT)
SUBWTD/551Subtracts the current wage type and stores it in the difference table (DT) as a temporary variable ZREG.
SUBWTE Flicks the sign for NRA of the currently processed wage type and stores it in the RT
SUBWTE* Subtracts the current wage type (sign change) of the NRA and stores in the results table (RT)
SUBWTE/121Flicks the sign for NRA of the currently processed wage type and stores it in the RT as technical wage type /121
SUBWTI* Flicks the sign for NRA of the currently processed wage type and stores it in the input table (IT)
SUBWTI/101Flicks the sign for NRA of the currently processed wage type and stores it in the input table (IT) as technical wage type /101
TABLE 503 Table query on employee groupings / areas
TABLE 508A Table query on shifts / time groups
TABLE 510P Table query on premium table
TABLE 512W Table query on valuation of wage types
TABLE 528B Table query on positions table in PA
TABLEALP Table query on the Alternative Payments table
TABLEP0014 Table query on data held in infotype 0014 - recurring payments and deductions
TABLEP0015 Table query on data held in infotype 0015 - additional payments
VAKEYALZNR Place in the variable key - Y/N alternative payment
VAKEYAUFKZ Place in the variable key - extra pay indicator for overtime
VAKEYBNKSA Place in the variable key - variable keys are held in a certain table
VAKEYBNKSA Place in the variable key - type of bank details P0009
VAKEYLGART Store in the variable key the wage type
VAKEYLNCLS Place in the variable key - loan type
VAKEYLNTPY Place in the variable key - loan type P0045
VAKEYLNTYP Place in the variable key - loan type P0045
VAKEYPAYTY Place in the variable key - payroll type
VAKEYPRAKN Place in the variable key - premium indicator time ITs
VAKEYTGRLEPlace in the variable key - variable key is filled out based on the values in the TRFGR and TRFST fields from the current PZ record
VAKEYVERSL Place in the variable key - clearing key for overtime
VAKEYZEINH Place in the variable key - time unit
VAKEYZLSCH Place in the variable key - payment key for bank transfers
VALBS? The system checks to see whether a valuation base exists
VALBS?0The system checks if a valuation basis is for the current wage type in table T512W. (That the "0" line of view V_T512_B is read).
VALBS0The current wage type is evaluated with the valuation basis that is entered for the current wage type itself. (That is, the "0" line of view V_512W_B).
VALBS0 *The system multiplies an entry that already exists in the RTE field for the current wage type with the percentage rate from a line 0 of view V_512W and then replaces the wage type names of the current wage type with the name of the wage type from the same line in V_512W.
VALBS0 B Same as VALBS0 * with the exception that the data from infotype 2010 is used.
VALBS1Replaces the current wage type with the statement wage type that is entered in table T512W for the second wage type derived from the current wage type, and then you want to valuate this using the corresponding valuation basis.
VALEN 2 Sets the length of the variable key to 2
VALEN 3 Sets the length of the variable key to 3
VAOFF 2 Variable offset - set here to 2. The system with then ignores the first 2 digits.
VARGBINDBW Place the table field "indicator for indirect valuation" in the variable key
VARGBPRAKN Place the table field "premium number" in the variable key
VARGBTRFKZ Place the table field "ES grouping for collective agreement provision" in the variable key
VWTCL 64 Interrogate processing class 64
WGTYP? Usually part of a decision - where the wage type is queried
WGTYP=* Passes through the wage type as unchanged
WPALL?LAST Decide if employee has had a pay change in pay period and if the one being processed is the last
WPBPCOperation WPBPC distributes the amount of the current wage type to the active WPBP periods in the payroll period.
WPBPCW This operation splits the amounts but does not distribute them to the different periods
Z Expect to call another PCR in this line
ZERO= AN Sets the AMT and NUM to zero
ZERO= RNA Set the values for the rate, number and amount equal to zero
ZERO=& ABCD Initialises the variable ABCD
ZERO=NRA Sets the NUM RTE and AMT to zero
Wishing to retrieve previous payroll period results to be used in a PCR?
You can do so by using the operation IMPRE with parameter NN (NN periods before current payroll period). Also have a look at the documentation of IMPRE.
An example in using this operation is as follows (reading the period 6 months ago):
D ZERO = NRA IMPRE 6 SUBRC?IMP *
0 AMT = O 1001SETIN A=01SETIN R=3 ZERO= NR ADDWTI1001
NOTAS: Personnel Calculation Rules (PCR's)
Version Original
SAP HR Payroll Schemas and Personnel Calculation Rules (PCR's)
Transaction Code: PE01
Menu Path:
Human Resources Payroll Europe Great Britain Tools Maintenance Tools Schemas
Double-clicking on a sub-schema will take you to the maintenance screen for that schema.
Double-clicking on any of the rules (PCR's) will take you to the rule editor. You can tell the difference between sub-schemas a rules by looking at the parameters. The name of the sub-schema can be found in the Par 1 column. The main schema generally calls all the different sub-schemas. The sub-schemas will then call the payroll rules. In most cases, when a rule is called, there will be parameters in the Par 2 or Par 3 columns.
In the main, most sub-schemas are called by the "copy" command.
Schemas, rules and features in SAP use the following line editor commands. This allows you to move, delete, copy and insert lines. All the commands are entered in the area used for the line numbers. Overwrite any of the numbers with the commands shown below. For the commands using 1 letter - hit the return key once you have entered the letter. For the commands using 2 letters - hit the return key after the first 2 letters have been entered or after both sets have been entered.
The most commonly used commands are:
Line Command Description
D Deletes a line
I Inserts a line
M Moves a line
C Copies a line
DD Indicates the start of a block to be deleted
DD Indicates the end of a block to be deleted
CC Indicates the start of a block to be copied
CC Indicates the end of a block to be copied
MM Indicates the start of a block to be moved
MM Indicates the end of a block to be moved
Once you have chosen the block to move or copy, you need to show where to move or copy it to in the schema. The following commands indicate where you can copy or move the lines to.
Line Command Description
A Places the block after the chosen line
B Places the block before the chosen line
Remember when calling the PCR from the schema: GEN means that the wagetype is **** i.e. you haven't specified one and NOAB means
that it will look at any EE Sub-Grouping. If you want the rule to use specific wage types or groupings, then leave either blank.
Use the print option and VAR (PAR 2) in the schema to output the variable table during processing.
Position is very important for schemas. Look to see where a similar piece of processing has taken place. If in doubt, place the rule after the similar data has been read and processed.
Commonly used Functions
Function Description
PIT Process Input Table
PRT Process Results Table
COPY Calls a schema placed in PAR1.
BLOCK Defines the start and end of a nested node
IF/ELSE/ENDIF The schema is processed if the condition is fulfilled
Pxxx Processes the information held in infotype xxxx.
ACTIO Actio calls a PCR. It is processed, irrespective of whether the wage type exists or not.
Commonly used Parameters
Parameter Description
GEN Process any wage type
9000 Processes only wage type 9000
NOAB Process for any EE sub-group groupings
1 Processes the rule only for EE sub-group grouping of 1
Payroll PCR's
Transaction Code: PE02
Menu Path:
Human Resources Payroll Europe Great Britain Tools Maintenance Tools Rules
Commonly used operations in payroll configuration
Operation Description
*This covers all the remaining entries not already specified. If you leave the line blank for the operation then the WT is dropped. Remember you always have to have an option for * in your PCR.
ADDCU Cumulates the wage type into the relevant cumulation (/101...) and valuation(/201...) wage types
ADDNA * From the IT, Number and Amt are cumulated into the OT. Blank is OT whilst E refers to the RT.
ADDNA 4067 Current Num and Amt are added in to wage type 4067.
ADDWSE9N03This operation is very similar to ADDWT. The only difference is that it writes the value to table V0 as well
ADDWSI* Store the current wage type in the IT.
ADDWT * Store wage type in IT/OT
ADDWT 1103All the current values for amt, num and rte are added to the values that are currently held in wt 1103
ADDWT&T Adds the current wage type to the variable table as T - which can be used at a later stage
ADDWTA*The values in the wage type are copied to the previous employer table VAG - called in the rules XDPI, XDPR & XDPT
ADDWTC* The values in the current wage type are added into the CRT
ADDWTC/101 The values in the current wage type are added into the CRT for the technical wage type /101
ADDWTD* The values in the current wage type are added into the Difference table DT
ADDWTD/551The values in the current wage type are added into the difference table DT for the technical wage type /551
ADDWTD/APO Add the current wage type to the difference table (DT)
ADDWTE Store amount in Results Table (RT) - difference with line below
ADDWTE* Add the current wage type to the results table RT
ADDWTE/101 Add the current wage type to the results table as /101
ADDWTH/201 Add the current wage type to the old results table (ORT) as wage type /201
ADDWTI* Add the current wage type to the input table IT
ADDWTI/101The values in the current wage type are added into the input table IT for the technical wage type /101
ADDWTL* Add the current wage type to the results table last payroll (LRT)
ADDWTN Used in XLON
ADDWTN/LRP (Loans - XLON)
ADDWTW Add the current wage type to the wage maintenance table
AMT- 9023 Subtract amount field from wage type 9023 from Table IT (if wage type 9023 is available.)
AMT%33.33 Multiply the amount by 33.33%
AMT%KSAPRO Multiply the amount by the value SAPRO held in table T511k
AMT-& T Amount minus the value held in variable T
AMT*-1 Amount multiplied by negative 1
AMT*12 Multiply amount by 12
AMT*KGENAUMultiply the amount by the constant GENAU held in table T511k. GENAU is used to factor up by 4 or 5 factors of 10 to avoid the issue of errors caused by rounding.
AMT-.04 Subtract 0.4 from the amount field
AMT/2 Divide the amount by 2
AMT/KGENAU Divide the amount by the factor GENAU held in the constants table T511k
AMT/KPKWPR Amount divided by the constant PKWRP held in table T511K
AMT/KZF001 Amount is divided by constant ZF001 from table T511K
AMT? * Compare the value held in the amount field for all wage types
AMT? /GPY Compare the value held in the amount field for wage type /GPY
AMT?& ZAPR Compare the value held in the amount field against the constant ZAPR
AMT?0 Compare the value held in the amount field against 0
AMT?E /167Compare the amount against the value of the amount held in the results table RT for wage type /167
AMT?IGRUEB Compare the current amount against the limit held for the bank transfer
AMT+ /564 Add the amount from wage type /564 from the IT
AMT+ 0001 Add amount field from wage type 0001 from Table IT (if wage type 0001 is available.)
AMT+ 9013 Add amount field from wage type 9013 from Table IT (if wage type 9013 is available.)
AMT+& ZSAP Add the value held in the variable ZSAP to the amount for the current wage type being processed
AMT+E 910B Add the current amount to the RT and place in wage type 910B
AMT+O /ZPO Add Amt from wage type /ZPO into VORT (Summarised ORT)
AMT< /562 Checks whether the currently held amount is less that that held in the wage type /562
AMT= * This sets the amount = zero for the wage type in question
AMT= /111 Store the value in the amount field of wage type /111 in the amount field of wage type 2110
AMT= 1000 Store the value in the amount field of wage type 1000 in the amount field of wage type 2110
AMT= BETRG Let the amount equal the value held in the BETRG (amount) field for the wage type in question
AMT= PKWWR Reset the amount on wage type xxxx to that held in the value for KWWR held in T511K
AMT= PLANS Sets the amount = position number
AMT=& /426 Set the amt = amt held on technical WT /426
AMT=& TASA Reset the amount on wage type xxxx to that held in the temporary wage type TASA
AMT=0 Let the amount equal zero
AMT=A * The amount is set to the value held in the table VAG - previous employee data
AMT=E * Lets the Amt = the Amt held for the current wage type in the RT
AMT=E /167 Lets the Amt = the Amt held for technical wage type /167 in the RT
AMT=KSAPLR Set the amount = the value SAPLR held in table T511k
AMT=L * Lets the Amt = the Amt held for the current wage type in the LRT - last result table
AMT=L /561 Lets the Amt = the Amt held for the wage type /561 in the LRT - last result table
AMT=N /LBBAdd the amount value in technical loan wage type /LBB (loan balance) to specific loan balance wage type
AMT=N /LOPAdd the amount value in technical loan wage type /LOP (loan payment) to specific loan payment wage type
AMT=N /LRPAdd the amount value in technical loan wage type /LRP (loan repayment) to specific loan repayment wage type
AMT=Q /GPY Lets the Amt = the Amt held for the wage type /561 in the OCRT - old cumulative result table
AMT=ZERO Reduce the value in the amount field to zero
AMT>*"Maximum formation: The greater value of * and the current value of the AMT field is determined and written to the current AMT field."
AMT-1 Multiply the amount by -1 - I think this should be subtract 1 from the amt
AMT50If the amount field value is smaller than 50, it is retained. Otherwise it is set at 50 (forming a minimum amount).
AMT-E /167 Subtract the Amt value held in the RT for /167 from the currently stored amount
AMT-K43301 Take the value held against payroll constant 43301 from the annual salary
AMT-O /167 Subtract the Amt value held in the ORT for /167 from the currently stored amount
AMT-R 9019Amt for the current wage type less the value held in the RT for 9019 (Results wage types using exact splits)
AMTS /564 Subtraction to zero - the value cannot be less than zero.
AMTS* Subtraction to 0 (not negative) for the current wage type
AMTS* 9013 Subtraction to 0 (not negative). Current wage type less 9013
AMTSE 9043 Subtraction to 0 (not negative). Current wage type less Amt held in the RT for wage type 9043
BTREC /558"Sets the recipient data for bank transfers. Can only be run after bank transfer data has been read from an infotype. Data on wage type and amount are transferred from the current fields (OT) and retained in the transfer table together with data on the recipient of the record last read."
CMPER 0510 Compares the current amount with that held for period 10 in year 05.
D Expect a decision in this line
D AMT?0The amount field value is compared with 0, and the result (‘>’, ‘=’ or ‘<’) is placed in the variable key.
D VWTCL 01 Make a decision on processing class 01
DIVID ANR Divide the amount by the number and store the result in the rate field
DIVID ARA Divide the value in amount field by the value in the rate field and put the result in the amount field
DIVID ARR Divide the amount by the rate and store the answer in the rate for the wagetype
DIVID NRN Divide the number by the rate and store the answer in the number field
ELIMI * Eliminate all splits
ELIMI A Eliminate splits - work center period (WPBP)
ELIMI K Eliminate splits - cost accounting
ELIMI KTX Eliminate the splits for cost accounting, alternative payments and variable assignment
ELIMI R Eliminate splits - employee sub-group grouping for PCRs
ELIMI T Eliminate splits - alternative payments (ALP)
ELIMI U Eliminate splits - bank transfer (BT)
ELIMI X Eliminate splits - variable assignment
ELIMI Y Eliminate splits - absence assignment
ELIMI Z Eliminate splits - time unit
ERROR Processing terminates for the current employee
FILLF ARestore the original values for the amount - i.e. The values that were held for the amount field in the WT before any processing in this rule
FILLF NRestore the original values for the number - i.e. The values that were held for the number field in the WT before any processing in this rule
FILLF NRARestore the original values for the number, rate and amount - i.e. The values that were held for the number, rate and amount fields in the WT before any processing in this rule
FILLF RRestore the original values for the rate - i.e. The values that were held in the WT before any processing in this rule
GBVRT"GB specific processing of AWE operation GB specific operation to overwrite the average RATE of wage type /MAE in table RT in case of a retro calculation."
GCY ZUM2 Call PCR ZUM2
GCYGXALQ Calls PCR XALQ for all wage types - sets wage type to ****
GEWRT Elimination of WPBP split in the RT
GSXP2 New Changes Across End of Year solution active for GBSXP phase 2
GSXPDCheck on Implementation Date of AVERA for SxP AWE. Called in GG70 and ensures that the old and new technical wage types for averages don't both exist.
LRTST YEvaluates the status of the LRT table. Processing is only continued if the previous month falls in the current year.
MEANV 01 Calculation of averages for 01 (from table T511A)
MEANVG03 Calcualation of averages for 03 (from table T511A) - not sure what the G implies
MESSGxxxxxCan use a 5 character message. Comes up whether the log is turned on or off. Can be used as a customised error message.
MODIF 1=02 Sets the modifier for Wage type generation (T510S) to 02 as the employee grouping
MODIF 2=01 Sets the modifier for Constant valuations (T510J) to 01 as the employee grouping
MODIF A=01 Sets the modifier for the absence valuation rule (T544C) to 01
MULTI ANN Multiply the amount by the number and store as the number field for the wage type
MULTI NRA Multiply the value in number field by the value in the rate field and put the result in the amount field
NEXTRProcess the next line. Placing an * in the last column in the operation column has the same effect as "nextr". Remember to put a letter or number in the next line under the NL column.
NEXTR AContinuation line. A...Z followed by 0...9 Don't forget to put in the letter following the NEXTR in the continuation line of the next line.
NEXTR BContinuation line. A...Z followed by 0...9 Don't forget to put in the letter following the NEXTR in the continuation line of the next line.
NUM* BSGRDMultiply the value in the number field by the value held against the capacity utilization level on infotype 0008
NUM*1.5 Multiply the value in the number field by 1.5
NUM/100 Divide the value in the number field by 100
NUM?0 Test the value in the number field against 0
NUM+ 3710 Add the value in the number field of wage type 3710 to the number field in the WT being processed
NUM+& ZNIL Adds the number held in the temporary variable ZNIL to the currently held value for the number
NUM+39 Add a value of 39 to the number field
NUM+C 3000Add to the NUM value from wage type 3000 held in the CRT table - to the NUM value of the WT being processed
NUM+E /852 Adds the number held in technical wage type /852 to the currently held value for the number
NUM+TSAP**Adds the number from the partial period parameter for the paid absence measured in working hours for xx is the sum of all paid absences (totalled over all classes)
NUM= 3000 Set the current NUM to the value held in wage type 3000
NUM= ANZHL Transfers the value of the ANZHL field to the number field.
NUM= BWGRL Sets the number equal to the valuation basis per hour
NUM= EMPCT NUM = Capacity utilization level from P0007 (called record layout fields in SAP Help)
NUM= PLANS Sets the number equal to the position number of the employee
NUM= STDAZ Sets the number equal to the number of hours taken from IT 0007
NUM=& ZSHF Sets the number equal to the number held in the temporary variable ZSHF
NUM=0 Set the number field to zero
NUM=39 Store 39 in the number field
NUM=BJRSTD Sets the number equal to the position number of the employee
NUM=BTGSTD Sets the number equal to the daily hours worked by the employee
NUM=BWOSTD Sets the number equal to the weekly hours worked by the employee
NUM=E /SSP Set the NUM = the value of /SSP held in the results table
NUM=GSDIVP Sets the number equal to the working hours for the employee for the entire payroll period
NUM=GSSOLLSet the number = planned working time measured in working hours taken from the work schedule rule
NUM=TSAU** See part period parameter help (function PARTT)
NUM=TSAX** See part period parameter help (function PARTT)
NUM=TSDIVI See part period parameter help (function PARTT)
NUM=WOSTD See part period parameter help (function PARTT)
NUM=YCURPP Set the NUM = current payroll period (?)
NUM-51 Reduce the hours held in the number field by 51
NUM-E /845 Take away the number for technical wage type /845 held in the RT from the currently held number
NUM-TSDIVPCurrent value in the number field less the total working time measured in working hours taken from the total working time in payroll accounting period
OPINDEvaluates operation indicator - used immediately after a database record has been read. Multiplies by -1.
OUTWPABART Load Work Center and Basic Pay Data - payroll area
OUTWPCTYMO Load Work Center and Basic Pay Data - country modifier
OUTWPPAYSB Decide which payroll accounting area the employee is in
OUTWPPERSB Load Work Center and Basic Pay Data - employee sub-group
OUTWPPERSG Load Work Center and Basic Pay Data - employee group
OUTWPPLANT Load Work Center and Basic Pay Data - personnel area
OUTWPPLTSC Load Work Center and Basic Pay Data - personnel sub-area
OUTWPSHIFT Load Work Center and Basic Pay Data - shift indicator
OUTWPTRFAR Load Work Center and Basic Pay Data - pay scale type
OUTWPWWEEK Load Work Center and Basic Pay Data - working week from IT 0007
PCY X05D* Runs PCR X05D for all employee subgroup groupings
PCY X93B Runs PCR X93B
PPPAR A Reads part period parameters: leavers during payroll period
PPPAR B Reads part period parameters: paid absences during payroll period
PPPAR E Reads part period parameters: new joiners during payroll period
PPPAR F Reads part period parameters: leavers on the first day of the next payroll period
PPPAR PReads part period parameters: if the time unit for the payroll area is different to the time unit for the pay scale type and area
PPPAR R Reads part period parameters: is the employee is in an active work centre?
PPPAR S Reads part period parameters: basic pay changes during payroll period
PPPAR U Reads part period parameters: for unpaid absences in the period
PRINT Prints the IT
PRINT& WTG Prints WTG from the variable table
PRINTC Prints the contents of the CRT
PRINTE Prints the contents of the RT
PRINTL Prints out the contents of the old results table (LRT)
PRINTO Prints the summarised ORT (VORT)
R Employee work centre is inactive, therefore do nothing
R51P1?10NYou want to know if there is an entry in table T51P1 with indicator 10 for the current IT wage type. If an entry is found, processing should be continued.
R51P1=01RYou want to read the entry in table T51P1 with indicator 01 for the current IT wage type, and store it in the OT table. If an entry is found it should be rejected
R51P6A"Operation R51P6 reads an entry from table T51P6. This table determines the characteristics of the deduction wage types. The value of the arrears characteristic should be placed in the variable key."
RE510T Read Pay Scale Table - group and level
RESET * Sets the splits back up again - has the opposite effect to the ELIMI * operation.
RESET 1 Resets the first national split (/SI)
RESET ARResets the amount and the rate - is the opposite of ELIMI. Reset * - resets all the split indicators. Give the meaning of all the other variables elsewhere in the document.
RESET KR Resets the cost accounting and employee subgroup grouping values
RESET R Resets R - is the opposite of ELIMI - resets the employee subgroup groupings for the employee
RETRO Checks if the payroll run is a retroactive accounting run
ROUND Rounds off the AMT field - see SAP help for specifics
ROUND 005 Rounds the AMT field up so that it is divisible by 005
ROUND +100 Rounds the AMT field to the next available number
ROUNDA Rounds off the NUM field - see SAP help for specifics
ROUNDB Rounds off the RTE field - see SAP help for specifics
ROUNDG Rounds off the AMT field - see SAP help for specifics
RTE%33.33 Multiply the value held in the rate by 33.33% - so effectively multiply by .3333
RTE-& HALF Subtract the value held in the constant HALF from the rate
RTE* BSGRD Multiply the value held in the rate by the capacity utilization level field on infotype 0008
RTE*-1 Multiply the rate by negative 1 - effectively switch the sign for the value
RTE*100 Multiply percentage held in rate field by 100
RTE*KGENAU Multiply the rate by the constant GENAU held in table T511k
RTE*KGENAU Multiply the value in the rate field by the payroll constant GENAU (10,000).
RTE/100 Rate divide by 100
RTE/GKDIVI RTE/ total working time in calendar days
RTE/TADIVI RTE/ total working time in working days
RTE/TASOLL RTE/ planned working time measured in work days
RTE/TKDIVI RTE/ Total working time measured in calendar days
RTE/TSDIVI Divide the value in the rate field by the worked hours for pay period being processed.
RTE/TSDIVP RTE/ total working time measured in working hours
RTE?& VLBS Check to see how the current rate compares against the value held in the temporary variable VLBS
RTE?0 Check to see how the current rate compares against a value of zero
RTE+ 1001 Adds the rate held in wage type 1001 to the currently held rate
RTE+& MM Adds the rate held in the variable MM to the currently held rate
RTE+* Adds the current rate to the IT
RTE+100.00 Adds a value of 100 to the currently held rate
RTE+BBETRG Add the amount from table to the currently held rate
RTE+TKAU10 Add the unpaid absences measured in calendar days for counting class 10 from table T554C
RTE= 1001 Set the rate equal to the value held in the rate field for wage type 1001
RTE= BETRG Set the rate equal to the amount
RTE= BSGRD Set the rate equal to the capacity utilization level held on infotype 0008
RTE= BWGRL Sets the rate equal to the valuation basis per hour
RTE=& AB Sets the rate equal to the value held in the temporary variable AB
RTE=0 Set the rate field to zero
RTE=10000 Store 10000 in the rate field of wage type xxxx
RTE=BBETRG Set the rate equal to the amount pulled from the table
RTE=BWOSTD Sets the RTE equal to the weekly hours worked by the employee
RTE=GKSOLL Set the rate as the planned calendar days
RTE=K30551 Store the value held against payroll constant 30551 in table T511 in the rate field of wage type xxxx
RTE=KGENAU RTE set to the value of GENAU from table T511K (default set at 10 000)
RTE=TADIVP RTE = Total working time measured in working days
RTE=TASOLL RTE = planned working time measured in work days
RTE=TKDIVI RTE = Total working time measured in calendar days
RTE=TKSOLL Store the planned calendar days in the rate field of the wage type being processed
RTE=TSAU07 RTE = unpaid absence measured in working hours for counting class 07
RTE=TSDIVP RTE = total working time measured in working hours
RTE=TSSOLL RTE = planned working time measured in working hours
RTE=ZERO Reduce the value in the amount field to zero
RTE-GKAU**Rate subtract the part period unpaid absences in calendar days for all unpaid absences (totalled over all absence counting classes)
RTE-TAAU**Rate subtract the part period unpaid absences in working days for all unpaid absences (totalled over all absence counting classes)
RTE-TKAU**Take away any unpaid absence, in calendar days, from the current rate (totalled over all absence counting classes)
RTE-TKAU20Take away any unpaid absence, in calendar days, from the current rate (for absence counting class 20)
RTE-TSAU**Take away any unpaid absence, in worked hours, from the currently held rate (totalled over all absence counting classes)
COND=F IF The condition for function IF is false
SCOND=T AL Set condition for Function LPBEG when the condition is true
SCOND=T IF The condition for function IF is true
SCOND=T IF The condition for function IF is true
SETIN A=01 Set the work center - basic pay split for the wage type as 01
SETIN R=1 Set the ESG for PCR as 1
SETIN X=NXYou want to set X with number 01 as a variable split; the number of the split is to be increased by 1 by every call.
STATU 2P Status field 2 which is valid at the start of the in-period is entered in the variable key.
SUBRC?SET The return code set in the second example must be evaluated.
SUBRC=0 The internal return code is set to the value 0
SUBWT * Subtracts the current wage type - effectively changing the sign of the NRA.
SUBWT 1025 Subtracts the current wage type (signs change) and stores it as 1025.
SUBWT&ZREG Subtracts the current wage type and stores it as a temporary variable ZREG.
SUBWTD* Subtracts the current wage type (sign change) of the NRA in the difference table (DT)
SUBWTD/551Subtracts the current wage type and stores it in the difference table (DT) as a temporary variable ZREG.
SUBWTE Flicks the sign for NRA of the currently processed wage type and stores it in the RT
SUBWTE* Subtracts the current wage type (sign change) of the NRA and stores in the results table (RT)
SUBWTE/121Flicks the sign for NRA of the currently processed wage type and stores it in the RT as technical wage type /121
SUBWTI* Flicks the sign for NRA of the currently processed wage type and stores it in the input table (IT)
SUBWTI/101Flicks the sign for NRA of the currently processed wage type and stores it in the input table (IT) as technical wage type /101
TABLE 503 Table query on employee groupings / areas
TABLE 508A Table query on shifts / time groups
TABLE 510P Table query on premium table
TABLE 512W Table query on valuation of wage types
TABLE 528B Table query on positions table in PA
TABLEALP Table query on the Alternative Payments table
TABLEP0014 Table query on data held in infotype 0014 - recurring payments and deductions
TABLEP0015 Table query on data held in infotype 0015 - additional payments
VAKEYALZNR Place in the variable key - Y/N alternative payment
VAKEYAUFKZ Place in the variable key - extra pay indicator for overtime
VAKEYBNKSA Place in the variable key - variable keys are held in a certain table
VAKEYBNKSA Place in the variable key - type of bank details P0009
VAKEYLGART Store in the variable key the wage type
VAKEYLNCLS Place in the variable key - loan type
VAKEYLNTPY Place in the variable key - loan type P0045
VAKEYLNTYP Place in the variable key - loan type P0045
VAKEYPAYTY Place in the variable key - payroll type
VAKEYPRAKN Place in the variable key - premium indicator time ITs
VAKEYTGRLEPlace in the variable key - variable key is filled out based on the values in the TRFGR and TRFST fields from the current PZ record
VAKEYVERSL Place in the variable key - clearing key for overtime
VAKEYZEINH Place in the variable key - time unit
VAKEYZLSCH Place in the variable key - payment key for bank transfers
VALBS? The system checks to see whether a valuation base exists
VALBS?0The system checks if a valuation basis is for the current wage type in table T512W. (That the "0" line of view V_T512_B is read).
VALBS0The current wage type is evaluated with the valuation basis that is entered for the current wage type itself. (That is, the "0" line of view V_512W_B).
VALBS0 *The system multiplies an entry that already exists in the RTE field for the current wage type with the percentage rate from a line 0 of view V_512W and then replaces the wage type names of the current wage type with the name of the wage type from the same line in V_512W.
VALBS0 B Same as VALBS0 * with the exception that the data from infotype 2010 is used.
VALBS1Replaces the current wage type with the statement wage type that is entered in table T512W for the second wage type derived from the current wage type, and then you want to valuate this using the corresponding valuation basis.
VALEN 2 Sets the length of the variable key to 2
VALEN 3 Sets the length of the variable key to 3
VAOFF 2 Variable offset - set here to 2. The system with then ignores the first 2 digits.
VARGBINDBW Place the table field "indicator for indirect valuation" in the variable key
VARGBPRAKN Place the table field "premium number" in the variable key
VARGBTRFKZ Place the table field "ES grouping for collective agreement provision" in the variable key
VWTCL 64 Interrogate processing class 64
WGTYP? Usually part of a decision - where the wage type is queried
WGTYP=* Passes through the wage type as unchanged
WPALL?LAST Decide if employee has had a pay change in pay period and if the one being processed is the last
WPBPCOperation WPBPC distributes the amount of the current wage type to the active WPBP periods in the payroll period.
WPBPCW This operation splits the amounts but does not distribute them to the different periods
Z Expect to call another PCR in this line
ZERO= AN Sets the AMT and NUM to zero
ZERO= RNA Set the values for the rate, number and amount equal to zero
ZERO=& ABCD Initialises the variable ABCD
ZERO=NRA Sets the NUM RTE and AMT to zero
Wishing to retrieve previous payroll period results to be used in a PCR?
You can do so by using the operation IMPRE with parameter NN (NN periods before current payroll period). Also have a look at the documentation of IMPRE.
An example in using this operation is as follows (reading the period 6 months ago):
D ZERO = NRA IMPRE 6 SUBRC?IMP *
0 AMT = O 1001SETIN A=01SETIN R=3 ZERO= NR ADDWTI1001