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

Close

How To Fix WS891 - No company code customer was transferred


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS - Supplier Billing Document

  • Message number: 891

  • Message text: No company code customer was transferred

  • Show details Hide details
  • What causes this issue?

    Settlement process type &V1& is a settlement process type for
    cross-company-code transactions. With these, the company code Debtor
    must be transferred.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WS891 - No company code customer was transferred ?

    SAP Error Message:
    WS891 - No company code customer was transferred


    Cause:

    This error typically occurs during the customer master data transfer process (for example, when using ALE/IDoc or batch input sessions) and indicates that the customer master record does not have any company code data transferred or maintained. In SAP, a customer master record consists of general data, company code data, and sales area data. The error means that the system expected company code data for the customer but found none.

    Common reasons include:

    • The customer master record was created only with general data but without company code data.
    • The data transfer or IDoc does not contain company code segment (KNB1).
    • The company code segment is missing or incomplete in the input data.
    • The company code specified in the transfer does not exist or is incorrect.
    • The customer master data is incomplete or inconsistent.

    Solution:

    1. Check Customer Master Data:

      • Verify if the customer master record has company code data maintained.
      • Use transaction XD03 (Display Customer) or FD03 to check if company code data exists for the customer.
    2. Maintain Company Code Data:

      • If missing, maintain company code data using XD01/XD02 (Create/Change Customer) and enter the company code segment.
      • Ensure all mandatory fields in the company code segment are filled (e.g., reconciliation account, payment terms).
    3. Verify Data Transfer/Input:

      • If the error occurs during data transfer (e.g., IDoc processing), check the IDoc segments:
        • Segment E1KNB1M or KNB1 should be present and correctly filled.
      • Use transaction WE02/WE05 to display IDocs and verify the company code segment.
      • Correct the source data or mapping to include company code data.
    4. Check Company Code Validity:

      • Ensure the company code specified exists in the system (transaction OX02).
      • Verify that the company code is active and valid.
    5. Reprocess the Data:

      • After correcting the data, reprocess the transfer or batch input session.

    Related Information:

    • Customer Master Data Segments:

      • General Data (KNVV)
      • Company Code Data (KNB1)
      • Sales Area Data (KNVV)
    • Transactions:

      • XD01 - Create Customer (Centrally)
      • XD02 - Change Customer
      • XD03 - Display Customer
      • FD01/FD02/FD03 - Create/Change/Display Customer (Accounting)
      • WE02/WE05 - IDoc Monitoring
      • OX02 - Maintain Company Codes
    • Notes and Documentation:

      • SAP Notes related to customer master data transfer and ALE/IDoc processing.
      • Check SAP Help Portal for customer master data structure and ALE configuration.

    Summary:

    WS891 No company code customer was transferred means the customer master record lacks company code data during transfer or creation. To resolve, ensure company code data is maintained and correctly transferred. Verify input data, correct missing segments, and reprocess.


    If you provide more context (e.g., during which process or transaction the error occurs), I can give more tailored advice.

    • 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