How To Fix WH050 - The physical inventory document has & figures with leading zeros


WH050 - Overview

  • Message type: E = Error

  • Message class: WH - Messages for store physical inventory (DRS)

  • Message number: 050

  • Message text: The physical inventory document has & figures with leading zeros

  • Show details Hide details
  • What causes this issue?

    In simulating the counting data entry, you can specify any values
    for the intermediate document number to test the input interface. If
    you want to display the document, then you need however to specify
    the inventory document number in the correct format, i.e.
    ten-character and with leading zeros, since otherwise the physical
    inventory document cannot be read.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WH050 - The physical inventory document has & figures with leading zeros ?
    SAP Error Message:
    WH050 - The physical inventory document has & figures with leading zeros
    
    
    Cause: This error occurs during physical inventory processing in SAP when the system detects that the physical inventory document contains quantity figures with leading zeros. Leading zeros in numeric fields can cause inconsistencies or errors in data processing because the system expects numeric values without unnecessary leading zeros. For example, a quantity like 000123 instead of 123 can trigger this error. Explanation: Physical inventory documents store quantities of stock counted during inventory. If the quantity fields contain leading zeros, SAP flags this as an error because it may indicate incorrect data entry or data corruption. This can happen due to manual entry errors, data migration issues, or interface problems where numeric fields are padded with zeros.
    Solution: Check the Physical Inventory Document: Review the physical inventory document in transaction MI04 (Enter Count) or MI07 (Post Differences). Look for quantity fields that have leading zeros. Correct the Quantity Values: Remove

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