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

Close

How To Fix VH794 - Pricing element &1 (&2) cannot be used


SAP Error Message - Details

  • Message type: E = Error

  • Message class: VH - SD pricing

  • Message number: 794

  • Message text: Pricing element &1 (&2) cannot be used

  • Show details Hide details
  • What causes this issue?

    There are no predefined settings for pricing element &V1& (&V2&) for
    pricing. You make this setting in the following activity:
    <DS:SIMG.W_CS_008>Identify Predefined Pricing Elements in Pricing</>.
    You therefore cannot use this pricing element for simplified price
    maintenance in sales documents.

    System Response

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

    How to fix this error?

    You must assign the pricing element either a condition type or one of
    the subtotal fields 1 to 6, A or B.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message VH794 - Pricing element &1 (&2) cannot be used ?

    Certainly! Here's detailed information about the SAP error message VH794:


    SAP Error Message: VH794

    Text: Pricing element &1 (&2) cannot be used


    Cause

    This error occurs when a pricing element (condition type or pricing element) that is not allowed or not valid in the current context is used in the pricing procedure or condition record. The system checks the validity of pricing elements based on configuration, master data, or business rules, and if a pricing element is restricted or incompatible, it triggers this error.

    Common causes include:

    • The pricing element is not assigned or allowed in the pricing procedure.
    • The pricing element is restricted by condition exclusion or condition type control.
    • The pricing element is not valid for the sales document type, customer, material, or other master data.
    • The pricing element is blocked or inactive in the system.
    • Customizing settings or user exits have restricted the use of this pricing element.

    Solution

    To resolve the VH794 error, follow these steps:

    1. Check Pricing Procedure Configuration:

      • Go to transaction V/08 (Maintain Pricing Procedures).
      • Verify if the pricing element (condition type) &1 is assigned to the pricing procedure used in the sales document.
      • Ensure the pricing element is active and correctly configured.
    2. Check Condition Type Settings:

      • Use transaction V/06 or V/07 to review the condition type &1.
      • Verify if the condition type is valid for the sales document type, sales area, or customer/material group.
      • Check if the condition type is blocked or restricted.
    3. Review Condition Exclusion and Access Sequences:

      • Check if there are any condition exclusion rules that prevent the use of this pricing element.
      • Verify the access sequence and condition records for the pricing element.
    4. Check Master Data Validity:

      • Ensure that the pricing element is valid for the customer, material, or sales document.
      • Check if any user exits or BAdIs are influencing pricing and restricting this element.
    5. Debug or Analyze User Exits / BAdIs:

      • If custom logic is implemented, check if any user exits (e.g., USEREXIT_PRICING_PREPARE_TKOMK or USEREXIT_PRICING_PREPARE_TKOMP) or BAdIs are restricting the pricing element.
    6. Consult SAP Notes:

      • Search for SAP Notes related to error VH794 for any known issues or patches.

    Related Information

    • Transaction Codes:

      • V/08 - Maintain Pricing Procedures
      • V/06 - Condition Types
      • V/07 - Condition Records
      • VA01 / VA02 - Sales Order Processing (where pricing is triggered)
    • Tables:

      • T683 - Pricing Procedures
      • T685 - Condition Types
      • KONV - Conditions in Sales Document
    • SAP Help / Documentation:

      • Pricing procedure configuration and condition type setup.
      • Condition exclusion and access sequence configuration.
    • Common Related Messages:

      • VH793 - Pricing element &1 (&2) is not allowed
      • VH795 - Pricing element &1 (&2) is inactive

    If you provide the exact values of &1 and &2 from the error message, I can help you with more specific guidance.


    Summary:
    The VH794 error indicates that a pricing element is being used in a context where it is not allowed. The solution involves checking pricing procedure assignments, condition type validity, master data, and any custom logic that might restrict the pricing element.


    If you need help with a specific scenario or configuration, feel free to 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
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