I created a program that uses the bapi u201CBAPI_ACC_DOCUMENT_POSTu201D in order to post FI documents that in another way are posted through transaction FB60.
The problem is that if the tax code is non-deductible the fields u201CBSEG- TXBHWu201D and u201CBSEG- TXBFWu201D are not updated, although these fields are updated through FB60.
How can I update these fields?
Thanks in advance!
Did you try using standard program RFBIBL00 for posting. I am not sure whether you can achieve via BAPI. You can also try using a BDC for FB60. I know this is not an answer to your query, but as a last resort you can try this. Let us know if you find something.