‎2010 Jul 13 6:32 AM
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
‎2010 Jul 13 2:18 PM
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