Skip to Content

FI/ABAP: Missing tax line in FAGLFLEXA while posting FI transaction with IDOC.

Apr 25 at 02:59 PM


avatar image

Probably a long shot but I'll give it a try here anyways

I got a specific problem, I was following this blog:

I've made the enhancements according to that blog and posting seems to be fine, in BSEG table I can see the tax line. But in FAGLFLEXA, the tax line is still missing, the method above didn't seem to account for the update of this table.

Anyone ever came across this problem? How would you solve it?

10 |10000 characters needed characters left characters exceeded

Have you tried note 626235 and IDOC ACC_GL_POSTING ?

Kind Regards


I'll have a look now and come back with updates. Thanks


This note doesn't respond directly to what I was asking (about posting via IDOC) but rather provides some alternative.

Thanks though.


One note to consider if you are working with BAPI is note 2083799, it has got examples for some scenarios.

* Please Login or Register to Answer, Follow or Comment.

1 Answer

Daniel Nguyen Apr 30 at 07:48 AM


Originally, we did it based on the blog above: In FM: FI_DOCUMENT_PROJECT In this form DOCUMENT_TAX_BSET. We did an enhancement: ENHANCEMENT-POINT DOCUMENT_TAX_BSET_03 SPOTS ES_SAPLFACI.

This enhancement eventually fill xbseg table with calculated tax and entries from xbset. The end result is we have the tax line added in BSEG but not in FAGFLEXA.

Anyways, manually we corrected by running 2 programs

(can be risky, referred by someone from SAP see: but our functional confirmed it's OK):


Eventually we solved this case by making another enhancement that uses a Z-version of AC_DOCUMENT_POST instead which posted correctly in both BSEG and FAGFLEXA.

10 |10000 characters needed characters left characters exceeded