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

Close

How To Fix VH140 - & is not a permitted name for a unit of measurement


SAP Error Message - Details

  • Message type: E = Error

  • Message class: VH - SD pricing

  • Message number: 140

  • Message text: & is not a permitted name for a unit of measurement

  • 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 VH140 - & is not a permitted name for a unit of measurement ?

    SAP Error Message:
    VH140 - & is not a permitted name for a unit of measurement


    Cause:

    This error occurs when you try to use an invalid or non-standard unit of measurement (UoM) in SAP. The system expects the unit of measurement to conform to predefined standards or entries in the unit of measurement table (T006). If the unit you enter contains invalid characters, is not defined in the system, or does not comply with the allowed format, SAP throws this error.

    The placeholder "&" in the message is replaced by the actual unit of measurement you tried to use.


    Explanation:

    • Units of measurement in SAP must be defined in the system (transaction CUNI or via IMG).
    • The unit must be a valid, recognized code (usually 2-3 characters, alphanumeric).
    • Special characters or spaces are not allowed.
    • The unit must exist in the unit of measurement table (T006).

    Solution:

    1. Check the Unit of Measurement:

      • Verify the unit you are trying to use.
      • Make sure it is spelled correctly and does not contain invalid characters.
    2. Define the Unit of Measurement (if missing):

      • Go to transaction CUNI (Units of Measurement).
      • Check if the unit exists.
      • If it does not exist, create a new unit with a valid name and description.
      • Save the new unit.
    3. Use Standard Units:

      • Prefer using standard units defined in SAP or those agreed upon in your business processes.
      • Avoid using custom or non-standard units unless necessary and properly defined.
    4. Check Integration Points:

      • If the unit is coming from an external system (e.g., EDI, IDoc, or interface), ensure the mapping is correct and the unit is valid in SAP.

    Related Information:

    • Transaction: CUNI (Units of Measurement)
    • Table: T006 (Units of Measurement)
    • IMG Path: Logistics ? General ? Units of Measurement ? Check Units of Measurement
    • Common scenarios: Material master data maintenance, goods movement, sales documents, purchasing documents, or interfaces where units are specified.

    Summary:

    The error VH140 indicates that the unit of measurement you entered is not valid or not defined in SAP. To fix it, verify and correct the unit or define it properly in the system using transaction CUNI.


    If you need further help, please provide the exact unit of measurement you tried to use and the transaction or process where the error occurred.

    • 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's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker