cancel
Showing results for 
Search instead for 
Did you mean: 

PCR for IT0015

Former Member
0 Kudos

Hello Team

I need to take value of a wage type (Dummy wage type with no cumulation class ticked) and then need to add to another wage type in RT.

I tried multiple options but not working as per my requirment

Please suggest me the Correct PCR

WT 1100 is maintained in IT0015 (no cumulation class ticketed)

Need to add 1100 From IT or RT to another WT1101 (in the RT)

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Maybe I understood!

It's not so simple as seems....

I've done in my ambient an example, so pay attention:

  • your WT 1100 in IT table is mine 0958
  • your WT 1101 in RT table is mine 0964

I think you must create 2 PCR's.

Now look at the 5 attached in the right order.

I hope to definitely help you

BYe

Former Member
0 Kudos

Hello All

Tried Still not working.....

is it fine this way as menthod1

WT 1101 is already has value in RT

WT 1100 is available in IT0015 and RT

Can we add both 1101 and 1100 to another WT 1102 just for this purpose.

Pls note: WT1100 in IT0015 will be only one entry in a year or Life time of employee

But WT1101 will have values every payroll cycle.

Method 2:

Is there any way to add a wage type amount in IT0015 to a particular wage type in RT during a payroll Period (Monthly/4weeks/weekly).

former_member193210
Active Contributor
0 Kudos

WT 1100 will be created in IT0015, so it will be processed by function P0015 in the Payroll Schema and should therefore exist in the Input Table (IT) thereafter.  Before the end, it is either "dropped" from IT or transfered to the Results Table (RT), even if it is an "Information WTs").

WT 1101 is created somewhere in your schema and will exist in the Input Table before it is eventually transfered to the Results Table.

If you can find a place in the Payroll Log where both these WTs exist at the same time in the IT, then that is a perfect place to transfer a value from WT 1100 to WT 1101.  If these 2 WTs do not share the same splits, you may be able to eliminate some of them temporary to make them match, or you could use a temporary variable to enable the transfer.

Former Member
0 Kudos

Hello All

Any PCR for this requirment, please

former_member193210
Active Contributor
0 Kudos

Execute a Payroll Simulation, with the "Display Log" box checked, for one employee who has IT0015 with WT 1100 valid in the current Payroll Period.

Explore the Log to locate function P0015 (where IT0015 is being processed).  WT 1100 should exist in the Input Table after that point in your schema.

Find out where WT 1101 is created in your schema (where it appears in the IT).

Do both WTs (1100 and 1101) exist in the IT somewhere during Payroll Processing?

Where (in your schema) are these WTs being cumulated and transfered to the Results Table (RT) ?

Former Member
0 Kudos

Hello All

It is appearing in Both IT (According to PCR) and RT also.

But the problem is WT1100 amount not added to WT1101.

in RT both of them showing values seperately

former_member193210
Active Contributor
0 Kudos

At the point in the Schema where both WTs exist in the Input Table, create your PCR to add the value of WT 1100 to WT 1101.

One way to achieve this would be to use operation ADDWT&xxxx when processing WT 1100, and using operation AMT+& xxxx when processing WT 1101.

Former Member
0 Kudos

Hello Experts

At the Filnal processing SORT i am getting both WT values in the Input of RT.


In this case how to write PCR using.


Use operation ADDWT&xxxx when processing WT 1100, and using operation AMT+& xxxx when processing WT 1101.


Also please let me know in Final processing whether i can use function PRT or PIT?


Issue is not sloved yet, Please advise it

former_member193210
Active Contributor
0 Kudos

As mentioned previously, it would have been easier to process these 2 WTs while they were still in the IT.

Since you want to process them in the "Final Processing", you'll have to add your PCR after function SORT with Par1 = RT, and before function ADDCU.

At that point, and since you'll be processing WTs in RT, you'll have to call your PCR with function PRT (Process RT), and you could only process WT 1100 and use operation ADDWT 1101 (without using the temporary variables operations).

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Try this PCR...

Call            1100

                        !.ADDWTE 1101

                        !.AMT= 1100

                        !.ZERO= A

May this help u to solve your problem

Former Member
0 Kudos

Hello All

Below is the rule written but still getting 1101 wage type with two amounts in RT

Inserted rule with PIT, Also tried PRT buth no use

WT Addition

    3

      ****

       ADDWT *    OT   Output table

      1101 Pensionable pay on Pen

        AMT=  1000 Set

        ADDWT 1101 OT   Output table

        ELIMI *    Elim.time period ID

        ADDWTE1101 RT   Results table

Please help us to fix it.

Former Member
0 Kudos

Hi

You just try by transfering 1100 value to RT & then write pcr as below

*

1100

  addwte1101

And insert in INN1 with PRT PCR    NOAB

Former Member
0 Kudos

Hello Kedhar

You mean to say that i need to write another rule apart from below rule

*

1100

  addwte1101

Because i am unable to understand "You just try by transfering 1100 value to RT & then write pcr as below"

Former Member
0 Kudos

Yes you can write another or you can directly try with above if it won't work then write a pcr to transfer results of 1100 to RT.

Former Member
0 Kudos

Hello Kedhar

For the kind information we are not processing WT 1101 anywhere directly from infotype

1. WT 1101 is just transfered to RT from another wage type (1000) by using PRT function

2. Again we need to add amount of  WT 1100 from IT0015 to WT 1101 in RT (Already having value in RT)

Please consider thses scenarios and suggest me now the way to fix

how many PCRs need to be written, logic

Former Member
0 Kudos

Ok.. normally 1100 is storing in RT or IT, ok anyway had you tried the given in above. Just transfer the value of 1100 to 1101 using pcr & insert the same in schema.

Even not working paste your pcr & inserted schema details & Payroll results for getting more details.

0 Kudos

Create a PCR for only WT 1100 (call it with PIT if WT 1100 is in IT, or with PRT if is it in RT) with ABART * or what you need.

Inside only 2 rows:

1. to rewrite WT 1100 in OT:

==> ADDWT *

2. to add WT 1100 to the 1101:

==> ADDWTE 1101

voilà

Former Member
0 Kudos

Hello All

I ahve done the same.

But WT 1101 is coming as two times in RT

one is WT1101 value which is having in process

second the WT 1100 amount maintained in IT0015

But what i require is addition of both and single display in RT

Note:- I used ELIMI *  also to elimimate split but not working

Pls advise in this

Former Member
0 Kudos

Hi S K,

Just tr like below for the same,

*

1100

  Addwte1101

call in schema with PRT/PIT & noab.

former_member185000
Active Contributor
0 Kudos

Hi

Please paste your PCR here so that it will be easy for understanding. Placement of ELIMI* is also important factor.

Thanks

Madhav.

0 Kudos

S K, Elimi * eliminate split in your OT table not in RT....

to solve your problem then you have to do a PRT on the WT 1101 (in the RT table).

after catch the WT in PRC, OT table contain values of the 1101 WT and before add the value of the 1100 WT and rewrite all in the RT, here you have to do the ELIMI *.

ok?

Former Member
0 Kudos

Hello All

Below is the rule written but still getting 1101 wage type with two amounts in RT

Inserted rule with PIT, Also tried PRT buth no use

WT Addition

    3

      ****

       ADDWT *    OT   Output table

      1101 Pensionable pay on Pen

        AMT=  1000 Set

        ADDWT 1101 OT   Output table

        ELIMI *    Elim.time period ID

        ADDWTE1101 RT   Results table

Please help us to fix it.

former_member193210
Active Contributor
0 Kudos

In your Payroll Schema, look for function P0015, and see what PCR is associated with it.

How would WT 1100 be processed (look at it in the Payroll Log to confirm).

Make sure that WT 1100 is transfered to the IT.

Find a place in your Schema (use the Payroll Log) where both WTs 1100 and 1101 exist in the IT, and insert a PCR at that point to make the appropriate processing.  WT 1100 could then "disappear", or continue it's processing until it is transfered to RT (it's OK to have Information WTs in the RT).

0 Kudos

Hi SK,

To add value of Wage type 1100 to another wage type 1101 write pcr

Call            *

Call            1100

Check         AMT=BETRG

                  AMT?0

IF               =                 OR         *

IF               =

THAN          AMT=MULTI  NRA

                   ADDWT     1101

IF                AMT    is there

than             ADDWT      1101

Try this it will work.

Rgds,

Baidyanath

Former Member
0 Kudos

Hi B