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

Close

How To Fix VF_PRC_API005 - Document currency &1 on item differs from document currency &2.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: VF_PRC_API - Messages for Pricing API

  • Message number: 005

  • Message text: Document currency &1 on item differs from document currency &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_API005 - Document currency &1 on item differs from document currency &2. ?

    The SAP error message:

    VF_PRC_API005: Document currency &1 on item differs from document currency &2


    Cause:

    This error occurs during billing document processing (e.g., in transaction VF01, VF04, or when using billing APIs) when the currency assigned to an individual billing document item does not match the currency assigned to the overall billing document header.

    In SAP SD billing documents, the document currency at the header level must be consistent with the currency assigned to each item. If there is a mismatch, the system throws this error to prevent inconsistent currency postings.

    Typical scenarios causing this error:

    • The sales order or delivery items have a different currency than the billing document header.
    • Manual changes or custom code that incorrectly sets item currency.
    • Inconsistent currency determination in the pricing procedure or during data transfer from preceding documents.
    • Currency conversion or exchange rate issues during billing.

    Solution:

    1. Check Currency Consistency:

      • Verify the currency at the billing document header (VBRK-WAERK).
      • Verify the currency at the billing document item level (VBRP-WAERK).
      • Both should be the same.
    2. Check Preceding Documents:

      • Check the sales order (VA03) and delivery (VL03N) currencies.
      • Ensure that the sales order and delivery items have the same currency as the billing document header.
    3. Review Pricing and Copying Control:

      • Check the pricing procedure and currency determination.
      • Review the copying control settings (transaction VTFL for delivery to billing, VTFA for order to billing) to ensure currency fields are correctly mapped.
    4. Correct Data or Recreate Document:

      • If the billing document is created via API or custom program, ensure the currency fields are correctly populated.
      • If the document is inconsistent, consider canceling and recreating the billing document after correcting the source documents.
    5. Check for User Exits or Enhancements:

      • Review any custom code that might modify currency fields during billing document creation.
    6. Currency Conversion:

      • If currency conversion is required, ensure it is done properly before billing document creation.

    Related Information:

    • Tables:

      • VBRK (Billing Document Header)
      • VBRP (Billing Document Item)
      • VBAK (Sales Document Header)
      • VBAP (Sales Document Item)
      • LIKP (Delivery Document Header)
      • LIPS (Delivery Document Item)
    • Transactions:

      • VF01 - Create Billing Document
      • VF04 - Billing Due List
      • VA03 - Display Sales Order
      • VL03N - Display Delivery
      • VTFL - Copying Control: Delivery to Billing
      • VTFA - Copying Control: Order to Billing
    • Notes and SAP Help:

      • Check SAP OSS Notes related to billing document currency inconsistencies.
      • SAP SD Billing documentation on currency handling.

    Summary:

    The error VF_PRC_API005 indicates a currency mismatch between the billing document header and its items. To resolve it, ensure that the currency is consistent across all related documents and that the system or custom programs correctly assign the currency during billing document creation.

    • 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