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

Close

How To Fix VF_PRC_API022 - Pricing type &1 is not supported (header ID &2)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: VF_PRC_API - Messages for Pricing API

  • Message number: 022

  • Message text: Pricing type &1 is not supported (header ID &2)

  • 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 VF_PRC_API022 - Pricing type &1 is not supported (header ID &2) ?

    The SAP error message:

    VF_PRC_API022 Pricing type &1 is not supported (header ID &2)

    Meaning / Cause:

    This error occurs during billing document processing (e.g., in transaction VF01, VF04, or during billing API calls) when the system encounters a pricing type in the billing header that is not supported or not recognized by the pricing procedure or the billing configuration.

    • Pricing type refers to the type of pricing applied in the billing document header.
    • The system expects certain pricing types to be configured and supported for the billing document type or the pricing procedure.
    • If an unsupported or incorrect pricing type is found, the system throws this error.
    • The header ID &2 typically refers to the billing document number or the header identifier where the error occurred.

    Common causes:

    • Incorrect or missing configuration of pricing types in the billing document type.
    • Custom or non-standard pricing types used but not maintained in the system.
    • Inconsistent or incomplete integration between SD pricing and billing.
    • Incorrect or missing assignment of pricing types in the billing document header.

    Solution / How to fix:

    1. Check the Pricing Type in the Billing Document Header:

      • Use transaction VF03 to display the billing document.
      • Check the pricing type in the header (field VBRK-PSTYV or related fields).
      • Identify the pricing type value causing the error.
    2. Verify Pricing Type Configuration:

      • Go to SPRO ? Sales and Distribution ? Billing ? Billing Documents ? Define Pricing Types.
      • Check if the pricing type found in the billing document header is maintained and active.
      • If missing, add the pricing type or correct the existing entries.
    3. Check Billing Document Type Configuration:

      • Ensure that the billing document type supports the pricing type.
      • Check the assignment of pricing types to billing document types.
    4. Check Pricing Procedure and Condition Types:

      • Verify that the pricing procedure assigned to the billing document supports the pricing type.
      • Check if any custom pricing types require additional configuration.
    5. If Custom Development or User Exits are Used:

      • Review any user exits or BAdIs that might be setting or modifying the pricing type.
      • Ensure they set valid and supported pricing types.
    6. Reprocess the Billing Document:

      • After correcting the configuration, try to recreate or reprocess the billing document.

    Additional Information:

    • SAP Notes: Search for SAP Notes related to VF_PRC_API022 for any patches or known issues.
    • Related Tables:
      • VBRK (Billing Document Header)
      • TVBVK (Billing Document Types)
      • TVBPA (Pricing Types)
    • Transactions:
      • VF01 - Create Billing Document
      • VF03 - Display Billing Document
      • SPRO - IMG for configuration

    Summary:

    Aspect Details
    Error VF_PRC_API022 Pricing type &1 not supported (header ID &2)
    Cause Unsupported or missing pricing type in billing header
    Solution Maintain/configure pricing type in SPRO; verify billing doc type and pricing procedure; correct any custom code
    Check Billing document header pricing type, configuration in SPRO, user exits

    If you provide the exact pricing type value and billing document type, I can help you with more specific configuration 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