Skip to Content

PCR payroll set time pair

Hello, I need an advice about setting a payroll PCR (YNGO). I have to change a wage type time pair based on a condition. In my case I should create a new wage (M526) type based on existing wage type (M546), but if ending time of existing wage type is greater of 24, I should cut new ending time to 24. I have done something like this, but I can not cut the ending time.

        OUTZL WGT  Wage type
            ADDZL *    Add to table ZL
            ADDZL *    Add to table ZL
            ADDZL *    Add to table ZL
            HRS=EEND   Set
            HRS-24     Subtraction
            HRS?0      Decision op.     HRS
                HRS=24     Set
                HRS-EBEG   Subtraction
                ADDZLSM526 Add to ZL, IFTYP S

Can someone help me how to cut ending time of wage type M546?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers