Skip to Content
Dec 09, 2019 at 06:45 AM

BAPI BAPI_ACC_DOCUMENT_POST is ignoring FSG from GL master


Dear SAP Community,

We have noticed that standard BAPI BAPI_ACC_DOCUMENT_POST is doing majority of validations that transaction FB01 (or FB50) does, for example: checking validation rules in GGB0 or checking GL master data parameters like 'post automatically only', but this BAPI is not checkig GL account Field Status Group Suppressed fields.

In our case BAPI allows to post Cost center to GL Balance sheet accounts where Cost Center is suppressed. It is not possible to post such postings via FB01 (or FB50) - you get an error message; however with BAPI it is. and thus SAP allows to creates inconsistencies to Finance solution.

I'm aware that SAP communicate this as a Standar behavior as per KBA 1994316. But for us, this BAPI is unusable if we would not fix this, as it will create inconsistencies in accounting module.

I'm hopping someone else have already faced the issue and could propose any resolution to it. Is there a way to validate FSG in BAPI BAPI_ACC_DOCUMENT_POST?

Kind regards,