cancel
Showing results for 
Search instead for 
Did you mean: 

I want to write a PCR for the following scenario ?

Former Member
0 Kudos

Starting 01.2015, new component added to which needs to be paid to employee belonging for example 4010 - PA and NN & PN  - ESG component will be based on gross pay.

Accepted Solutions (1)

Accepted Solutions (1)

Sanky
Active Contributor
0 Kudos

Hi Nadeem,

You can write the below PCR for your scenario.

ZTST

*

  ****

        CMPER 1501

             <

                 ADDWT *

             *

                 OUTWPPLANT

                     *

                     **

                     ***

                     ****

                            ADDWT *

                     4010

                            OUTWPPERSB

                                  *

                                  **

                                      ADDWT *

                                  NN

                                       ADDWT *

                                       AMT=ZAMT

                                       ADDWT XXXX

                                 PN

                                       ADDWT *

                                       AMT=ZAMT

                                       ADDWT YYYY

Regards,

Sankarsan

Former Member
0 Kudos

Thank you,  Sankarsan I got it.

Answers (1)

Answers (1)

0 Kudos

You want to pay a new component based on the ESG?? If so then you can create Z constants in T511K table and in your PCR call the ESG and multiply them with the percentages you defined in constants with start date 01.01.2015. Do reply if it helps or else elaborate your requirement.