How To Fix AJ138 - Control document &1 was deleted; invoicing document &2 was posted


SAP Error Message - Details

  • Message type: E = Error

  • Message class: AJ - Billing program

  • Message number: 138

  • Message text: Control document &1 was deleted; invoicing document &2 was posted

  • Show details Hide details
  • What causes this issue?

    Control document &v1& was deleted as a result of the release. Invoicing
    document &v2& was generated simulataneously. This document is
    associated with actual postings of contract accounting documents.

    System Response

    The control document is displayed in color on the outsorting list.

    How to fix this error?

    You are not required to perform any activities.

    Procedure for System Administrators

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


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message AJ138 - Control document &1 was deleted; invoicing document &2 was posted ?
    The SAP error message AJ138 indicates that a control document has been deleted while an invoicing document has already been posted. This situation typically arises in the context of SAP's logistics and financial modules, particularly when dealing with invoice verification and document control.
    
    Cause: Deletion of Control Document: The control document (which could be a purchase order, delivery, or another document type) was deleted after the invoicing document was created. This can happen due to user actions or system processes that remove documents that are no longer needed. Inconsistent Data: The deletion of the control document while the invoicing document is still active leads to inconsistencies in the database, as the invoicing document relies on the control document for validation and processing. System Configuration: There may be configuration settings in the SAP system that allow for the deletion of control documents without proper checks on related documents.
    Solution: Check Document Status: Verify the status of both

    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
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