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

Close

How To Fix WS070 - No document numbers passed on (internal error)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS - Supplier Billing Document

  • Message number: 070

  • Message text: No document numbers passed on (internal error)

  • 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 WS070 - No document numbers passed on (internal error) ?

    The SAP error message WS070: No document numbers passed on (internal error) typically occurs during document processing in Financial Accounting (FI) or related modules when the system expects document numbers to be passed or generated but finds none.


    Cause

    • Missing or empty document number(s): The system expects one or more document numbers to be passed to a function module, BAPI, or program, but the document number field(s) are empty or not filled.
    • Internal inconsistency or programming error: This can happen if a custom program, user exit, or enhancement incorrectly handles document number assignment or passes empty values.
    • Data inconsistency or incomplete posting: Sometimes, the error arises if the document creation process is interrupted or incomplete, leading to missing document numbers.
    • Incorrect parameter passing in BAPI or function module calls: For example, when calling BAPI_ACC_DOCUMENT_POST or similar, if the document number is expected but not provided or returned, this error can occur.
    • System or database inconsistencies: Rarely, database inconsistencies or transport errors can cause this internal error.

    Solution

    1. Check the program or transaction flow:

      • Identify where the error occurs (e.g., during posting, BAPI call, batch input session).
      • Review the code or configuration to ensure document numbers are correctly generated and passed.
    2. Debug the process:

      • Use the ABAP debugger to trace the point where document numbers are expected.
      • Check the variables or structures holding document numbers to confirm they are not empty.
    3. Verify BAPI or function module parameters:

      • If using BAPIs like BAPI_ACC_DOCUMENT_POST, ensure all mandatory fields are filled.
      • Confirm that the document number is correctly returned and handled.
    4. Check for custom code or user exits:

      • Review any enhancements, user exits, or BADIs that might manipulate document numbers.
      • Correct any logic that might clear or fail to assign document numbers.
    5. Reprocess or repost the document:

      • If the error occurred during batch input or data migration, try to reprocess the document.
      • Ensure all required data is complete.
    6. SAP Notes and Support:

      • Search SAP Support Portal for notes related to WS070.
      • Apply any relevant SAP Notes or patches.

    Related Information

    • Message Class: WS (Financial Accounting)
    • Common Contexts: Document posting, BAPI calls, batch input sessions, data migration.
    • Typical Transactions: FB01, FB50, BAPI_ACC_DOCUMENT_POST, batch input sessions for FI postings.
    • SAP Notes: Check SAP OSS notes for WS070 for specific fixes or known issues.
    • Debugging Tips: Set breakpoints in function modules like BAPI_ACC_DOCUMENT_POST or related posting programs.

    If you provide the exact transaction or scenario where the error occurs, I can help with more targeted advice.

    • 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 simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant