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

Close

How To Fix WS_EA019 - Document & created with reference to &2 (accounting document not created)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS_EA - Settlement Management Messages (Add-On)

  • Message number: 019

  • Message text: Document & created with reference to &2 (accounting document not created)

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WS_EA019 - Document & created with reference to &2 (accounting document not created) ?

    The SAP error message:

    WS_EA019: Document & created with reference to &2 (accounting document not created)


    Meaning / Cause:

    This error occurs during the posting of a document in SAP when the system tries to create an accounting document with reference to another document (e.g., a goods receipt referencing a purchase order or invoice), but the accounting document cannot be created successfully.

    • The placeholders & and &2 represent the document number and the reference document number respectively.
    • The message indicates that although a document (e.g., material document) was created, the corresponding accounting document was not created.
    • This usually happens in logistics transactions such as Goods Receipt (GR), Invoice Receipt (IR), or other postings where FI (Financial Accounting) integration is involved.
    • The root cause is often related to errors in the FI posting logic, missing or incorrect configuration, or master data issues that prevent the accounting document from being generated.

    Common Causes:

    1. Missing or incorrect account determination

      • Automatic account determination for the transaction is not set up properly.
      • E.g., missing G/L accounts in OBYC (Automatic Account Determination).
    2. Incorrect or incomplete master data

      • Vendor, material, or cost center master data missing or incomplete.
      • Missing or invalid tax codes, payment terms, or company code data.
    3. Configuration issues

      • Missing or incorrect settings in the integration between MM and FI.
      • Incorrect posting keys or document types.
    4. Authorization issues

      • User does not have authorization to post accounting documents.
    5. Data inconsistencies or errors in the reference document

      • The reference document (e.g., purchase order) is incomplete or blocked.
    6. Technical issues

      • Batch jobs or background processes failing.
      • Locking or update problems in the database.

    How to Analyze:

    • Check the Material Document created (if any) and verify its status.
    • Look at the Application Log (transaction SLG1) for detailed error messages related to the posting.
    • Check the FI document creation attempt and any error messages in the system log (SM21).
    • Review the account determination settings in OBYC.
    • Verify master data for vendors, materials, cost centers, tax codes, etc.
    • Check user authorizations.
    • Review the configuration of the transaction in SPRO under Materials Management ? Inventory Management ? Goods Movement ? Account Determination.

    Solution / Resolution:

    1. Correct account determination

      • Ensure that the automatic account determination (OBYC) is properly configured for the transaction key and valuation class.
      • Assign correct G/L accounts for inventory posting, GR/IR clearing, price differences, etc.
    2. Fix master data issues

      • Update or correct vendor master, material master, cost centers, tax codes, and other relevant master data.
    3. Adjust configuration

      • Verify and correct posting keys, document types, and integration settings between MM and FI.
    4. Check and resolve authorization problems

      • Assign necessary authorizations to the user.
    5. Correct reference document issues

      • Ensure the purchase order or other reference documents are complete and not blocked.
    6. Repost the document

      • After fixing the root cause, repost the transaction or reverse and repost if necessary.
    7. Consult SAP Notes

      • Search for relevant SAP Notes for known bugs or patches related to this error.

    Related Information:

    • Transaction codes to check:
      • MB51 - Material Document List
      • FB03 - Display Accounting Document
      • OBYC - Automatic Account Determination
      • SLG1 - Application Log
      • SM21 - System Log
    • SAP Notes and KBAs related to WS_EA019 or accounting document creation errors.
    • Integration between MM and FI is critical; ensure all configuration steps are completed.
    • This error is common in MM-IM (Inventory Management) and MM-IV (Invoice Verification) processes.

    If you provide the exact transaction or scenario where this error occurs, I can help you with more specific troubleshooting steps.

    • 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