cancel
Showing results for 
Search instead for 
Did you mean: 

Rounding off wage type

Former Member
0 Kudos

Hi All,

Please let me knw how can we round off wage types displayed in salary slip.

Regards,

Aman

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member103201
Participant
0 Kudos

Copy payroll rule 'X023' to Z023 and modify the rule with the given line

A ROUND K100ADDWTE* ADDCU

In the main schema (your custom schema copied from standard X000 ex: Z000) copy the sub-schema 'XAL0 Factoring and storage' to ZAL0 comment X023 and enter Z023.

Note: In the table v_512w_d select the specification 'A' for processing class '20' for all the wage types to round off.

sikindar_a
Active Contributor
0 Kudos

syed Bhai

if we set the PCL20 with Specification A is it ok

or still we need to write the Rule

former_member103201
Participant
0 Kudos

please take the specification which is not available instead 'A' you could write 'Z' in a rule for the specification of processing class 20 i've seen 'A' is already available thanks for the question!

former_member103201
Participant
0 Kudos

please take the specification which is not available instead 'A' you could write 'Z' in a rule for the specification of processing class 20 if 'A' is already used, yes you have to modify rule so that with the given specification to wage type i.e. 'A' or 'Z' in table v_512w_d you have the choice to either round it off or with a decimal value, thanks for the question!

Edited by: Syed Fouzul Azeem on Apr 1, 2009 11:18 AM

Former Member
0 Kudos

Hi

In processing class 20 m not getting the specification A.

Also we are using standered schema only. XOOO.

Plz Suggest

Aman

Former Member
0 Kudos

Hi,

Do you want get the round of amount in payslip?

For rounding the values sap has provided certain paramets, like nearest amout, below, above,(G, K, )

In that first you can choose which method are you going to select.

For rounding the values you can written the rule like this

*

WGTYP?

1010 - Basic Pay

ROUNDG 100

ADDWT *

1020 - VARIABLE PAY

ROUNDG 100

ADDWT *

In similar way you can write the rule for your custom wage types(whatever wage types do you required for rounding, as per business requirement).

Then this rule call the after XVAL rule in XAL0 subschema using PTIP function. (why because after factoring only values will be divide for that we need to call this rule after XVAL rule)

Regards

Devi

Devu

Former Member
0 Kudos

hi Devi,

thanks for your inputs,

i want round of in payslip.

Do i need to write new rule or what??

also XALO is "Monthly factoring and storage (cumul.of gross amount) INTERNATIONAL", where as i am using PY IN. also in the main schema XALO is *.

Actually. i have never worked on schems, plz guide me to resolve the issue.

Regards,

Aman

sikindar_a
Active Contributor
0 Kudos

yes u need to write the new rule

and insert in just below the XVAL

Check with Devis response

Former Member
0 Kudos

Hi,

We need to write the new rule for round the values for payslip..

Then insert the custom rule after XVAL rule for any country, there is no specific, read the above reply.

Regards

Devi

former_member103201
Participant
0 Kudos

How come you are using standard schema? If you are doing so please copy it ex:'Z000' and use the copied schema the one you are following is not the right practice. for writing payroll rules check this thread as well where i've explained how a rule can be written. and once you write the rule i've given earlier in this thread you'll find specification 'A' in your processing class '20'.

Edited by: Syed Fouzul Azeem on Apr 2, 2009 12:13 PM

former_member103201
Participant
0 Kudos

Tip: Don't directly query wage types in the rule if you could go with the option i've explained with processing classes where in you for every wage type you have choice to round it off or not with processing class in our example '20'.

Former Member
0 Kudos

Dear Devi,

i have never worked in schemas and Rules, please guide me how can i proceed.

Regards,

Aman

sikindar_a
Active Contributor
0 Kudos

two ways

V_T511 in that check rouding divisors

V_T7iny1 check this one also SM30

Former Member
0 Kudos

Hi Sikandar,

can u plz let me knw, what divisors to be used.

Regards,

Aman

Former Member
0 Kudos

Dear Sikindar,

i have checked in both:

in V_T511, i have rounding divisor 100 and

in V_T7iny1, i have nearest rounding off,

but m still not getting the desired result.

please help

Regards,

Aman

sikindar_a
Active Contributor
0 Kudos

Aman

than try rounding rule PCR

ELMI *

RoundKG100

RESET*

ADDWT*

let me know which wage type u want to round offf

Former Member
0 Kudos

Dear Sikindar,

which PCR to use???

i want to round off basic Pay WT 1000

Regards,

Aman

sikindar_a
Active Contributor
0 Kudos

Round of the that Wage type only

PE02

*

1000 Basic Pay

ELIM* (It Eliminates The Splits)

RoundKG100

RESET *

ADDWT *

try take the help of ur seniors will performing it test it

and insert this PCR just Below the XVAL rule

Try and let me know or else check my B Card