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

Close

How To Fix WG036 - Empty document item table transferred


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WG - Messages for store order and investment buy

  • Message number: 036

  • Message text: Empty document item table transferred

  • 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 WG036 - Empty document item table transferred ?

    SAP Error Message:
    WG036 - Empty document item table transferred


    Cause:

    This error occurs when a function module or program in SAP expects a document with item data (line items), but the item table passed to it is empty. In other words, the header data might be present, but no corresponding item data has been transferred or filled in the internal tables during the document creation or processing.

    Common scenarios include:

    • Posting or creating a document (e.g., delivery, billing, goods movement) where the item data is missing.
    • Calling BAPIs or function modules that require item data, but the item table parameter is empty.
    • Data transfer or interface programs that do not populate the item table correctly.

    Solution:

    1. Check the Data Population Logic:

      • Ensure that the program or interface filling the document data correctly populates the item table.
      • Verify that the item data is not accidentally filtered out or lost before the function call.
    2. Debug the Program:

      • Use the debugger to check the contents of the item table just before the function module or BAPI call.
      • Confirm that the item table is not empty and contains all required fields.
    3. Review the Interface or Input Data:

      • If the document is created via an interface (e.g., IDoc, BAPI), check the source data to ensure item details are included.
      • Validate the mapping and data extraction logic.
    4. Check Mandatory Fields:

      • Sometimes, missing mandatory fields in item data can cause the system to ignore or drop items.
      • Make sure all required fields for items are filled.
    5. SAP Notes and Documentation:

      • Search for SAP Notes related to the specific function module or BAPI you are using.
      • Sometimes, patches or corrections are available for known issues.

    Related Information:

    • Typical Function Modules/BAPIs Involved:

      • BAPI_GOODSMVT_CREATE
      • BAPI_OUTB_DELIVERY_CREATE_SLS
      • BAPI_BILLINGDOC_CREATEMULTIPLE
      • Any custom function module that processes document header and item data.
    • Error Context:

      • This message is a safeguard to prevent posting incomplete documents.
      • It ensures that documents have at least one item line, which is essential for business transactions.
    • SAP Forums and Notes:

      • Check SAP Community forums for similar issues.
      • Use transaction SE91 to look up message WG036 for more details.
      • Use transaction SE37 to check the function module documentation.

    Summary:

    WG036 - Empty document item table transferred means the system expected item data for a document but received none. The fix involves ensuring that the item table is properly filled before the document processing call. Debugging and verifying the data flow from the source to the function call is key to resolving this error.

    • 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