How To Fix KM891 - Maximum number of document lines reached


SAP Error Message - Details

  • Message type: E = Error

  • Message class: KM - Error messages for Profit Center Accounting

  • Message number: 891

  • Message text: Maximum number of document lines reached

  • Show details Hide details
  • What causes this issue?

    You have reached the maximum number of &V1& document lines. No more
    lines can be entered. If you wish, you can change the document lines
    you have already entered.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    Post the document.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message KM891 - Maximum number of document lines reached ?
    The SAP error message KM891, which states "Maximum number of document lines reached," typically occurs when you are trying to create or modify a document (such as a purchase order, invoice, or other financial document) that exceeds the maximum number of line items allowed by the system configuration.
    
    Cause: Line Item Limit: Each document type in SAP has a predefined limit on the number of line items it can contain. This limit is set in the system configuration and can vary based on the document type. Configuration Settings: The maximum number of line items is determined by the system settings, which may have been set to a low value for performance reasons or due to specific business requirements.
    Solution: Check Document Type Limits: Verify the maximum number of line items allowed for the specific document type you are working with. This can usually be found in the configuration settings of the relevant module (e.g., MM,

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker