on 09-08-2008 11:37 AM
Hi All,
Please let me knw how can we round off wage types displayed in salary slip.
Regards,
Aman
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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
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
two ways
V_T511 in that check rouding divisors
V_T7iny1 check this one also SM30
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.