cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Payroll US - PCR not showing result

S0017256970
Active Participant
0 Kudos

Hi Expert

I need little help from you. I am new to Payroll Schema and PCR and trying to learn myself and have stuck with a test PCR.

I have created a constant value in T511K as 10, and I want my rule to calc 15% on Gross /101 and add to WT 9111(Some Spcl Allowance) based on a certain PSArea and EG .

WT 9111 - I have created as part of IT0015 . I hope that is ok. Could you please check my PCR and advice what is wrong here why there is no WT9111 on the OT or RT table. The PCR doesn't even throwing any syntax error.

pcr1.jpg

capture2.png

cap3.png

Accepted Solutions (1)

Accepted Solutions (1)

sikindar_a
Active Contributor
0 Kudos

Contd to Remi,

please add the return value * under Personnel Area and Employee Sub Group as system will check the values other than values mentioned in the PCR under Personnel Area and Employee Sub Group.

Request to upload the screen shot of processing of /101 wage type (I would recommend to do this PCR by using Processing class , Querying /101 is not the best Practice instead) there might be issue araise during case of splits

Create a Processing class for to cumulate all the values of the amount into one custom wage type and then valuate the wage type which you want to do

S0017256970
Active Participant
0 Kudos

Hi Sikander

Thanks for the suggestion. As I am new to the Schema's so I wanted to try first with an easy one hence took /101 to valuate. Your suggestion seems logical but how do I create a Processing Class and cumulate all WT Amount into that? You mean valuating by VWTCL XX right? XX is teh new Proc Class. Could you please guide me.

Answers (6)

Answers (6)

former_member193210
Active Contributor
0 Kudos

Since the pcr is processing WT /101, and since "Total gross" should only hold an Amount, the use of MULTI NAA would be correct since it is preceeded by NUM=KZTST1, and Tapas wants to multiply the Number by the Amount, and write the sum into the Amount field.

former_member193210
Active Contributor
0 Kudos

Let's start with your pcr. It is made to process only WT /101, and for all ESG. This pcr is called by Function PIT (so it will process the Input Table), and it has no parameters in Par2 or Par3, so it will only process the ESG and WTs specified in the pcr (which is WT /101).

You have not shown the Input Table (you could see it if you double clic on the pcr in the Payroll Log), but from the Output it is possible to confirm that WT /101 did not exist in it, neither under ESG * or under ESG 1. That means that you have not placed your pcr correctly in your schema,, since WT /101 must exist in the Input Table for your pcr to process it.

Since WT /101 should be created in pcr X023 (if it's similar to K023), I would suggest that you move your pcr after X023.

kmoore007
Active Contributor
0 Kudos

I don't think it should be MULTI NAA. Should be something like MULTI NRA I believe. For testing of the constant, you can replace the constant variable with just "10" to see if the constant is being loaded or not (NUM =10).

former_member193210
Active Contributor
0 Kudos

1 - I have never worked on Payroll for USA, but that should not be a problem here.

2 - When you execute Payroll Calculation (or Simulation) with the "Display log" box checked, you should double-clic on the Function or PCR that you want to analyze in order to see it's Inputs, Processing and Output.

3 - You have inserted your PCR in the schema using no values in Par2 or Par3, meaning that it will process according to the Employee Sub-Group Grouping and WageType you have indicated when you built your PCR. That means it will only process ESG * for WT /101.

4 - If screen capture cap-table-it.png is the Input Table to pcr ZTST, then you probably did not insert your PCR in the correct position because WT /101 does not exist in it (and if it did, it would require ESG *).

S0017256970
Active Participant
0 Kudos

cap-schema.png

cap-rule.png

cap-py-run.png

cap-table-it.png

cap-processing.png

cap-ot.png

Hi Remi

Thanks for your detailed explanation. Sorry for my typo, as I mentioned 15% by mistake. I am looking for 10% only. I modified the Rule to include what will happen when the ESG and and PA doesn't match what should the rule do and I modified the Func PIT to include GEN NOAB but no result.

Please help. Also can you please tell me by looking at the Rule if I have placed it in the correct position.? I have inserted teh rule ZTST within Sub Schema UAL0 - Gross Calc. before rule X023 is called. I have included all teh screen shots but as you can see my custom WT9111 is not getting captured neither teh rule is being called.

former_member193210
Active Contributor
0 Kudos

When you have the Payroll Log on-screen and you drill-down to the point you want to "study", it is best if you do a double clic on the pcr or Function so that you could view the inputs (for a pcr called by Function PIT, that would be the Input Table), the processing, and finally the Output.

In your Input Table to pcr ZTST, does WT /101 have ESG * ? What happens during processing?

Try modifying your pcr so that it would have the same ESG as the WT, or try using the Par2/Par3 parameters to impact processing.

Make a change and do a Payroll Simulation (with the Display Log option checked) to see what happens, then try something else.

Regarding the Operations used in the pcr, you set the Number to be the value of your Constant (10, not 15) and then multiply it by the Amount and put the result into WT 9111 (after erasing the number), so that WT 9111 has 10 times the value of /100. If you would have wanted 10% of /101, you would require to use Operation NUM=KZTST1 MULTI NAA AMT/100 ZERO= N ADDWT 9111. If you would like 15%, then your Constant's Value would require to be 15, and that is the nice thing about using a Constant since you can delimit it's value over time.

S0017256970
Active Participant
0 Kudos

Remi

Could you please help.