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

Close

How To Fix WRF_APC658 - Prices already exist for material &1 &2 &3


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WRF_APC - Messages for Operational Assortment Planning and Control

  • Message number: 658

  • Message text: Prices already exist for material &1 &2 &3

  • 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 WRF_APC658 - Prices already exist for material &1 &2 &3 ?

    Certainly! Here's a detailed explanation for the SAP error message:


    SAP Error Message:

    WRF_APC658: Prices already exist for material &1 &2 &3


    Meaning / Cause:

    This error occurs when you try to create or maintain prices for a material in the Product Costing or Pricing module, but the system detects that prices for the specified material, valuation area, and price type combination already exist in the system.

    • &1 = Material number
    • &2 = Valuation area (e.g., plant)
    • &3 = Price type (e.g., standard price, moving average price)

    The system prevents duplicate price entries for the same material and valuation area with the same price type to maintain data consistency.


    Common Scenarios:

    • Attempting to create a new price record for a material that already has a price maintained for the same valuation area and price type.
    • Uploading price data via LSMW or BAPIs where duplicate price entries are being inserted.
    • Manual entry in transaction CK11N, CK24, or similar costing transactions where the price record already exists.

    Solution / How to Resolve:

    1. Check Existing Prices:

      • Use transaction CK13N (Display Material Cost Estimate) or MM03 (Material Master) to verify if prices already exist for the material and valuation area.
      • Alternatively, check the price records in table MARC (for standard price - field STPRS) or CKMLPP (costing related tables).
    2. Update Instead of Create:

      • If prices exist and you want to change them, use the appropriate transaction to change or update the existing price rather than creating a new one.
      • For example, use CK24 to change standard prices or MR21 to change moving average prices.
    3. Delete Duplicate Entries (if applicable):

      • If duplicate or incorrect price records exist due to data inconsistencies, consult with your SAP Basis or development team to clean up the data.
      • Use appropriate SAP tools or direct table maintenance with caution.
    4. Check Upload Programs:

      • If the error occurs during data upload, ensure the upload program or BAPI checks for existing prices before attempting to create new ones.
      • Modify the logic to update existing prices instead of inserting duplicates.
    5. Consult SAP Notes:

      • Sometimes, specific SAP Notes address issues related to pricing and costing errors. Check the SAP Support Portal for notes related to message WRF_APC658.

    Related Information:

    • Transactions:

      • CK11N – Create Cost Estimate
      • CK13N – Display Cost Estimate
      • CK24 – Maintain Standard Price
      • MR21 – Change Material Price
      • MM03 – Display Material Master
    • Tables:

      • MARC – Plant Data for Material (standard price field: STPRS)
      • CKMLPP – Costing related price data
      • MVER – Material consumption data (for moving average price)
    • SAP Modules:

      • Product Costing (CO-PC)
      • Materials Management (MM)
      • Sales and Distribution (SD) if pricing is involved

    Summary:

    The error WRF_APC658 indicates that a price record for the material, valuation area, and price type already exists. To resolve it, verify existing prices and update them instead of creating duplicates. Ensure your processes or upload programs handle existing price data correctly.


    If you need help with a specific transaction or scenario, please provide more details!

    • 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