Skip to Content
0

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

Apr 25 at 02:59 PM

47

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:

https://blogs.sap.com/2017/06/23/fi-posting-via-idoc-and-generate-additional-tax-line-in-accounting/

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

1

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

0

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

Thanks though.

0

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

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

1 Answer

Daniel Nguyen Apr 30 at 07:48 AM
0

UPDATE:

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: https://archive.sap.com/discussions/thread/1387102 but our functional confirmed it's OK):

  • FAGL_DELETE_DOCUMENT
  • RGURECGLFLEX

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.

Share
10 |10000 characters needed characters left characters exceeded