How To Fix NI027 - Follow-on documents exist relating to purchasing document &, item &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: NI - Document index processing

  • Message number: 027

  • Message text: Follow-on documents exist relating to purchasing document &, item &

  • Show details Hide details
  • What causes this issue?

    There is a purchase order history for purchasing document &V1&, item
    &V2&. That is to say, follow-on documents (goods receipt, invoice
    receipt) exist.

    System Response

    The system will not allow automatic document adjustment if follow-on
    documents already exist. Item &V2& of documennt &V1& has been removed
    from the processing.

    How to fix this error?

    If a change has nevertheless been made to a condition affecting item
    &V2& of purchasing document &V1&, the item must be processed manually.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message NI027 - Follow-on documents exist relating to purchasing document &, item & ?

    The SAP error message NI027 indicates that there are follow-on documents related to a purchasing document and item that you are trying to process. This typically occurs when you attempt to delete or change a purchasing document (like a purchase order) that has subsequent documents linked to it, such as goods receipts, invoices, or other follow-on transactions.

    Cause:

    The error arises because SAP enforces data integrity and prevents the deletion or modification of purchasing documents that have been referenced by other documents. This is to ensure that all related transactions remain consistent and valid.

    Solution:

    To resolve the NI027 error, you can take the following steps:

    1. Identify Follow-On Documents:

      • Use transaction codes like ME23N (Display Purchase Order) to view the purchasing document and check for any follow-on documents.
      • You can also use transaction ME2N or ME2L to list purchase orders and their related documents.
    2. Review Related Documents:

      • Check for any goods receipts (MIGO), invoices (MIRO), or other documents that reference the purchasing document in question.
      • If there are follow-on documents, you will need to address them before you can modify or delete the original purchasing document.
    3. Cancel or Reverse Follow-On Documents:

      • If appropriate, you may need to cancel or reverse the follow-on documents. For example, if there is a goods receipt, you can reverse it using MIGO.
      • If there are invoices, you may need to reverse them using MIRO.
    4. Consult with Stakeholders:

      • If you are unsure about the implications of deleting or modifying the purchasing document, consult with your procurement or finance team to ensure that you are not disrupting any critical processes.
    5. Use Transaction Codes:

      • Use transaction codes like ME22N (Change Purchase Order) or ME23N (Display Purchase Order) to make necessary changes after ensuring that there are no follow-on documents.

    Related Information:

    • Transaction Codes:

      • ME23N: Display Purchase Order
      • ME22N: Change Purchase Order
      • MIGO: Goods Movement
      • MIRO: Invoice Verification
      • ME2N: Purchase Orders by PO Number
      • ME2L: Purchase Orders by Vendor
    • SAP Notes: Check SAP Notes for any specific updates or patches related to this error message, as there may be additional context or solutions provided by SAP.

    • Documentation: Refer to SAP Help documentation for more details on purchasing processes and handling follow-on documents.

    By following these steps, you should be able to resolve the NI027 error and proceed with your purchasing document as needed.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author