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

Close

How To Fix WRF_APC667 - Calculate basic purchasing price


SAP Error Message - Details

  • Message type: E = Error

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

  • Message number: 667

  • Message text: Calculate basic purchasing price

  • 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_APC667 - Calculate basic purchasing price ?

    SAP Error Message:
    WRF_APC667 - Calculate basic purchasing price


    Cause:

    The error message WRF_APC667 typically occurs during the calculation of the basic purchasing price in the SAP Advanced Planning and Optimization (APO) or SAP ERP system. This message indicates that the system encountered an issue while trying to determine or calculate the basic purchasing price for a material or product.

    Common causes include:

    • Missing or incomplete purchasing price master data (e.g., info records, conditions).
    • Incorrect or incomplete configuration of pricing procedures.
    • Missing or incorrect vendor or purchasing info record data.
    • Inconsistencies in the material master data related to purchasing.
    • Issues in the integration between SAP ERP and APO (if applicable).
    • Custom enhancements or user exits affecting price calculation logic.

    Solution:

    To resolve the WRF_APC667 error, follow these steps:

    1. Check Purchasing Info Records:

      • Verify that the purchasing info record for the material and vendor exists and is correctly maintained.
      • Ensure that valid conditions (prices, discounts) are maintained in the info record.
    2. Verify Material Master Data:

      • Confirm that the material master has the correct purchasing data (e.g., purchasing group, purchasing value key).
      • Check if the material is flagged for procurement and has valid purchasing views.
    3. Review Pricing Procedure:

      • Check the pricing procedure assigned to the purchasing document or info record.
      • Ensure all necessary condition types are maintained and valid.
    4. Check Vendor Master Data:

      • Verify that the vendor master data is complete and valid.
      • Ensure the vendor is active and has valid purchasing data.
    5. Integration Checks (if APO involved):

      • Confirm that the integration between SAP ERP and APO is working correctly.
      • Check CIF (Core Interface) settings and data consistency.
    6. Debug or Analyze Custom Code:

      • If there are user exits, BADIs, or custom enhancements related to price calculation, review them for errors or missing logic.
    7. Recalculate or Re-trigger Price Determination:

      • Try to manually trigger the price calculation or update the purchasing info record to refresh the data.

    Related Information:

    • Transaction Codes:

      • ME11 / ME12 / ME13 – Maintain / Change / Display Purchasing Info Record
      • MEK1 / MEK2 / MEK3 – Maintain / Change / Display Conditions
      • MM02 – Change Material Master
      • XK02 – Change Vendor Master
      • /SAPAPO/SDP94 – Planning Book (if APO related)
    • SAP Notes:

      • Check SAP Service Marketplace for notes related to WRF_APC667 or purchasing price calculation issues.
    • Documentation:

      • SAP Help Portal documentation on Purchasing Info Records and Pricing Procedures.
      • APO integration guides if the error occurs in an APO environment.

    If the problem persists after these checks, consider enabling debugging or contacting SAP Support with detailed logs and system information for further assistance.

    • 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