### Problem using CALCULATE_TAX_FROM_GROSSAMOUNT

Hello Experts,

I am using standard function module "CALCULATE_TAX_FROM_GROSSAMOUNT" and using following data as input:

I_BUKRS 3000

I_MWSKZ U1 --> Tax code U1 is having invoice tax as 6% and Tax Accrual as 60%

I_TXJCD PA0000000

I_WAERS USD

I_WRBTR 2.000,00

After giving above input and executing function module I am getting following out put in tables T_MWDAT

WMWST MSATZ KTO TXJCD KNUMH KBETR KAWRT HKONT KSCH TXJCD_DEEP T

116,51 6,000 NVV PA0000000 0000030146 60,00 1.941,75 JP1I PA0000000 1

58,26- 50,000- MW1 PA0000000 0000030147 500,00- 116,51 154001 JP1U PA0000000 1

So, My question is if my input amount is 2000 then why tax is calculated on 1941.75? and where from amount 1941.75 is coming? I did some debugging and found that internally this function module calls standard function module "PRICING". Once call return from "PRICING" the KAWRT is set to 1941.75.

As per the inputs following results are expected:

6% tax on 2000 = 120

out of 120 60% will be accrued = 72 will be accrued so amount of 48 is sent with gross amount

But as KAWRT is set to 1941.75 the expected result is not achived.

Please help as what's going wrong? or any settings missing? or Is it expected because of some other settings?

Thanks,

-Augustin.

10|10000 characters needed characters exceeded

Jun 22, 2010 at 02:24 PM

mmh..

strange you can recalculate the tax from gross (in german Brutto)

X = WRBTR * ( MW-SATZ / ( 100 + MWSATZ ) )

X = 2000 * 6 / 106

X = 113.2075472 ~ 113.21 and not 116,51

But what is Tax - accruals 60 % ????

A.