Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix NI021 - No documents earmarked for automatic document adjustment


SAP Error Message - Details

  • Message type: E = Error

  • Message class: NI - Document index processing

  • Message number: 021

  • Message text: No documents earmarked for automatic document adjustment

  • Show details Hide details
  • What causes this issue?

    A worklist (condition changes) exists. With regard to the specified
    selection criteria, however, there are no documents for any of the
    document categories chosen for which automatic document adjustment needs
    to be carried out.

    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?

    Please look into this matter. It is likely that there is no document
    data requiring processing.
    However, please note that certain preconditions must be fulfilled in
    dependence on the document category before the documents are updated in
    the document index table (information structure S111).
    For document category "Purchase order/Scheduling agreement", the
    indicator "Document index active" must be set for the goods supplier in
    the supplier master record.
    For document category "Retail pricing", the field "Document creation"
    must be suitably maintained in Customizing for the pricing type.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message NI021 - No documents earmarked for automatic document adjustment ?

    The SAP error message NI021 ("No documents earmarked for automatic document adjustment") typically occurs in the context of the automatic document adjustment process in SAP, particularly when dealing with financial documents or postings. This error indicates that there are no documents available that meet the criteria for automatic adjustment.

    Causes:

    1. No Relevant Documents: There may simply be no documents that require adjustment at the time the process is run.
    2. Selection Criteria: The selection criteria set for the automatic adjustment process may be too restrictive, leading to no documents being selected.
    3. Document Status: The documents that could potentially be adjusted may not be in the correct status (e.g., they may already be cleared or processed).
    4. Configuration Issues: There may be configuration settings in the system that prevent documents from being earmarked for adjustment.
    5. Timing: The documents may not yet be eligible for adjustment based on the timing of the postings.

    Solutions:

    1. Check Document Status: Review the status of the documents in question to ensure they are eligible for adjustment.
    2. Review Selection Criteria: Adjust the selection criteria used for the automatic adjustment process to ensure it is not too restrictive.
    3. Run the Process Again: If the documents were recently posted, try running the automatic adjustment process again after some time.
    4. Configuration Review: Consult with your SAP configuration team to ensure that the settings for automatic document adjustment are correctly configured.
    5. Manual Adjustment: If automatic adjustment is not possible, consider performing manual adjustments for the relevant documents.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as FBRA (Reset Document) or F-03 (Clear G/L Account) that may help in manual adjustments.
    • SAP Notes: Check for any SAP Notes related to this error message, as they may provide additional insights or patches.
    • Documentation: Review SAP documentation or help files related to automatic document adjustments for more detailed guidance on the process and requirements.

    If the issue persists after trying the above solutions, it may be beneficial to consult with your SAP support team or reach out to SAP support for further assistance.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


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