Symptom
- During MIRO (Create Supplier Invoice – Advance) posting with a custom document type, the system raises error: "Balancing field &1 is not filled in line item &2"
- The same transaction posts successfully when the standard document type RE (vendor invoice) is used.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open MIRO (Create Supplier Invoice – Advance).
- Enter invoice data and choose a custom document type.
- Post the document and observe the error: "Balancing field profit center is not filled in line item 001".
- Repeat the posting using document type RE and observe that it posts successfully.
Cause
- The behavior is driven by Document Splitting, specifically by the Business Transaction assigned to the Document Type.
- A custom document type based on Business Transaction 0000 (Unspecified Posting) only splits intercompany clearing, leaving vendor and tax lines without a profit center.
- The standard document type RE uses Business Transaction 0300 (Vendor Invoice), which splits vendor, tax on purchasing/sales, and withholding tax lines, thereby deriving the profit center.
Resolution
- Verify the Business Transaction assigned to the affected document type in SSCUI 101522 - Define Document Types (Note that the Business Transaction on an existing document type cannot be changed and created document types cannot be deleted).
- Use or Create a different/new document type by copying from a vendor invoice document type (for example, RE) so it inherits Business Transaction 0300.
- Use the different document type with Business Transaction 0300 when posting MIRO.
- Test and confirm that Document Splitting fills the profit center and the posting completes without the error.
See Also
- Refer to: SAP Help Document Types Used in Document Splitting
- Refer to: SAP Help Unspecified Posting (Business Transaction 0000)
- Refer to: SAP Help Supplier Invoice (Business Transaction 0300)
- Refer to: Note 1085921 - Document split
Keywords
MIRO, supplier invoice, create supplier invoice advance, balancing field not filled, profit center missing, document splitting, business transaction 0300, business transaction 0000, document type RE, custom document type, vendor invoice, SSCUI 101522, line item 001, posting error, AP tax lines , KBA , FI-GL-FL-2CL , Flexible Structures (Public Cloud) , MM-IV-LIV-2CL , Logistics Invoice Verification (Public Cloud) , MM-IM-GF-ACT-2CL , Account Determination (Public Cloud) , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public