Symptom
Error F5246 "Special G/L transactions of type & are not supported" is being raised when trying to post a document via BAPI (i.e. BAPI_ACC_DOCUMENT_POST).
Environment
- SAP Release Independent
- ERP Financial Accounting
- General Ledger Accounting
- Posting/Clearing
- Accounting interface
Reproducing the Issue
- Enter a BAPI (i.e. BAPI_ACC_DOCUMENT_POST).
- Inform special G/L indicators class = 'W' (bill of exchange).
- Post the document.
- The system issues message F5246.
Cause
Bill of exchange postings are not supported by accounting interface, therefore a bill of exchange posting via BAPI_ACC_DOCUMENT_POST is not possible. The reason for error F5246 to be raised is that the interface posting with special G/L indicator W is not designed for a posting with this indicator for downpayment or bill of exchange.
Resolution
In this case the bill of exchange documents should be posted manually in financial accounting.
Another option to post bill of exchange documents in an automated process is to use batch-input.
Keywords
F5246, F5 246, BAPI, Special G/L, BAPI_ACC_DOCUMENT_POST, bill, exchange