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

Close

How To Fix WS845 - Invoicing party &1 in company code &2 does not exist


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS - Supplier Billing Document

  • Message number: 845

  • Message text: Invoicing party &1 in company code &2 does not exist

  • 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 WS845 - Invoicing party &1 in company code &2 does not exist ?

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


    SAP Error Message: WS845

    Text: Invoicing party &1 in company code &2 does not exist


    Cause:

    This error occurs during sales document processing (e.g., billing or order entry) when the system tries to assign an invoicing party (a business partner responsible for invoicing) to a company code, but the specified invoicing party is not found or not properly maintained in the system for that company code.

    In other words, the system expects the invoicing party to be a valid customer or business partner within the specified company code, but it cannot find the corresponding master data or the relationship is missing.


    Common Scenarios Leading to WS845:

    • The invoicing party is not created as a customer in the company code mentioned.
    • The invoicing party exists but is not assigned to the company code.
    • The partner function for invoicing party is incorrectly maintained or missing in the sales document.
    • Master data inconsistencies between sales area and company code.
    • Incorrect or missing partner determination procedure setup.

    Solution:

    1. Check Customer Master Data:

      • Use transaction XD03 (Display Customer) or FD03 (Display Customer Accounting) to verify if the invoicing party exists as a customer in the specified company code.
      • Ensure that the customer master record is created for the company code &2.
    2. Assign Customer to Company Code:

      • If the invoicing party does not exist for the company code, create or extend the customer master record to include the company code &2 using XD01 or XD02.
    3. Verify Partner Determination:

      • Check the partner determination procedure in the sales document type.
      • Ensure that the invoicing party partner function is correctly maintained and that the partner assigned in the sales document is valid.
    4. Check Sales Area and Company Code Consistency:

      • Make sure the sales area (sales organization, distribution channel, division) is correctly linked to the company code.
      • Use transaction OVX5 to check the assignment of sales organization to company code.
    5. Review Customizing Settings:

      • In SPRO, navigate to Sales and Distribution ? Basic Functions ? Partner Determination ? Partner Determination in Sales Documents.
      • Verify that the partner function for invoicing party is properly configured.
    6. Recreate or Correct the Sales Document:

      • If the error occurs during billing, check the sales order or delivery document for correct partner assignments.
      • Correct the invoicing party in the sales document if necessary.

    Additional Information:

    • The invoicing party is typically the customer who receives the invoice and is responsible for payment.
    • In some business scenarios, the invoicing party may differ from the sold-to party or ship-to party.
    • Proper master data maintenance and partner determination setup are crucial to avoid this error.
    • This error is common in cross-company code billing scenarios where the invoicing party belongs to a different company code than the sales organization.

    Summary:

    Aspect Details
    Error Message WS845: Invoicing party &1 in company code &2 does not exist
    Cause Invoicing party not maintained as customer in company code &2
    Solution Create/extend customer master for invoicing party in company code &2; verify partner determination and sales area assignments
    Transactions XD03, XD01, XD02, FD03, OVX5, SPRO (partner determination)

    If you need help with specific transaction steps or customizing paths, 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
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