Skip to Content

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

PCR syntax

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

The problem is in the subtraction part, as its not working. When I checked the IT 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

Hi,

Are you saying that WT3046 is generated in the previous sub schema?

Then tell me what's the pcr you have written for WT3046 generation.

Are you used ADDWTE3046 in the pcr? If then change it to ADDWT 3046. or if you don't want it into Input table and pass the WT3046 value to variable wage type &3046 like the operation ADDWT&3046.

And in the current which we are working change the AMT-  3046 to AMT-& 3046.

Check and tell me.

Regards,

Sankarsan

1 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question