cancel
Showing results for 
Search instead for 
Did you mean: 

Amount

Former Member
0 Kudos

Hello All

We have a wage type used in IT0015 and 14 as well when ever user enters any amount for that wage type only 1/7 of that amount should be taken as input

For example

When WT7500 = 21 in IT0015 or 14  then in the input itself it should be converted to 21/7=3 then it should go for processing and output

Any  opinion on this.

Reg

SK

Accepted Solutions (1)

Accepted Solutions (1)

jrg_wulf
Active Contributor
0 Kudos

Hi,

a possible approach would be, to modify PCR X011 to your needs.

You can define a customer value for processingclass 47 either for this requirement or , like we did, to force a wagetype specific processing.

This could be like below, with value 1 for PRCL 47

Adapt it to your needs.

Best regards - Jörg

Answers (2)

Answers (2)

Sanky
Active Contributor
0 Kudos

Hi SK,

I would suggest you don't change the X011 pcr since it would be required to customized when split is required. So on that time you would be calculated on all splits.

So create a new pcr where  and put your required calculation on there.

3

****

     ADDWT *

7500

     AMT= 7500

     AMT/3

     ADDWT 7500

Check and tell me.

Regards,

Sankarsan

Former Member
0 Kudos

Hello Sankar

Will it control the input itself

Also let me know where to insert it

Reg

Sk

Former Member
0 Kudos

All

Any update in this

Reg

sk

Sanky
Active Contributor
0 Kudos

Hi SK,

You will insert this pcr just after P0015 function with PIT function.

Checka nd tell me.

Regards,

Sankarsan

Former Member
0 Kudos

Hello All

Inserted the rule in Time management (XT00) under P0014 as PIT.

Consider that  we are using this WT in IT0014 and not in IT0015

But the amount given input in IT0014 is the same as output. value is not divided by 3

Pls advise what else we can do in this.

Z750  Wage type 7500 processing in IT0014

    *

      ****

ADDWT   *


        7500  Rab  Allowance

        AMT= 7500  Set

        AMT/3   Division

        ADDWT 7500    OT Output table

Former Member
0 Kudos

Hello All

Any update. It is urgent

Reg

SK

Sanky
Active Contributor
0 Kudos

Hi SK,

P0014 function is present in XT00. Check this one it would be XNA9 subschema.

Check your PCR once.

Z750

*

   ****

         ADDWT *

   7500

         AMT=  7500 (after = give two space)

         AMT/3

         ADDWT 7500

If it's not working. then share the pcr processing details.

Regards,

Sankarsan

Former Member
0 Kudos

Hello All

Rule looks fine and PCR is processing but  for the WT 7500 in the processing it is

Z750     *            ADDWT *

i.e what ever the amount entered is coming as same

There is no processing happening

Included the rule in Time schema (XT00) under function P0014 using PIT

Reg

SK

Sanky
Active Contributor
0 Kudos

Hi SK,

Check the Input table of your PCR. Z750 wage is coming in the input table?

Regards,

Sankarsan

former_member193210
Active Contributor
0 Kudos

When debugging a PCRs called by function PIT, always check what parameters were associated with the function (Par2 and Par3), the WTs in the Input Table to the PCR, and the ESG/WT combinations used in the PCR.

In your schema, what parameters have you associated with function PIT and Z750 ?

In the Input Table to Z750, what is the ESG of WT 7500 ?

Former Member
0 Kudos

Hello Remi

The ESG for WT is 3. But in future they may go for other groupings also.

So,most of PCRs grouping given as *. Please let us know if this practise is wrong.

Reg

Sk

former_member193210
Active Contributor
0 Kudos

OK, so PCR is called by function PIT, and in the Input Table, WT 7500 has ESG Grouping 3.

So what are the Par2 and Par3 associated to function PIT and PCR Z750 ?

Look in your Payroll Schema at some of your PCRs called by function PIT

- where Par2 = blank and Par3 = blank

- where Par2 = GEN and Par3 = blank

- where Par2 = blank and Par3 = NOAB

- where Par2 = GEN and Par 3 = NOAB

- where Par2 = Pxx and Par3 = NOAB.

What difference do you see in these PCRs ?

These 2 parameters are very important (look up the documentation on the function) and will vary depending on how you built your PCR and what you want processed.

former_member193210
Active Contributor
0 Kudos

Functions P0014 and P0015 are used in the Payroll Schema to process valid entries from IT0014 and IT0015 respectively, and they should be associated with a PCR (something like X011, as mentioned by Jörr, or perhaps Z011).

An other possibility would be to modify these PCRs so that for the value of Pr.Cl. used by WT 7500 an additional decision is made on the WT using operation WGTYP?) and if the return value is **** you do as before but if return value is 7500 your divide the amount by 7.