Skip to Content
avatar image
Former Member

Operation On Wage Types in PCR

Hello experts,

I want to subtract a wagetype(WT) result from other WT and store it in first WT in PCR. I want to equate the following equation in PCR

A = A - B

where A = /3RB (Technical WT : Perk value)

B = customized WT value with negative sign

Which function to use in PCR ?

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jul 14, 2009 at 07:39 AM

    Operation SUBWT

    PRess F1 to read document and syntax

    Regards

    ...Sadhu

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 14, 2009 at 07:52 AM

    Hi Deepti,

    First write a PCR to put the value of B into a variable.

    i.e. * BBBB : ADDWT&BBBB

    Then add this value into A in another PCR(you're adding not subtracting as value of B is already negative).

    i.e. * /3RB :

    AMT+& BBBB ADDWT *

    Regards,

    Dilek

    Edited by: Dilek Ersoz on Jul 14, 2009 9:52 AM

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I have checked the input IT of PCR. Its * 1017. when I used with other wage type /3R9 , it processed the PCR. In the output this wage type /3R9 was not available.

      The second PCr was getting processed earlier as well but with no calculated results. Output is still same as input

      Also I am using ADDWT * (to the output table) only.

      Edited by: DeeptiGupta on Jul 14, 2009 1:05 PM