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

Posting Error in BAPI

Chaitanyat
Participant
0 Likes
522

Hi,

Am using the BAPI "BAPI_ACC_DOCUMENT_POST" to post the customer invoice. The doucment does get posted but the tax line item which gets created when doing the same posting through FB70 with the calculate tax indicator on is not getting created. The line item in FB70 gets created automatically. How can the same thing be achieved in a BAPI. Any indicator asuch for tax calculation ?

Regards,

Chaitanya.

1 ACCEPTED SOLUTION
Read only

Former Member
3 REPLIES 3
Read only

Former Member
Read only

0 Likes
478

Hi Amit,

Thankyou for you reply i have sorted out the problem for not getting the tax line. But now i end up with a new error.

When i pass the tax code deatails in ACCOUNTTAX parameter and the corresponding amounts in CURRENCYAMOUNT paramter the bapi returns the error

"Foreign currency translation not supported for tax calculation" .

Any idea ?

Regards,

Chaitanya

Read only

0 Likes
478

https://www.sdn.sap.com/irj/sdn/advancedsearch?query=foreigncurrencytranslationnotsupportedfortax+calculation&cat=sdn_all