cancel
Showing results for 
Search instead for 
Did you mean: 

Only one line gettign processed in a PCR

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Sujith_EM
Active Contributor
0 Kudos

If what mentioned by Praveen is a reason for the rejection

adding some more

you can follow this also

 
   *
   ****
     WGTYP?     Query wage type
       ****
       /419
         YOUR RULE
       /435
          YOUR RULE

Am I right Praveen ?

Former Member
0 Kudos

Hmmm yes dude good point if she want to process other also she has to have a query on wage type .

Former Member
0 Kudos

Hi,

Thanks a lot for your reply. It resolved my problem. But it would be very helpful if you explain why do we need to query for processing the rest of the steps.

Thanks,

Pinki

Answers (1)

Answers (1)

BradKrahe
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Former Member
0 Kudos

Hi Brad,

Thanks for the reply.

Could you please elaborate on this? How do i use the next line * functionality?

Thanks,

Pinki