RTE*100 RTE*KGENAU RTE/GKDIVI RTE/TADIVI RTE/TASOLL RTE/TSDIVI RTE/TSDIVP RTE=0 RTE=10000 RTE=K30551 RTE=KGENAU RTE=TKSOLL RTE=TSAU07 RTE=TSSOLL RTE=ZERO RTE-TKAU** RTE-TSAU** SCOND=F IF SCOND=T IF SETIN A=01 SETIN R=1 SETIN X=NX Multiply percentage held in rate field by 100 Multiply the value in the rate field by the payroll constant GENAU (10,000). RTE/ total working time in calendar days RTE/ total working time in working days RTE/ planned working time measured in work days Divide the value in the rate field by the worked hours for pay period being processed. RTE/ total working time measured in working hours Set the rate field to zero Store 10000 in the rate field of wage type xxxx Store the value held against payroll constant 30551 in table T511 in the rate field of wage type xxxx RTE set to the value of GENAU from table T511K (default set at 10 000) Store the planned calendar days in the rate field of technical wage type /801 RTE = unpaid absence measured in working hours for counting class 07 RTE = planned working time measured in working hours Reduce the value in the amount field to zero Take away any unpaid absence, in calendar days, from the planned calendar days Take away any unpaid absence, in worked hours, from the planned worked hours The condition for function IF is false The condition for function IF is true Set the work center - basic pay split for the wage type as 01 Set the ESG for PCR as 1 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. SUBRC=0 SUBWT * SUBWT 1025 SUBWTD* SUBWTE* TABLE 508A TABLE 510P TABLE 512W TABLE 528B TABLEALP VAKEYALZNR VAKEYAUFKZ VAKEYBNKSA VAKEYBNKSA VAKEYLNCLS VAKEYLNTPY VAKEYPRAKN Set and query the return code as 0 Subtracts the current wage type - effectively changing the sign of the NRA. Subtracts the current wage type (signs change) and stores it as 1025. Subtracts the current wage type (sign change) of the NRA in the difference table (DT) Subtracts the current wage type (sign change) of the NRA in the results table (RT) Shifts / time groups Premium table Valuation of wage types Positions table in PA Table query on the Alternative Payments table Place in the variable key - Y/N alternative payment Place in the variable key - extra pay indicator for overtime Place in the variable key - variable keys are held in a certain table Place in the variable key - type of bank details P0009 Place in the variable key - loan type Place in the variable key - loan type P0045 Place in the variable key - premium indicator time ITs Place in the variable key - variable key is filled VAKEYTGRLE out based on the values in the TRFGR and TRFST fields from the current PZ record VAKEYVERSL VAKEYZEINH VAKEYZLSCH VALBS? Place in the variable key - clearing key for overtime Place in the variable key - time unit Place in the variable key - payment key for bank transfers The system checks to see whether a valuation base exists VALBS1 Replaces 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. Sets the length of the variable key to 2 Variable offset - set here to 2. The system with then ignores the first 2 digits. Interrogate processing class 64 Usually part of a decision - where the wage type is queried Decide if employee has had a pay change in pay period & if the one being processed is the last Expect to call another PCR in this line Sets the AMT and NUM to zero VALEN 2 VAOFF 2 VWTCL 64 WGTYP? WPALL?LAST Z ZERO= AN ZERO=& ABCD Initialises the variable ABCD ZERO=NRA ERROR BREAK BREGR EVLCL FIDTP MULTI MODIF PAYTP WPALL Sets the NUM RTE and AMT to zero ERROR: Warning in the event of incorrect entries BREAK : Setting a Break-Point Termination during the current payroll period EVLCL: Use specification of evaluation class nn Check for date (MMDD) in period MULTI: Multiply MODIF: Set employee grouping PAYTP: Set employee subgroup grouping for pers.calc.rule WPALL - Check/Set work center and basic pay split Wishing to retrieve previous payroll period results to be used in a PCR? You can do so by using the function IMPRE with paremter NN (NN periods before current payroll period). Also have a look at the documentation of IMPRE.
An example in using this function 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