Skip to Content
author's profile photo Former Member
Former Member

Reading Employee Group in PCR

ZCON Calculate Contract Allowance
    *
      ****
        ADDWT *    OT   Output table
    1
      ****
        ADDWT *    OT   Output table
    2
      ****
        ADDWT *    OT   Output table
    3
      ****
        WGTYP?     Query wage type
          ****
            ADDWT *    OT   Output table
          2014
            OUTWPPERSG EE group in v.key
              *
                AMT=0      Set
                ADDWT *    OT   Output table
              C
                RTE=KZCON  Set
                MULTI RAA  Multipl.amt/no/rate
                ROUND K100 Round AMT to next
                ZERO= R    AmtNumRteTime = 0
                ADDWT *    OT   Output table
              T
                AMT=0      Set
                ADDWT *    OT   Output table

Hello

There is a PCR before it where I am coping Basic Pay WT amount into WT 2014. With the above PCR I want the amount of WT 2014 to become Zero when Employee is other than C, and multipled by constant ZCON when the Employee Group is C. Currently, the system is unable to read the PCR and just passes Basic Pay WT amount into WT 2014 unprocessed.

Any ideas where I have gone wrong?

Regards

Yash

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 23, 2012 at 11:43 AM

    Hi,

    Do the following logic.

    *

    ****

    addwt*

    2014

    OUTWPPERSG EE group in v.key

    *

    ADDWT * OT Output table

    C

    NUM=KZCON Set

    MULTI ANA Multipl.amt/no/rate

    ROUND K100 Round AMT to next

    ADDWT * OT Output table

    T

    ADDWT * OT Output table

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      I tried multiple things including calling PCR with ACTIO. But finally it worked with following:

      ZCON Calculate Contract Allowance
          *
            ****
              ADDWT *    OT   Output table
            2014 Contract Allowance
              OUTWPPERSG EE group in v.key
                *
                  AMT=0      Set
                  ADDWT *    OT   Output table
                C
                  NUM=KZCON  Set
                  MULTI ANA  Multipl.amt/no/rate
                  ROUND K100 Round AMT to next
                  ADDWT *    OT   Output table
          3
            ****
              ADDWT *    OT   Output table
            2014 Contract Allowance
              OUTWPPERSG EE group in v.key
                *
                  AMT=0      Set
                  ADDWT *    OT   Output table
                C
                  NUM=KZCON  Set
                  MULTI ANA  Multipl.amt/no/rate
                  ROUND K100 Round AMT to next
                  ADDWT *    OT   Output table

      I called this PCR in ZAL9 (Copy of XAL9) as after PIT XVAL P10 Valuate pay elements:

      PIT ZCON

      It worked smoothly.

      Regards

      Yash

  • Posted on Jan 23, 2012 at 11:42 AM

    RTE=KZCON instead of this try KZCOON and let us know

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.