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

Close

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


SAP Error Message - Details

  • Message type: E = Error

  • Message class: VF_PRC_CORE -

  • 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_CORE024 - Pricing error: Mandatory condition &1 is missing ?

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


    SAP Error Message:

    VF_PRC_CORE024 Pricing error: Mandatory condition &1 is missing


    Cause:

    This error occurs during the billing document pricing procedure when a mandatory condition type (represented by &1) is not found or not maintained in the pricing procedure for the billing document. In SAP SD (Sales and Distribution), pricing procedures define which condition types (like discounts, surcharges, taxes, etc.) must be included for correct pricing calculation.

    If a mandatory condition type is missing, the system cannot complete the pricing calculation, hence the error.


    Common Reasons:

    • The pricing procedure assigned to the billing document requires a condition type that is not maintained in the document.
    • The condition record for the mandatory condition type is missing or not valid.
    • The condition type is not correctly configured as mandatory in the pricing procedure.
    • The condition type is excluded or deleted in the billing document.
    • Customization or user exit logic removes or fails to add the mandatory condition.

    Solution:

    1. Identify the missing condition type:
      The error message will show the condition type code in place of &1. For example, if the message is "Mandatory condition PR00 is missing," then PR00 is the missing condition.

    2. Check the pricing procedure:

      • Go to transaction V/08 (Define Pricing Procedures).
      • Find the pricing procedure assigned to the billing document type.
      • Verify that the condition type &1 is included and marked as mandatory.
    3. Check condition records:

      • Use transaction VK11/VK12 to check if condition records exist for the missing condition type for the relevant sales area, customer, material, or other key fields.
      • Ensure the condition record is valid for the billing date.
    4. Check billing document pricing:

      • In the billing document, check if the condition type is present in the pricing analysis (VF03 -> Pricing).
      • If missing, investigate why it is not determined.
    5. Check user exits or enhancements:

      • Review any custom code (user exits, BADIs) that might be modifying pricing conditions during billing.
      • Ensure no logic is removing mandatory conditions.
    6. Recreate or maintain missing condition records:

      • If condition records are missing, create or update them as needed.
    7. Adjust pricing procedure if necessary:

      • If the condition type is not applicable, consider removing it from the pricing procedure or making it non-mandatory (not recommended unless business-approved).

    Related Information:

    • Transaction codes:

      • V/08 - Define Pricing Procedures
      • VK11/VK12 - Create/Change Condition Records
      • VF01/VF02/VF03 - Create/Change/Display Billing Document
      • VA01/VA02/VA03 - Sales Order Processing (to check pricing upstream)
    • SAP Notes and Documentation:

      • Check SAP OSS Notes related to pricing errors.
      • Refer to SAP SD Pricing configuration guides.
    • Pricing Procedure Concepts:

      • Mandatory condition types are those that must be present for pricing to be valid.
      • Condition types can be mandatory or optional depending on business requirements.

    Summary:

    The error "VF_PRC_CORE024 Pricing error: Mandatory condition &1 is missing" means a required pricing condition is not found during billing. To fix it, identify the missing condition type, ensure it is included and maintained in the pricing procedure, verify condition records exist and are valid, and check for any custom logic affecting pricing.


    If you provide the exact condition type code (&1), 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
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