How To Fix M3158 - The valuation price of the material is zero


SAP Error Message - Details

  • Message type: E = Error

  • Message class: M3 - Material Master

  • Message number: 158

  • Message text: The valuation price of the material is zero

  • Show details Hide details
  • What causes this issue?

    You have changed the <DS:GLOS.price_control>price control</> from
    <ZH>V</> (moving average price/periodic unit price) to <ZH>S</>
    (standard price); that is, you want the standard price to be used as
    the valuation price in future. However, the moving average
    price/periodic unit price is zero.

    System Response

    This depends on how your system is configured:
    If your system is configured such that a standard price of zero is
    allowed, the system copies the moving average price/periodic unit price
    to the standard price.
    If your system is configured such that a standard price of zero is not
    allowed, the system returns the price control to the moving average
    price/periodic unit price.

    How to fix this error?

    If you want to allow a standard price of zero, contact your system
    administrator.
    Information for system administrators
    You can allow/disallow a standard price of zero in Customizing for the
    <LS>Material Master</> by changing the attribute of message M3 132
    accordingly.
    <DS:SIMG.SIMG_CFMENUOLMSOMT4>Proceed</>

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message M3158 - The valuation price of the material is zero ?

    The SAP error message M3158, which states "The valuation price of the material is zero," typically occurs in the context of inventory management and material valuation. This error indicates that the system is unable to determine a valid valuation price for a material, which is necessary for various transactions, such as goods movements, inventory valuation, and financial postings.

    Causes of Error M3158

    1. Material Master Data Issues: The material in question may not have a valuation price set in the material master record. This can happen if the material is newly created and not yet configured properly.

    2. Valuation Class Configuration: The valuation class assigned to the material may not be linked to a valid price control indicator (e.g., moving average price or standard price) in the configuration.

    3. Price Control Settings: If the price control is set to "S" (standard price) and the standard price has not been defined, or if it is set to "V" (moving average price) and there are no purchase orders or goods receipts to establish a price, this error can occur.

    4. Inactive or Incorrect Valuation Area: The valuation area (plant) may not be active or properly configured, leading to issues in price determination.

    5. Material Type Restrictions: Certain material types may have restrictions or specific configurations that prevent a valuation price from being set.

    Solutions to Error M3158

    1. Check Material Master Data:

      • Go to the material master record (transaction code MM03) and verify that the valuation price is set correctly in the Accounting view.
      • Ensure that the material is assigned to the correct valuation class.
    2. Review Valuation Class Configuration:

      • Check the configuration of the valuation class in the Customizing settings (transaction code SPRO) to ensure it is linked to a valid price control.
    3. Set a Valuation Price:

      • If the material is new, you may need to set a standard price or ensure that there are purchase orders or goods receipts that can establish a moving average price.
    4. Check Valuation Area:

      • Ensure that the valuation area (plant) is active and properly configured in the system.
    5. Material Type Configuration:

      • Review the configuration for the material type to ensure that it allows for valuation and that all necessary settings are in place.
    6. Perform a Price Update:

      • If applicable, perform a price update using transaction code MR21 (Change Price) to set or update the valuation price for the material.

    Related Information

    • Transaction Codes:

      • MM03: Display Material Master
      • MM02: Change Material Master
      • MR21: Change Price
      • SPRO: Customizing Implementation Guide
    • Documentation: Refer to SAP Help documentation for detailed information on material valuation and configuration settings.

    • Support: If the issue persists after checking the above points, consider reaching out to your SAP support team or consulting with an SAP expert for further assistance.

    By addressing the underlying causes and following the suggested solutions, you should be able to resolve the M3158 error and ensure that the material has a valid valuation price.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


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