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

Close

How To Fix WEBFI_MASTER346 - For customer &1 there is no company code &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WEBFI_MASTER - Web Financials: Business Partner Master Data

  • Message number: 346

  • Message text: For customer &1 there is no company code &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 WEBFI_MASTER346 - For customer &1 there is no company code &2 ?

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


    SAP Error Message: WEBFI_MASTER346

    Text: For customer &1 there is no company code &2


    Cause:

    This error occurs when you try to perform a financial transaction or master data operation involving a customer, but the system cannot find an assignment of that customer to the specified company code.

    In SAP, customers must be assigned to at least one company code in the Financial Accounting (FI) module. This assignment links the customer master data to the company code for accounting purposes (e.g., invoicing, payments, dunning).

    If the customer master record does not have a company code segment for the company code you are working with, the system throws this error.


    When does it occur?

    • Creating or processing financial documents (e.g., invoices, credit memos) for a customer in a company code where the customer is not assigned.
    • Accessing customer master data in a company code segment that does not exist.
    • Integration scenarios where customer data is referenced but the company code assignment is missing.

    Solution:

    1. Check Customer Master Data:

      • Use transaction XD03 (Display Customer) or FD03 (Display Customer - Accounting View).
      • Enter the customer number and check if the company code &2 is assigned.
    2. Assign Customer to Company Code:

      • If the company code segment is missing, create it using transaction XD02 (Change Customer).
      • Enter the customer number and add the missing company code segment.
      • Fill in the required accounting data such as reconciliation account, payment terms, dunning procedure, etc.
    3. Verify Company Code:

      • Ensure the company code &2 exists and is active in the system.
      • Use transaction OBY6 to check company code details.
    4. Check Integration Settings:

      • If this error occurs during integration (e.g., SD to FI), verify that the customer master data is properly maintained in FI for the relevant company code.

    Additional Information:

    • Customer Master Data Views:

      • Customer master data is divided into general data (client level), company code data (FI), and sales area data (SD).
      • The error relates specifically to the company code (FI) segment.
    • Transaction Codes:

      • XD01 - Create Customer (General + Company Code + Sales Area)
      • XD02 - Change Customer
      • XD03 - Display Customer
      • FD01 - Create Customer (Accounting View)
      • FD02 - Change Customer (Accounting View)
      • FD03 - Display Customer (Accounting View)
    • Related Notes and Documentation:

      • SAP Note 123456 (example) might provide additional troubleshooting steps.
      • Refer to SAP Help Portal for Customer Master Data configuration.

    Summary:

    Aspect Details
    Error For customer &1 there is no company code &2
    Cause Customer not assigned to company code &2 in FI master data
    Solution Assign the customer to the company code using XD02 or FD02
    Check Customer master data, company code existence, integration settings

    If you need help with the exact steps to assign a customer to a company code or further troubleshooting, feel free to ask!

    • 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