Skip to Content

Payroll PCR Multiple Amount and Number stored in Two Wage types

Dear All

These are my values in IT table

I want to multiple 9050 (6) with 9051 (678.23)

I wrote this PCR, but its not fetching the result

ZQ20

Output is like this

Any suggestions where am I getting wrong ?

I have tried many options.

1.PNG (2.5 kB)
2.PNG (7.2 kB)
3.PNG (3.0 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 22, 2016 at 12:13 PM

    Since this is a Payroll related problem, it would have been preferable to post it in the Payroll Discussion Forum (SAP ERP HCM Payroll) or into the appropriate Country/Region sub-forum.

    When processing the WageTypes from the Input Table (using Function PIT), the system will always process them one by one, in the order they appear. In this scenario, WT 9050 will be processed before WT 9051.

    The problem of reading the NUM value from WT 9050 while processing WT 9051 comes from the fact that these WTs do not share the exact same splits. Sometimes, the Operation ELIMI can be used at the start of the processing to align both WTs (and the Operation RESET used at the end of the processing to reset them back to what they were), but in this scenario, I would suggest that you modify pcr ZQ20 to also process WT 9050 in order to transfer it's values into a temporary variable (using Operations ADDWT& 9050 and ADDWT * ) and modify the processing of WT 9051 so that it would retrieve the number from that temp.var. (using NUM=& 9050).

    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.