Hello gurus,
Is there another way to calculate income tax instead of calling a form "calc_tax_ess" in the payroll driver RPCALCK0? The peformance is so slow when you do it that way. I'm thinking of using a function module to accomplish this.
Sample code of calculating tax:
PERFORM calc_tax_ess IN PROGRAM ('RPCALCK0')
TABLES ptax1
ptax2
ptcrt
ptcrti
pit
ptext
error_ptext
USING
i_salary-abrdt
psw_prot
p_nuper
lc_num_pension_months
pnumpr
ptaxretcode.
Thanks in advance,
Ricky