Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Tax caluculation using 'CALCULATE_TAX_FROM_GROSSAMOUNT'

Former Member
0 Kudos

Hi All,

i need to calculate tax amount before posting using BAPI_ACC_DOCUMENT_POST,

for this i m using the FM: 'CALCULATE_TAX_FROM_GROSSAMOUNT' to calculate tax amounts,,

I have company code, tax code, jurisdirection code and the gross amount(incl taxes).

Please let me know what more fields to be passed to the FM : 'CALCULATE_TAX_FROM_GROSSAMOUNT'

Test for function group TAX1

Function module CALCULATE_TAX_FROM_GROSSAMOUNT

Uppercase/Lowercase

Import parameters Value

I_BUKRS E009

I_MWSKZ I0

I_TXJCD GB

I_WAERS USD

I_WRBTR 199.00

I_ZBD1P 0.000

Thanks in advance

Shiva

3 REPLIES 3

Former Member
0 Kudos

Hi Shiva,

You are sending the mandatory import parameters to the Function Module.

It seems to be OK.

I recomende you to do a "Where used list" CtrlShiftF3 on the FM name, to see how it's used in other programs.

Best Regards,

Artur Moreira

Former Member
0 Kudos

Issue solved...by research on own

0 Kudos

Can you please let me know how u passed the tax parameters