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

Close

How To Fix WG118 - Header condition &: & found for & &. Please add document manually


SAP Error Message - Details

  • Message type: E = Error

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

  • Message number: 118

  • Message text: Header condition &: & found for & &. Please add document manually

  • 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 WG118 - Header condition &: & found for & &. Please add document manually ?

    The SAP error message:

    WG118 Header condition &: & found for & &. Please add document manually

    typically occurs in the context of SAP Warehouse Management (WM) or Inventory Management (IM) processes, especially when dealing with transfer postings, goods movements, or warehouse tasks that involve header conditions.


    Meaning / Cause

    • The message indicates that a header condition (a condition record or a control indicator at the document header level) has been found for a particular document or process step.
    • However, the system expects that the document should be created or processed manually because the automatic creation or processing is not possible due to the presence of this header condition.
    • This usually happens when the system detects a condition that requires manual intervention, for example:
      • A special stock or movement type that cannot be handled automatically.
      • A missing or inconsistent configuration in condition records or movement types.
      • A header condition that triggers a manual process requirement.
    • The placeholders & in the message are replaced at runtime with specific values such as condition type, document number, movement type, or warehouse number.

    Common Scenarios

    • When posting goods movements with special stock indicators.
    • When warehouse tasks or transfer orders have header conditions that require manual confirmation.
    • When automatic document creation is blocked due to missing or conflicting condition records.
    • When the system detects that the document cannot be processed automatically due to business rules or configuration.

    Solution / How to Fix

    1. Check the Condition Records:

      • Review the condition records related to the document type, movement type, or warehouse number.
      • Use transaction codes like MEK1/MEK2 (for purchasing conditions) or OVK1/OVK2 (for pricing conditions) depending on the module.
      • Ensure that the header conditions are correctly maintained and do not conflict with automatic processing.
    2. Review Movement Types and Special Stocks:

      • Verify if the movement type used requires manual processing.
      • Check if special stock indicators (e.g., consignment, project stock) are involved that require manual document creation.
    3. Check Warehouse Management Configuration:

      • Review WM customizing for warehouse tasks and transfer orders.
      • Check if any header conditions or control indicators are set that force manual document creation.
    4. Manual Document Creation:

      • If the system requires manual intervention, create the document manually as suggested.
      • Follow the business process to manually create the goods movement or warehouse document.
    5. Debugging / Logs:

      • Use transaction ST22 to check for dumps if any.
      • Use SM13 to check update errors.
      • Use SLG1 to check application logs related to warehouse or inventory management.
    6. Consult SAP Notes:

      • Search SAP Support Portal for notes related to message WG118.
      • Sometimes SAP provides patches or detailed explanations for such messages.

    Related Information

    • Message Class: WG (Warehouse Management)
    • Transaction Codes: LT01, LT10, MIGO, MB1B, VL01N (depending on process)
    • Modules: WM (Warehouse Management), MM (Materials Management), IM (Inventory Management)
    • SAP Notes: Check for notes related to WG118 for specific SAP versions.

    Summary

    Aspect Details
    Cause Header condition found that requires manual document creation due to configuration or business rules.
    Effect Automatic processing is blocked; manual document creation is needed.
    Solution Review and correct condition records, movement types, and WM configuration; create document manually if required.
    Related Tcodes LT01, MIGO, MEK1/MEK2, OVK1/OVK2
    SAP Notes Search SAP OSS for WG118 related notes.

    If you provide the exact values replacing the placeholders &, I can help you interpret the message more precisely.

    • 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