Symptom
The system crashes when trying to either Post or Simulate Journal Entry for a supplier invoice containing a custom tax code.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to the Supplier Invoicing work center.
- Go to the Invoice Documents view.
- Find the respective supplier invoice and click Edit.
- Click Post.
- System crashes.
Remark: the system also crashes if you click Actions --> Simulate Journal Entry.
Cause
One of the possible causes is that an incorrect Due Category has been assigned to the respective custom tax event.
For example, for Supplier Invoices the system expects Due Category 2 - Receivable instead of 1 - Payable (which is expected for Customer Invoices).
Due to this incorrect Due Category assignment, in the system crash logs (that can be checked by SAP Support via backend system), the error log would show a doubling in the tax amount and therefore the overall invoice balance would not be consistent.
Resolution
The Due Category should be corrected for the respective custom tax event (changed to 2 - Receivable). This shall be done in respective custom/PDI solution in SAP Cloud Applications Studio (SDK).
Keywords
siv; tax code; due category; CL_FIA_ACCNOTIF_SF_INVACCNOTIF=>CHECK_ACC_DOC_CREATION; Invoice Accounting Notification: Balance of the invoice is bigger than permitted , KBA , AP-TTE-GLO , Cross-Country Extensions , How To