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

Close

How To Fix VF_PRC_API024 - Pricing error: Mandatory condition &1 is missing


SAP Error Message - Details

  • Message type: E = Error

  • Message class: VF_PRC_API - Messages for Pricing API

  • Message number: 024

  • Message text: Pricing error: Mandatory condition &1 is missing

  • Show details Hide details
  • What causes this issue?

    The mandatory condition &V1& does not exist.
    The cause can be, for example, that a condition record does not exist
    for condition &V1& or that a field overflow has occurred when the
    condition amount was calculated.

    System Response

    The document is therefore considered to be incomplete from the point of
    view of pricing.

    How to fix this error?

    Verify if the required condition record exists by using the condition
    record maintenance. If necessary, maintain the condition record or add
    the missing condition manually to the document.

    Procedure for System Administrators

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


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message VF_PRC_API024 - Pricing error: Mandatory condition &1 is missing ?

    The SAP error message:

    VF_PRC_API024 Pricing error: Mandatory condition &1 is missing

    typically occurs during billing document creation or pricing determination in SD (Sales and Distribution) module.


    Cause

    • The pricing procedure assigned to the sales document or billing document requires a mandatory condition type (represented by &1 in the message) that is missing.
    • This means that the system expects a particular condition type (e.g., PR00 for price, or a discount/surcharge condition) to be present in the pricing determination, but it is not found.
    • Possible reasons:
      • The condition record for the mandatory condition type is missing or not maintained.
      • The condition type is not included or activated in the pricing procedure.
      • The condition exclusion or access sequence does not find a valid condition record.
      • The pricing procedure assigned to the document requires a condition that is not applicable or not maintained for the current transaction.
      • Customizing error in pricing procedure configuration.

    Solution

    1. Identify the missing condition type:

      • The message will show the condition type code in place of &1.
      • For example, if the message is "Mandatory condition PR00 is missing," PR00 is the missing condition.
    2. Check the pricing procedure:

      • Go to transaction V/08 (Maintain Pricing Procedures).
      • Verify that the mandatory condition type is included in the pricing procedure assigned to the sales document type or billing type.
      • Check if the condition type is marked as mandatory in the pricing procedure.
    3. Check condition records:

      • Use transaction VK11 or VK13 to check if condition records exist for the missing condition type for the relevant combination (e.g., customer/material/pricing date).
      • If missing, create or maintain the necessary condition records.
    4. Check access sequence:

      • Verify the access sequence assigned to the condition type in V/07.
      • Ensure that the access sequence can find valid condition records for the transaction.
    5. Check pricing procedure determination:

      • Use transaction V/08 or V/07 to verify the pricing procedure determination for the sales document type, sales area, and customer pricing procedure.
      • Make sure the correct pricing procedure is assigned.
    6. Check for user exits or custom code:

      • Sometimes custom code or user exits (e.g., in pricing routines) may remove or skip mandatory conditions.
      • Review any custom enhancements that might affect pricing.
    7. Recreate the billing document or sales order:

      • After corrections, try to recreate the billing document or sales order to see if the error is resolved.

    Related Information

    • Transaction codes:

      • VF01 - Create Billing Document
      • VA01 - Create Sales Order
      • V/08 - Maintain Pricing Procedures
      • VK11 - Create Condition Records
      • VK13 - Display Condition Records
      • V/07 - Maintain Condition Types
    • SAP Notes:

      • Check SAP Notes related to pricing errors or missing mandatory conditions.
      • Example: SAP Note 123456 (hypothetical) might address similar issues.
    • SAP Help Portal:

      • Refer to SAP SD Pricing documentation for detailed explanation of pricing procedures and condition types.

    Summary

    Aspect Details
    Error VF_PRC_API024 Pricing error: Mandatory condition &1 is missing
    Cause Mandatory condition type required by pricing procedure is missing in pricing determination
    Solution Verify pricing procedure, maintain condition records, check access sequences, correct pricing procedure assignment
    Transactions VF01, VA01, V/08, VK11, VK13, V/07

    If you provide the exact condition type code (&1) from the error message, I can help you with more specific steps.

    • 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
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author