Through a Payroll Simulation with the "Display log" box checked, find out where the final values of WTs /131 and /314 exist in the Input Table. That would be a good point where to put your new PCR.
Take note of the splits for WTs /131 and /314. Do they share the same ones?
There are many ways to build your PCR, and how you build it will influence what you require as Par2 and Par3 to Function PIT (in your Payroll Schema). The ESG can be generic (*) or specific, and so can be the WT, but if you use the generic WT (****), then you'll have to use operation WGTYP? to query the WT being processed.
Sankarsan gave you an example, and here are some more:
ZPC1
ESG * WT /131
ADDWT *
ZERO= RN (to delete the Rate and Number, only the Amount will be left)
ADDWT 9010
ESG * WT /314
ADDWT *
ZERO= RN (to delete the Rate and Number, only the Amount will be left)
ADDWT 9010
ESG * WT ****
ADDWT *
ZPC2
ESG * WT ****
WGTYP?
/131 ADDWT *
ZERO= RN (to delete the Rate and Number, only the Amount will be left)
ADDWT 9010
/314 ADDWT *
ZERO= RN (to delete the Rate and Number, only the Amount will be left)
ADDWT 9010
**** ADDWT *
ZPC3
ESG * WT /131
ADDWT *
ZERO= RN (to delete the Rate and Number, only the Amount will be left)
ADDWT 9010
ESG * WT ****
ADDWT *
ESG 3 WT /314
ADDWT *
ZERO= RN (to delete the Rate and Number, only the Amount will be left)
ADDWT 9010
ESG 3 WT ****
ADDWT *
Hi Ricardo,
For this it's required a PCR like below.
ZPCR
*
/131
ADDWT *
AMT= /131 (after = give two space)
AMT+ /314 ( ,, )
ADDWT 9010
****
ADDWT *
Insert this PCR in the schema where you are getting WT /131 and /314 value in the output table. Insert this PCR with PIT function in schema.
Check and tell me.
Regards,
Sankarsan
Add a comment