Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

PCR Issue

Hi Experts

I am facing a problem regarding the syntax of a customized payroll PCR.

The PCR is designed to deduct 2 wage types, and add the result on a third wage type. The syntax written was as the following:

    *

       9501 Gain Work Tax

            ADDWT *    OT   Output table

            AMT-  3046 Subtraction

            SUBWT 3047 OT   Output table

In other words, the required equation form is WT3047=WT9501-WT3046

The problem is in the subtraction part, as its not working. When I checked the input table for the rule in the payroll log, I found only wage type 9501 ,while 3046 is not available, although it is calculated in another previous PCR.

I appreciate your feedback.

Thanks in advance

Former Member
Former Member replied

Write PCR as mentioned below.

   9051

     AMT-  3046(10000-1000)

     ADDWT 3047(9000 will be stored in 3047)

     FILLF ANR

     ADDWT 9501(9501 will hold the value 10000 in output table).

  and check from where 3046 is getting calculated  and whether it is there in Input table or not.

Regards

Venkatesh

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question