Go Back   Wiki NewForum | Latest Entertainment News > Career Forum & Tips > SAP HCM Forum


Resolved - Payroll PCR Multiple Amount and Number stored in Two Wage types


Reply
Views: 2125  
Thread Tools Rate Thread
Payroll Time OM & PA Portal Payroll Fixes Career Tips SuccessFactors
  #1  
Old 07-20-2021, 04:14 PM
welcomewiki welcomewiki is offline
Member
 
Join Date: Dec 2008
Location: India
Posts: 80,566
Default Resolved - Payroll PCR Multiple Amount and Number stored in Two Wage types

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.

Reply With Quote
Payroll Time OM & PA Portal Payroll Fixes Career Tips SuccessFactors
  #2  
Old 07-20-2021, 04:15 PM
welcomewiki welcomewiki is offline
Member
 
Join Date: Dec 2008
Location: India
Posts: 80,566
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).
Reply With Quote
Reply

Latest News in SAP HCM Forum





Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2024, vBulletin Solutions, Inc.