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

Close

How To Fix WSTI_MM07I004 - Value &1 in count time field has incorrect format


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WSTI_MM07I - BAdI Implementation Messages MB_PHYSINV_INTERNAL

  • Message number: 004

  • Message text: Value &1 in count time field has incorrect format

  • Show details Hide details
  • What causes this issue?

    The value &V1&, which is specified in the <LS>Count Time</> field
    (ISEG-WSTI_COUNTTIME), does not have the correct format.

    System Response

    The system cannot post this inventory document item.

    How to fix this error?

    The value must be entered using the format HHMMSS (H = hour, M = minute,
    S = second). This is an internal error that you will not be able to
    correct yourself. Notify your system administrator.

    Procedure for System Administrators

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WSTI_MM07I004 - Value &1 in count time field has incorrect format ?

    The SAP error message:

    WSTI_MM07I004: Value &1 in count time field has incorrect format


    Cause:

    This error occurs when the value entered in the count time field (usually related to inventory counting or physical inventory processes) does not conform to the expected format. The count time field typically expects a time value in a specific format (e.g., HHMM or HH:MM), and if the input deviates from this format, SAP raises this error.

    Common causes include:

    • Entering time in an incorrect format (e.g., using a colon when not expected, or missing leading zeros).
    • Inputting non-numeric characters.
    • Using a time value outside the valid range (e.g., hours > 23 or minutes > 59).
    • Data upload or interface programs passing incorrectly formatted time values.

    Solution:

    1. Check the format of the count time value:

      • Ensure the time is entered in the correct format expected by the system.
      • For example, if the system expects HHMM (e.g., 0930 for 9:30 AM), do not enter 9:30 or 930.
      • If the system expects HH:MM, ensure the colon is present and the values are valid.
    2. Correct the input data:

      • Manually correct the time value in the transaction or data upload file.
      • If the error occurs during data upload or interface processing, verify and correct the source data format.
    3. Validate time ranges:

      • Make sure hours are between 00 and 23.
      • Minutes are between 00 and 59.
    4. Use SAP standard time input fields:

      • When entering data manually, use the standard SAP time input fields which usually enforce correct format.
    5. If the error occurs in a custom program or interface:

      • Review the code or mapping logic to ensure time values are formatted correctly before passing to SAP.

    Related Information:

    • This message is related to physical inventory and inventory counting transactions, such as those in MI01, MI04, MI07, or related batch input sessions.
    • The count time field is often used to record the time when the physical inventory count was performed.
    • SAP expects time fields in a consistent format to avoid ambiguity and ensure proper processing.
    • Refer to SAP Note or documentation related to physical inventory time fields if the problem persists.
    • Check transaction SE91 for message class WSTI_MM07 to see the exact message text and parameters.

    Summary:

    Aspect Details
    Error WSTI_MM07I004: Value &1 in count time field has incorrect format
    Cause Time value entered in wrong format or invalid characters/range
    Solution Enter time in correct format (e.g., HHMM), validate ranges, correct source data
    Related to Physical inventory count time fields, transactions MI01, MI04, MI07

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

    • 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