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

Close

How To Fix WHT_BR003 - Reference to order is missing


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WHT_BR - Messages Brazilian Withholding Tax Calculation

  • Message number: 003

  • Message text: Reference to order is missing

  • 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 WHT_BR003 - Reference to order is missing ?

    Certainly! Here's a detailed explanation for the SAP error message WHT_BR003: Reference to order is missing:


    Error Message

    WHT_BR003: Reference to order is missing


    Cause

    This error occurs during withholding tax (WHT) processing in SAP when the system expects a reference to an internal order (or another cost object like a project, sales order, etc.) but does not find it in the document or line item.

    In many SAP configurations, withholding tax is linked to specific cost objects for proper accounting and reporting. If the system is configured to require an order reference for withholding tax calculation or posting, and the document line item does not contain this reference, the error is triggered.

    Common scenarios causing this error:

    • The withholding tax code or withholding tax type is configured to require an order reference.
    • The line item in the accounting document or vendor invoice does not have an order assigned.
    • The withholding tax determination procedure expects an order reference but it is missing.
    • Custom validations or user-exits enforce the presence of an order reference for WHT.

    Solution

    To resolve the error, you need to ensure that the required order reference is provided wherever the system expects it.

    Steps to fix:

    1. Check the Document Line Items:

      • Verify that the line items in the accounting document or vendor invoice have the correct order number assigned.
      • If missing, enter the appropriate internal order or cost object.
    2. Review Withholding Tax Configuration:

      • Go to transaction SPRO ? Financial Accounting ? Withholding Tax ? Extended Withholding Tax ? Define Withholding Tax Codes.
      • Check if the withholding tax code or type is set to require an order reference.
      • If the order reference is not mandatory for your business process, you can adjust the configuration to make it optional.
    3. Check the Withholding Tax Determination Procedure:

      • Ensure that the procedure does not enforce an order reference unless necessary.
      • Adjust the procedure or the customizing settings if needed.
    4. User Exits or Validations:

      • Check if there are any custom user-exits, BAdIs, or validations that enforce the presence of an order reference for withholding tax.
      • If found, either provide the order reference or adjust the custom logic.
    5. Document Entry:

      • When posting vendor invoices or accounting documents, ensure that the order reference is entered in the relevant line items.
      • This is often done in the item details under the "Account Assignment" tab.

    Related Information

    • Transaction Codes:

      • FB60 - Enter Vendor Invoice
      • FB70 - Enter Customer Invoice
      • F-43 - Enter Vendor Invoice (classic)
      • KOB1 - Order Line Items
      • SPRO - Customizing for Withholding Tax
    • SAP Notes:

      • Check SAP Notes related to withholding tax and order assignment for your SAP version.
      • Example: SAP Note 1234567 (hypothetical) might discuss order assignment in withholding tax.
    • Configuration Path:

      • Financial Accounting ? Withholding Tax ? Extended Withholding Tax ? Define Withholding Tax Codes
      • Financial Accounting ? Withholding Tax ? Extended Withholding Tax ? Assign Withholding Tax Codes to Company Codes
    • Additional Tips:

      • If your business process requires withholding tax to be linked to orders for cost tracking, ensure that all relevant documents have the order assigned.
      • Train users to enter the order reference during document entry.
      • Use validation rules to prevent posting without order reference if mandatory.

    If you provide more context (e.g., transaction used, document type, configuration details), I can help tailor the solution further.

    • 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 simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant