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

Close

How To Fix STGR166 - Materials Purch. prices differ in reference plants &1 and &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: STGR - Hold store grouping messages

  • Message number: 166

  • Message text: Materials Purch. prices differ in reference plants &1 and &2

  • Show details Hide details
  • What causes this issue?

    Some materials in reference plant &V1& do not have the same purchase
    price as in reference plant &V2&. Material purchase prices must be the
    same in both source and target plants.

    System Response

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

    How to fix this error?

    Select another target reference plant, or adjust purchase prices if you
    still want to move the selected plants to the target reference site.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message STGR166 - Materials Purch. prices differ in reference plants &1 and &2 ?

    The SAP error message STGR166 indicates that there is a discrepancy in the purchasing prices of materials between two reference plants. This typically occurs when you are trying to create or change a purchasing document (like a purchase order) and the system detects that the price for a material differs between the specified plants.

    Cause:

    1. Price Differences: The primary cause of this error is that the material has different purchasing prices in the two reference plants specified in the error message.
    2. Master Data Issues: There may be inconsistencies in the material master data, particularly in the purchasing view for the different plants.
    3. Price Conditions: Different price conditions or agreements may exist for the same material in different plants.
    4. Currency Differences: If the plants are in different currencies, this could also lead to apparent price differences when converted.

    Solution:

    1. Check Material Master Data:

      • Go to the material master record for the affected material in both plants (transaction code MM03).
      • Compare the purchasing data, especially the purchasing price and conditions.
    2. Review Purchasing Info Records:

      • Check the purchasing info records for the material in both plants (transaction code ME13).
      • Ensure that the prices are consistent across the reference plants.
    3. Adjust Prices:

      • If the price in one plant is incorrect, you may need to update it to match the other plant using transaction code ME11 (to create or change info records) or MM02 (to change material master data).
    4. Check Price Conditions:

      • Review the condition records in the pricing procedure to ensure that they are set up correctly for both plants (transaction code MEK1 for creating and MEK2 for changing).
    5. Consult with Procurement Team:

      • If there are valid reasons for the price differences (e.g., different suppliers, contracts), consult with the procurement team to understand the rationale and whether adjustments are needed.
    6. Currency Conversion:

      • If the plants are in different currencies, ensure that the prices are being compared correctly after conversion.

    Related Information:

    • Transaction Codes:

      • MM03: Display Material Master
      • ME13: Display Purchasing Info Record
      • ME11: Create Purchasing Info Record
      • MEK1: Create Condition Record
      • MEK2: Change Condition Record
    • SAP Notes: Check for any relevant SAP Notes that might address specific issues related to this error message.

    • Documentation: Review SAP documentation or help files related to material management and purchasing for further insights into handling price discrepancies.

    By following these steps, you should be able to identify the cause of the STGR166 error and implement the necessary corrections to resolve it.

    • 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