2008 Aug 13 2:22 PM
Has anyone used this?
It is returning monthly amounts but I need it to return semi-monthly. My functional lead doesn't want me to divide by 2 myself because of rounding errors. This function module returns employer cost, employee cost, etc. I'd prefer to get the semi-monthly costs from an existing function module rather than dividing by 2 myself.
Any suggestions?
Thanks.
2008 Aug 13 2:35 PM
The function module simply reads Infotype 0167 & spits out what is in there.. Did you verify how the Costs are maintained on the Infotype for this Plan?
~Suresh
Has anyone used this?
It is returning monthly amounts but I need it to return semi-monthly. My functional lead doesn't want me to divide by 2 myself because of rounding errors. This function module returns employer cost, employee cost, etc. I'd prefer to get the semi-monthly costs from an existing function module rather than dividing by 2 myself.
Any suggestions?
Thanks.
2008 Aug 13 2:35 PM
The function module simply reads Infotype 0167 & spits out what is in there.. Did you verify how the Costs are maintained on the Infotype for this Plan?
~Suresh
2008 Aug 13 2:41 PM
Suresh:
Can you clarify, please? I'm fairly new to SAP. Are you talking about configuration?
2008 Aug 13 2:51 PM
Got PA20, enter the pernr & display the 0167 record fro the employee.. Do you see the Costs maintained per month? If it is, You have to divide by 2, there is no other option.
~Suresh
2008 Aug 13 2:56 PM
Suresh:
Actually, on the "Costs" tab there's a "Period" field that says "Semi-Monthly" for "Calculated cost" and "Individual employee costs".
So why are the amounts from this function module coming out monthly (at least that's what my functional guy's telling me)?
2008 Aug 13 3:23 PM
Hmm..looks like the config is messed up.. what is the deduction model for the Plan in question?Pl test the function module HR_BEN_GET_DEDUCTION_MODEL in se37 for this pernr/plan combination & verify.
~Suresh
2008 Aug 13 4:15 PM
Do I need to fill out the VALIDITY_DATE and REACTION when testing this FM? I've no idea what to put there. When I run it with the pernr, barea, and bplan (from looking at PA30 at an arbitrarily chosen pernr) the export parameters are blanks and/or zeros.