SAP Knowledge Base Article - Public

3776760 - Error "Maximum Number Of Items Reached In Entry View" When Posting Supplier Invoice With Many Lines

Symptom

  • An error occurs when trying to post a supplier invoice that contains hundreds of lines across multiple purchase orders.
  • Error message: "Maximum number of items reached in entry view."
  • Error code: F5727 (referenced in related documentation).

Environment

  • Product: SAP S/4HANA Cloud Public Edition
  • Fiori UI for Invoice Verification (Public Cloud)

Reproducing the Issue

  1. Create a supplier invoice.
  2. Select multiple purchase orders so that the invoice contains several hundred line items.
  3. Attempt to post the invoice and observe the error.

Cause

  • Each invoice line expands into multiple accounting lines (for example, expense, GR/IR clearing, tax, and possibly additional splits by organizational dimensions).
  • There is a strict architectural limit of 999 line items in the entry view of a single journal entry; this is by design and not configurable.
  • The combined expansion of the invoice’s line items exceeds the 999-line entry view limit, so posting is blocked.
  • Entry View Summarization does not summarize vendor, GR/IR, or tax lines, so it does not resolve large supplier invoice postings.

Resolution

  1. Post a small pilot subset first (for example, 20–30 invoice lines from one purchase order) using Create Supplier Invoice – Advanced and post it.
  2. Open Display Journal Entries and count the resulting accounting lines to determine the actual multiplier (accounting lines per invoice line).
  3. Calculate a safe batch size: use 950 as a ceiling buffer and divide by the multiplier from step 2.
  4. Split the large vendor invoice into multiple system invoice documents using Create Supplier Invoice – Advanced, ensuring each stays under the safe batch size.
  5. On each partial document, enter the original vendor invoice number in both the Reference and Assignment fields to keep the documents linked for audit and payment processing.
  6. Configure or run payment so that items are grouped by Reference, ensuring a single consolidated vendor payment rather than multiple payments.
  7. For future transactions, request the vendor to issue separate invoices per purchase order to reduce line counts and avoid the entry view limit.
  8. Do not attempt to bypass the limit via background jobs or APIs; the same 999-line entry view limit applies to all posting channels.
  9. Do not enable Entry View Summarization to solve this case; vendor, GR/IR, and tax lines are excluded from summarization and provide negligible benefit here.

See Also

refer to: Note 3774218 - Error F5727: maximum number of items in entry view reached

Keywords

maximum number of items reached, entry view, F5727, supplier invoice, post invoice error, journal entry limit, 999 line items, line item limit, invoice split, multiple purchase orders, gr/ir, tax lines, entry view summarization, s/4hana cloud, fiori invoice verification , KBA , MM-FIO-IV-2CL , Fiori UI for Invoice Verification (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions