Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
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
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.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Select another target reference plant, or adjust purchase prices if you
still want to move the selected plants to the target reference site.
Error message extract from SAP system. Copyright SAP SE.
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:
- 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.
- Master Data Issues: There may be inconsistencies in the material master data, particularly in the purchasing view for the different plants.
- Price Conditions: Different price conditions or agreements may exist for the same material in different plants.
- Currency Differences: If the plants are in different currencies, this could also lead to apparent price differences when converted.
Solution:
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.
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.
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) orMM02
(to change material master data).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 andMEK2
for changing).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.
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 MasterME13
: Display Purchasing Info RecordME11
: Create Purchasing Info RecordMEK1
: Create Condition RecordMEK2
: Change Condition RecordSAP 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.
Get instant SAP help. Sign up for our Free Essentials Plan.
STGR165
Suppliers are not available for reference plants &1 and &2
What causes this issue? Some Active vendors from reference plant &V1& were not found in reference plant &V2&. Active vendors from you...
STGR164
Materials are not available in reference plants &1 and &2
What causes this issue? Some materials in reference plant &V1& are not available in reference plant &V2&. All materials from your sou...
STGR167
User checks prevent move of plant from reference plant &1 to &2
What causes this issue? A custom check rule prevents reassignment fron the reference plant &V1& to the target reference plant &V2&.S...
STGR168
Purch. price rules prevent move of plant from reference plant &1 to &2
What causes this issue? Purchase price rules prevent reassignment to the target reference plant that you selected.System Response The system issues ...
Click on this link to search all SAP messages.