Contents
Introduction
The SAP HCM PY operation is the key word by which the calculation driver runs the relevant program in the internal programming language (AVAR).
You can see, edit the operation itself through the PE04 transaction. Next, we use the operation to create your own rule in a Pe02 transaction
Read more here – HOW TO MAKE YOUR RULE IN THE WORLD OF SAP HCM PY
List of popular operations (operators) in the PY payrolls module in SAP HCM
Using AMT |
|
AMT-1 | Amount multiplied by minus 1 |
AMT/10 | Multiply the amount by 10 |
AMT’KGENAU | Multiply the amount by a constant GENAU in the T511k table. Avoid rounding errors. |
AMT/2 | Divide the amount by 2 |
AMT/KGENAU | Divide the amount by the GENAU factor in the T511k constant table |
AMT?0 | Compare the value in the amount box to 0 |
AMT’ 5015 | Add a box amount of 5015 payment from the IT table (if a 5015 payment is available). |
AMT’E 7800 | Add the current amount to RT and put in the payment form of 7800. |
AMT /562 | Checks whether the amount currently being held is less than the type of payment / 562 |
AMT-0 | Let the amount be zero |
Using NUM |
|
NUM’2 | Multiply the value in the number of points (NUM) by 2 |
NUM/100 | Divide value in the number of points (NUM) by 100 |
NUM?0 | Check the value in the number of points (NUM) at zero |
NUM’s 5453 | Add value in the 5453 payment payment amount (NUM) in the amount of payment (NUM) in the WT processed |
NUM 3020 | Set the current value in the amount (NUM) held as payment 3020 |
NUM’amp; zTIM | Adds a number in a time variable to the current value in the number of points (NUM) |
Using rte: |
|
RTE-1 | Multiply the bet by – 1b change the value mark |
RTE | Multiply the interest in the betting box by 100 |
RTE/TADIVI | The value in RTE divides total working hours in business days |
THE NRA | Reset the FIELDS NUM RTE and AMT |
Show IT table values | |
Using ADDWT: |
|
ADDWT | Save the pay view in IT/OT |
ADDWTE | Add the current payment to the RT results table |
ADDWTC | Add the current payment to the CRT results table |
ADDWTI | Add the current payment to the IT entry table |
ADDWTL | Add the current pay form to the latest payroll results table (LRT) |
ADDWTD | Values in the current payment form are added to the DT difference table. |
Using SUBWT: |
|
SUBWT | Subtracts the current salary type – changing the mark in the fields of NUM RTE and AMT. |
SUBWT 1350 | Subtracts the current payment type (change of the sign) and saves it in VO 1350. |
SUBWTE | Subtracts current payment form (sign change) in NUM RTE and AMT fields and keeps in the results table (RT) |
SUBWTI | Selects the sign for the NRA of the current payment type and keeps it in the input table (IT) |
SUBWTD | Subtracts the current payment type (sign change) in the NUM RTE and AMT fields in the Difference Table (DT) |
Using multi operation: |
|
MULTI ANN | Multiply the amount by number and save as a number field for the kind of payment |
MULTI NRA | Multiply the value in the numerical field by the value in the bet field and place the result in the amount box |
Using THE DIVI operation: |
|
DIVID ANR | Divide the Amount by Number and save the result in the Bet field |
ARA DIVIDING | Divide the value in the Sum field by value in the Bet field and place the result in the Sum field |
DIVID ARR | Divide the value in the Amount field on the Betting field and save the result in the Bet field |
DIVID NRN | Divide the No. |
Using rule branching operations | |
GCY ZRUF | Launching the rule of zrUF |
PCY X05D | Launches the X05D rule for all groups of employees. |
PCY X93B | Launches the X93B rule |
Using operations to fill fields: |
|
FILLF A | Restore the original values for the Summa field, i.e. values that were contained in the Amount box in the VO before any processing in this rule. |
FILLF N | Restore the original values for the No. |
FILLF NRA | Restore the original values for the No. values contained in the No., Bet, and Amount fields before any processing in this rule. |
FILLF R | Restore the original values for the Bet field, i.e. values that were contained in the VO before any processing in this rule. |
VALBS?0 | The system checks whether the basis of the assessment corresponds to the current type of payment in the T512W table. (Stoke “0” read from the perspective of V_T512_B). |
WPALL? The Last | To decide whether an employee had a pay change during the paid period, and whether the processing period is the last |
WGTYP? | It is usually part of a solution branch where payment is requested |
SCOND’T IF | The condition for the IF function is correct |
SCOND’F IF | The condition for the IF function is false |
VWTCL 64 | Request Processing Class 64 |
TABLE 503 | Request a table by group/employee category |
TABLEP0015 | Request table data stored in 0015 info type – additional payment |
CMPER 1812 | Compares the current amount with the amount for the period 12 in 18. |
ELIMI | Remove all splits |
RESET | Set splits – operation opposite to the operation of ELIMI. |
PPPAR | Counting incomplete periods |
OUTWP | Download employee data from the WPBP table |
VAKEY | Write down the key in a variable |