Documente Academic
Documente Profesional
Documente Cultură
Menu Path: Human Resources --> Payroll --> Europe --> Great Britain --> Tools --> Maintenance Tools -->
Schemas
Ruta dentro del Menu: 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.
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.
Insets a line
I
Insertar una Linea
Moves a line
M
Mover una Linea
Copies a line
C
Copia una Linea
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.
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 type (cc-nomina) s 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.
Function Description
Process Input Table
PIT
Proceso en la IT
Payroll PCR's
Menu Path: Human Resources --> Payroll --> Europe --> Great Britain --> Tools --> Maintenance Tools -->
Rules
Ruta dentro del Menu: : Human Resources --> Payroll --> Europe --> Great Britain --> Tools -->
Maintenance Tools --> Rules
Operation Description
The 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.
Cumulates the wage type (cc-nomina) into the relevant cumulation
ADDCU
(/101...) and valuation(/201...) wage type (cc-nomina) s
From the IT Number and Amt are cumulated into the OT. Blank is OT
ADDNA *
whilst E refers to the RT.
ADDNA 4067 Current Num and Amt are added in to wage type (cc-nomina) 4067.
This operation is very similar to ADDWTE…The only difference is that it
ADDWSE9N03
writes the value to table V0 as well
ADDWSI* Store the current wage type (cc-nomina) in the IT.
Store wage type (cc-nomina) in IT/OT.
ADDWT *
Almacena el cc-nomina en la tabla IT/OT.
All the current values for amt, num and rte are added to the values that
are currently held in wage type (cc-nomina) 1103
ADDWT 1103
Los valores del AMOUNT, NUMBER y RATE del cc-nomina en proceso
son adicionados al cc-nomina 1103 o cc-nomina indicado.
Adds the current wage type (cc-nomina) (cc-nomina) to the variable
ADDWT&T
table as T - which can be used at a later stage
Asigna el cc-nomina 1575 u otro cc-nomina en la tabla VAR.
ADDWT&1575
& = Tabla VAR.
The values in the wage type (cc-nomina) are copied to the previous
ADDWTA* employer table VAG - called in the rules XDPI, XDPR & XDPT
El valor del cc-nomina son copiados previamente en
The values in the current wage type (cc-nomina) are added into the
ADDWTC*
CRT
The values in the current wage type (cc-nomina) are added into the
ADDWTC/101
CRT for the technical wage type (cc-nomina) /101
The values in the current wage type (cc-nomina) are added into the
ADDWTD*
Difference table DT
The values in the current wage type (cc-nomina) are added into the
ADDWTD/551
difference table DT for the technical wage type (cc-nomina) /551
ADDWTD/APO Add the current wage type (cc-nomina) to the difference table (DT)
ADDWTE Store amount in Results Table (RT) - difference with line below
ADDWTE* Add the current wage type (cc-nomina) to the results table RT
ADDWTE/101 Add the current wage type (cc-nomina) to the results table as /101
Add the current wage type (cc-nomina) to the old results table (ORT) as
ADDWTH/201
wage type (cc-nomina) /201
ADDWTI* Add the current wage type (cc-nomina) to the input table IT
The values in the current wage type (cc-nomina) are added into the
ADDWTI/101
input table IT for the technical wage type (cc-nomina) /101
Add the current wage type (cc-nomina) to the results table last payroll
ADDWTL*
(LRT)
ADDWTN Used in XLON
ADDWTN/LRP (Loans - XLON)
ADDWTW Add the current wage type (cc-nomina) to the wage maintenance table
Subtract amount field from wage type (cc-nomina) 9023 from Table IT (if
AMT- 9023
wage type (cc-nomina) 9023 is available.)
AMT%33.33 Multipl 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
Mutiply the amount by the constant GENAU held in table T511k. GENAU
AMT*KGENAU 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
Divide the amount by 2
AMT/2
Divide el AMOUNT entre 2
Divide the amount by the factor GENAU held in the constants table
T511k
AMT/KGENAU
Divide el AMOUNT por el valor de la constante GENAU en la tabla
V_T511K en la transaccion SM30 (Valor por defecto 10000).
Divide el AMOUNT por el valor de la constante ZDIAN que se encuentra
AMT/KZDIAN en la tabla V_T511K por la transaccion SM30 – Variable ZDIAN
(Exclusiva para Internacional)
Amount divided by the constant PKWRP held in table T511K
AMT/KPKWPR Divide el AMOUNT por el valor de la constante PKWRP que se
encuentra en la tabla V_T511K por la transaccion SM30
Amount is divided by constant ZF001 from table T511K
AMT/KZF001 Divide el AMOUNT por el valor de la constante ZF001 que se encuentra
en la tabla V_T511K por la transaccion SM30
Compare the value held in the amount field for all wage type (cc-
AMT? *
nomina) s
Compare the value held in the amount field for wage type (cc-
AMT? /GPY
nomina) /GPY
Compare the value held in the amount field against the constant ZAPR
AMT?& ZAPR Compara el AMOUNT con el AMOUNT de la variable ZAPR que esta en
la Tabla VAR.
Compare the value held in the amount field against 0
AMT?0
Compara el AMOUNT con 0.
Compare the amount against the value of the amount held in the results
AMT?E /167
table RT for wage type (cc-nomina) /167
AMT?IGRUEB Compare the current amount against the limit held for the bank transfer
AMT+ /564 Add the amount from wage type (cc-nomina) /564 from the IT
Add amount field from wage type (cc-nomina) 0001 from Table IT (if
AMT+ 0001
wage type (cc-nomina) 0001 is available.)
Add amount field from wage type (cc-nomina) 9013 from Table IT (if
AMT+ 9013
wage type (cc-nomina) 9013 is available.)
Add the value held in the variable ZSAP to the amount for the current
AMT+& ZSAP
wage type (cc-nomina) being processed
Add the current amount to the RT and place in wage type (cc-nomina)
AMT+E 910B
910B
AMT+CM Le suma lo que tiene en CRT M=mensual
Add Amt from wage type (cc-nomina) /ZPO into VORT (Summarised
AMT+O /ZPO
ORT)
Checks whether the currently held amount is less that that held in the
AMT< /562
wage type (cc-nomina) /562
AMT= * This sets the amount = zero for the wage type (cc-nomina) in question
Store the value in the amount field of wage type (cc-nomina) /111 in the
AMT= /111
amount field of wage type (cc-nomina) 2110
Store the value in the amount field of wage type (cc-nomina) 1000 in
AMT= 1000
the amount field of wage type (cc-nomina) 2110
Let the amount equal the value held in the BWTRG (amount) field for the
AMT= BETRG
wage type (cc-nomina) in question
Reset the amount on wage type (cc-nomina) xxxx to that held in the
AMT= PKWWR
value for KWWR held in T511K
AMT= PLANS Sets the amount = position number
Set the amt = amt held on technical WT /426
AMT=& /426 Asigna en el AMOUNT del CC-Nomina /426 el valor del AMOUNT de
concepto en proceso
"Maximum formation: The greater value of * and the current value of the
AMT>*
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
If the amount field value is smaller than 50, it is retained. Otherwise it is
AMT50
set at 50 (forming a minimum amount).
Subtract the Amt value held in the RT for /167 from the currently stored
AMT-E /167
amount
Take the value held against payroll constant 43301 from the annual
AMT-K43301
salary
Subtract the Amt value held in the ORT for /167 from the currently stored
AMT-O /167
amount
Amt for the current wage type (cc-nomina) less the value held in the RT
AMT-R 9019
for 9019 (Results wage type (cc-nomina) s using exact splits)
AMTS /564 Subtraction to zero - the value can not be less than zero.
AMTS* Subtraction to 0 (not negative) for the current wage type (cc-nomina)
Subtraction to 0 (not negative). Current wage type (cc-nomina) less
AMTS* 9013
9013
Subtraction to 0 (not negative). Current wage type (cc-nomina) less Amt
AMTSE 9043
held in the RT for wage type (cc-nomina) 9043
"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 (cc-
BTREC /558 nomina) 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
The amount field value is compared with 0, and the result ('>', '=' or '<')
D AMT?0
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 resul
Divide the value in amount field by the value in the rate field and put the
result in the amount field
Salida - Resultado
Rate Number Amount
15 3 5
Divide the amount by the rate and store the answer in the result for the
DIVID ARR
wagetype
DIVID NRN Divide the number by the rate and store the answer in the number field
ELIMI * Eliminar todas las divisiones
ELIMI A Eliminate splits - work center period (WPBP)
ELIMI K Eliminate splits - cost accounting
Eliminate the splits for cost accounting, alternative payments and
ELIMI KTX
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
Processing terminates for the current employee
ERROR
Finalizar proceso para el empleado en proceso.
Restore the original values for the amount - ie. The values that were
held for the amount field in the WT before any processing in this rule
FILLF A
Restaura el valor inicial del AMOUNT.
Restore the original values for the number - ie. The values that were
held for the number field in the WT before any processing in this rule
FILLF N
Restaura el valor inicial del NUMBER.
Restore the original values for the number, rate and amount - ie. The
values that were held for the number, rate and amount fields in the WT
FILLF NRA before any processing in this rule
Multiply the value in number field by the value in the rate field and put
MULTI NRA
the result in the amount field
MULTI ANA Multiplica el Amount por el Number y el resultado lo ingresa al Amount.
Multiplica el RATE por el AMOUNT y el resultado los asigna en el
MULTI RAA
AMOUNT.
Process the next line. Placing an * in under the last column in the
operation column has the same effect as "nextr". Remember to put a
NEXTR letter or number in the next line under the NL column.
NUM = Capacity utilization level from P0007 (called record layout fields
in SAP Help)
NUM= EMPCT
Sets the number equal to the number of hours taken from IT 0007
NUM= STDAZ
Sets the number equal to the number held in the temporary variable
ZSHF
NUM=& ZSHF
OUTWPPLANT Load Work Center and Basic Pay Data - personnel area
Load Work Center and Basic Pay Data - personnel sub-area
OUTWPPLTSC
Sub-area y/o Sub-Division de personal del empleado con la compañia.
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
OUTWPEMPLR Relacion laboral del empleado con la compañia.
PCY X05D* Runs PCR X05D for all employee subgroup groupings
Runs PCR X93B
PCY
X93B Llama la regla X93B – Condicion especial: Después de esta linea de
comando puede existir más lineas de comando.
Llama la regla 9SS4 – Condicion especial: Después de esta linea de
comando puede existir más lineas de comando. – Pendiente por
PCYG9SS4
averiguar la diferencia entre este comando y el anterior, ya que este
tiene al final una ‘G’.
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
Reads part period parameters: leavers on the first day of the next payroll
PPPAR F
period
Reads part period parameters: if the time unit for the payroll area is
PPPAR P
different to the time unit for the pay scale type and area
Reads part period parameters: is the employee is in an active work
PPPAR R
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
Prints the IT
PRINT
Muestra en pantalla la tabla IT
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
You want to know if there is an entry in table T51P1 with indicator 10 for
R51P1?10N the current IT wage type (cc-nomina) . If an entry is found, processing
should be continued.
You want to read the entry in table T51P1 with indicator 01 for the
R51P1=01R current IT wage type (cc-nomina) , and store it in the OT table. If an
entry is found it should be rejected
"Operation R51P6 reads an entry from table T51P6. This table
determines the characteristics of the deduction wage type (cc-nomina) s.
R51P6A
The value of the arrears characteristic should be placed in the variable
key."
RE510T Read Pay Scale Table - group and level
Sets the splits back up again - has the opposite effect to the ELIMI *
RESET *
operation.
RESET 1 Resets the first national split (/SI)
Resets the amount and the rate - is the opposite of ELIMI. Reset * -
RESET AR resets all the split indicators. Give the meaning of all the other variables
else where in the document.
RESET KR Resets the cost accounting and employee subgroup grouping values
Resets R - is the opposite of ELIMI - resets the employee subgroup
RESET R
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 divisable 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
RPAUD00 Transacción para hacer auditoria a Infotipos
Multiply the value held in the rate by 33.33% - so effectively multiply by .
RTE%33.33
3333
RTE-& HALF Subtract the value held in the constant HALF from the rate
Multiply the value held in the rate by the capacity utilization level field on
RTE* BSGRD
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
Multiply the value in the rate field by the payroll constant GENAU
RTE*KGENAU
(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
Divide the value in the rate field by the worked hours for pay period
RTE/TSDIVI
being processed.
RTE/TSDIVP RTE/ total working time measured in working hours
Check to see how the current rate compares against the value held in
RTE?& VLBS
the temporary variable VLBS
RTE?0 Evalua si el RATE es igual a CERO.
Adds the rate held in wage type (cc-nomina) 1001 to the currently held
RTE+ 1001
rate
RTE+& MM Adds the rate held in the variable MM to the currently held rate
RTE+* Adds the currrent 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
Add the unpaid absences measured in calendar days for counting class
RTE+TKAU10
10 from table T554C
Set the rate equal to the value held in the rate field for wage type (cc-
RTE= 1001
nomina) 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
Sets the rate equal to the value held in the temporary variable AB
RTE=& AB
Asigna al RATE el valor de la variable temporal AB.
You 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.
SETIN X=NX
Asigna a X un variable
Status field 2 which is valid at the start of the in-period is entered in the
STATU 2P
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
Subtracts the current wage type (cc-nomina) - effectively changing the
SUBWT *
sign of the NRA.
Subtracts the current wage type (cc-nomina) (signs change) and stores
it as 1025.
SUBWT 1025
Cambia de signo al CC-Nomina en proceso y lo resta para después
almacenarlo en la IT con el concepto 1025.
VWTCL 50 ¿?
WGTYP? Usually part of a decision - where the wage type (cc-nomina) is queried
WGTYP=* Passes through the wage type (cc-nomina) as unchanged
Traslada el control al CC-Nomina 2500 – Ejemplo: Se ingresar con el
CC-Nomina 9630 y se requiere hacer algun manejo con el CC-Nomina
WGTYP=2500 2500; este comando permite deshabilitar el 9630 que esta en proceso y
activa 2500 para realizar el proceso deseado.
<VER MANUAL REGLAS WGTYP-VWTCL>
Decide if employee has had a pay change in pay period & if the one
WPALL?LAST
being processed is the last
Operation WPBPC distributes the amount of the current wage type (cc-
WPBPC
nomina) to the active WPBP periods in the payroll period.
This operation splits the amounts but does not distribute them to the
WPBPCW
different periods
Z Expect to call another PCR in this line
Sets the AMT and NUM to zero
ZERO= AN
Asigna al AMOUNT y NUMBER Cero.
ZERO= AR Asigna al AMOUNT y al RATE Cero.
Set the values for the rate, number and amount equal to zero
ZERO= RNA
Asigna al RATE, NUMBER y el AMOUNT Cero.
Initialises the variable ABCD
ZERO=& ABCD
Inicia la variable ABCD
Sets the NUM RTE and AMT to zero
ZERO=NRA
Asigna al RATE, NUMBER y el AMOUNT Cero.
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):