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

Close

How To Fix VH142 - Source and target unit of measurement are assigned to differnet materials


SAP Error Message - Details

  • Message type: E = Error

  • Message class: VH - SD pricing

  • Message number: 142

  • Message text: Source and target unit of measurement are assigned to differnet materials

  • 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 VH142 - Source and target unit of measurement are assigned to differnet materials ?

    SAP Error Message:
    VH142 - Source and target unit of measurement are assigned to different materials


    Cause:

    This error occurs when you try to perform a transaction (such as a goods movement, conversion, or transfer) involving two materials, but the source unit of measurement (UoM) assigned to the source material differs from the target unit of measurement assigned to the target material. Essentially, the system detects a mismatch in the units of measure between the materials involved in the process.

    For example, if you are trying to convert or transfer quantities between two materials and the source material is maintained with a base unit of "KG" while the target material is maintained with a base unit of "PC" (pieces), SAP will raise this error because it cannot reconcile the difference automatically.


    When does it typically occur?

    • During stock transfer or conversion between materials.
    • When using material-to-material conversion or substitution.
    • In production or inventory processes where materials with different UoMs are involved.
    • When creating or processing transfer postings or reservations involving different materials.

    Solution:

    1. Check Material Master Data:

      • Go to transaction MM03 (Display Material).
      • Verify the Base Unit of Measure for both the source and target materials.
      • Ensure that the units of measure are consistent or compatible for the intended transaction.
    2. Adjust Units of Measure:

      • If the business process requires conversion between different units, ensure that the conversion factors are properly maintained in the material master or in the unit of measure conversion tables.
      • If the materials are supposed to be the same or similar, consider aligning their base units of measure.
    3. Use Correct Materials:

      • Confirm that the correct materials are being used in the transaction.
      • Sometimes, the wrong material number might be entered, leading to unit of measure mismatches.
    4. Maintain Unit of Measure Conversions:

      • If conversion between units is necessary, maintain the conversion factors in transaction CUNI or in the material master under the Additional Data tab.
      • This allows SAP to convert quantities between different units.
    5. Review Business Process:

      • If the process inherently involves different materials with different units, consider whether the process should be handled differently (e.g., using a BOM, production order, or separate stock postings).

    Related Information:

    • Transaction Codes:

      • MM03 - Display Material Master
      • MM02 - Change Material Master (to adjust UoM if needed)
      • CUNI - Units of Measure (to maintain conversion factors)
      • MB1B / MIGO - Goods Movement (where the error might appear)
    • SAP Notes and Documentation:

      • Check SAP OSS notes related to unit of measure errors.
      • Review SAP Help Portal documentation on material master and units of measure.
    • Best Practices:

      • Always maintain consistent units of measure for materials that are interchangeable or involved in conversions.
      • Use base unit of measure carefully and maintain alternative units with proper conversion factors.
      • Validate material master data during master data creation or change to avoid such errors during transactions.

    Summary:

    Error VH142 arises because the source and target materials have different units of measure assigned, which SAP cannot reconcile automatically. The solution is to verify and align the units of measure in the material master or maintain proper conversion factors to enable the system to handle the difference correctly.

    • 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