Application Development and Automation 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: 
Read only

bapi upload -- tax calculation

Former Member
0 Likes
586

Hi all,

In bapi UPLOAD for 'BAPI_ACC_DOCUMENT_POST', I had a requirement where I need to calculate the tax and upload the tax value.

for calculating the tax, iam using zcalculate_tax_from_net_amount. And iam picking the calculated tax value.

I have assigned the calculated tax value to the bapi structure 'bapiaccr09-AMT_BASE' . Is this the exact field for which we need

to assign the calculated value?

Please help me to resolve the issue.

thanks

regards

Murali Krishna T

1 REPLY 1
Read only

Former Member
0 Likes
374

Hi Murali,

As per my understanding, the field 'bapiaccr09-AMT_BASE' will be used to assign the base amount so that we can add the tax rate / tax code in the BAPI structure - BAPIACTX09. Based on this tax rate / tax code, tax will be calculated on the base amount.

My question, if you have the tax rate and tax code, then the system itself calculate the tax amount automatically. Is there any specific reason to calculate it manually ?

Regards,

Selva K