on 06-09-2011 6:23 AM
Hi Experts,
There is a requirement that for a particular emp subgroup and after 01.03.2011, the wagetype should get processed differently.
For that i have written 2 PCRS. I pcr is to compare the EMP Subgroup and payroll period and then branches to the 2nd PCR through GCY where the actual processing of the WT takes place.
The 1st PCR gets processed completely but only 1 line gets processed in the 2nd PCR. I have tried deleting the first line and adding something else as the 1st line, but still only 1 line gets processed. Please see the details of the PCR as below:
For eg, when i check the processing for the WT 0100, the PCR gets processed till ADDWT * only. The rest of the lines does not get processed and does not throw any error.
1st PCR
*
****
D OUTWPPERSG
Z GCY ZRF0
6 D OUTWPPERSB
6 ** Z GCY ZRF0
6 S8 P PCY ZRF4A
6 S9 P PCY ZRF4A
A
****
D CMPER 1201
Z GCY ZRF6*
< Z GCY ZRF0*
Second PCR is as below:
ZRF6 BPSA - Get RFI for specific WTs
*
****
ADDWT * OT Output table
/419 MA Taxable Benefit
ADDWT * OT Output table
AMT*-1 Multiplication
ELIMI * Elim.time period ID
RESET AR2 Set time period ID
ADDWT /113 OT Output table
ADDWT /3CA OT Output table
/435 Tax Port. Bursaries
0100 Basic Pay-Calc Base
ADDWT * OT Output table
ZERO= NR AmtNumRteTime = 0
ELIMI * Elim.time period ID
RESET AR2 Set time period ID
WSTAV /113 Tax and WPBP
WSTAV /3A0 Tax and WPBP
Thanks
pinki
I feel in second PCR your intension is to process only 2 wage types /419 and /435. Hence processing all other wage tyoe may not be required and if you will remove these 2 lines (below mentioned) then it will work.
****
ADDWT * OT Output table
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Doesn't appear your telling the rule to process subsequent lines from what you've copied in forum.
Either use operation NEXTR
or use the next line * functionality
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.