cancel
Showing results for 
Search instead for 
Did you mean: 

How to eliminate splits in RT

Former Member
0 Kudos

Dear Experts,

I have a scenario, wage type shouldn't pro-rate. We have maintained processing class 10 specification 0 in v_512w_d. Also we have maintained processing class 20 specification 4 for that wage type. We have 2 splits in IT0000 & IT0001. We have maintained this wage type in IT0008. But when we run the payroll system is bringing double entries in RT.

Eg.

Wage type  1412  - 300/- (amount)

Wage type  1412  - 300/- (amount)

in RT 1412 - 600/-  (amount)

We want 1412 should come 300/- only in RT. How to achieve this. We have also written PCR for this.

ZELI

    3

      1412  Other Allowance

        ELIMI *    Elim.time period ID

        RESET R    Set time period ID

        ADDWT *  OT   Output table

This above PCR we have inserted after the XVAL. Above PCR is being processing in payroll log. But it's not eliminating splits. It's displaying double amount in RT i.e. 600/- but should come only 300/-.

Your early response highly appreciated.

Regards,

Hafeez

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Hafeez,

If you set the PC 10 as 0 then you need to check that PC 47 whether it is blank or set to A.  If it is set to P the wage type will be double with a WPBP split.

Try once by setting the PC 10 as 4 instead of 0 and check.

Regards

Gautam

Former Member
0 Kudos

Hi Gautam,

Thanks for your immediate response.

I have already set PC 10 as 0 and  PC 47 as A. And also tried PC 10 as 4. But still the same result double entries in RT.

Appreciate your efforts. Can anybody help me out.

Thanks,

Hafeez.

former_member241216
Active Participant
0 Kudos

Hi Hafeez

Other option would be to control the same in a PCR as follows

*

1412

NUM=& CHK1

NUM?1

=

*

ADDWT *

NUM=1

ADDWT&CHK1

So its like the PCR gets executed for every split of WT 1412. Say there are 2 Splits

So during the 1st split the value of the variable & CHK1 would be '0' so the WT is pushed directly to the Output table meaning 1st split of the WT is pushed for further processing. During the 2nd split the value of the variable & CHK1 = 1 that means already a split of the WT 1412 is already processed so u can drop the other splits. So when NUM=1 nothing gets processed.

Hope it helps

Cheers

JayK

Former Member
0 Kudos

Hi Jaya Krishna,

Thanks for your valuable inputs.

Any other response will be highly appreciated.

Thanks,

Hafeez

Former Member
0 Kudos

Hi Experts,

Please help me out.

Thanks,

Hafeez.

seg_hr_it
Active Contributor
0 Kudos

Please try following example below:

PITZK19
NOAB

ZK19 is your PCR (below is processing with Wage Type 9050)

ZK19*9050          ELIMI * ADDWT *

Hope it helps!

Regards!

Woody

Former Member
0 Kudos

Hi Woody,

Thank you so much for your response.

It's coming all the splits accumulated amount in output table.

Could anybody please suggest me.

Thanks,

Hafeez.