Skip to Content
0

Posting vendor invoices with automatic tax calculation using BAPI_ACC_DOCUMENT_POST

Jul 27, 2017 at 11:04 AM

291

avatar image
Former Member

We are trying to post vendor invoices using BAPI_ACC_DOCUMENT_POST and want to enable the automatic tax calculation, similar to calculate tax option available in FB60.

We are unable to do it.

We have tried the option of calculating taxes using CALCULATE_TAX_FROM_GROSSAMOUNT and CALCULATE_TAX_FROM_NET_AMOUNT and passing the values to ACCOUNTTAX and CURRENCYAMOUNT parameters.

Tax Conditions and % are maintained in FV13 and we want the calculation according to it. These FM calculate the tax according to the % maintain in Tax classification option correctly but for other options are returning 0 values.

Any pointers would be really helpful.

capture.png (9.8 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Dibyendu Patra Jul 30, 2017 at 12:26 PM
0

System will always take the value from table A003 for direct FI invoice posting. Please check the KBA 2483249 - GST IN: FB60/FB70 not working for MM/SD access sequence

Also raised SAP for the same and got the reply:


Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Aug 07, 2017 at 06:56 PM
0

Thanks for your response Divyendu.

We have dropped the option of BAPI and used BDC for FB60 instead. It has resolved the issue.

Share
10 |10000 characters needed characters left characters exceeded