Solution : https://service.sap.com/sap/support/notes/1372327 (SAP Service marketplace login required)
Summary :
SAP Note identifies an issue with BAPI_ACC_DOCUMENT_POST where document number gaps occur despite no creation of accounting documents, when using AWTYP = 'BKPFF'. Anomalies arise primarily when currency amounts are misplaced within CURRENCYAMOUNT fields, or when inadvertent settings prompt the system to post to FI-CA instead of the General Ledger. These errors prevent effective document updating, leading to unoccupied document numbers. The prescribed solution involves implementing corrections for accurate data handling and leveraging the FI interface for document integrity, simplifying processes as outlined in previous notes, and ensuring accurate document number generation.
Key words :
locally installed fi-ca, classic general ledger accounting, terms acc_document03 reason, tax base amount, accountgl-stat_con = 'x', field currencyamount-amt_base, optional field contractheader, fi interface returns, typical error situation, field currencyamount-amt_doccur
Related Notes :
561175 | BAPI posting in accounting with FI as reference |