How To Fix KA228 - Cost center &1 is assigned to company code &2, not &3 (entry)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: KA - CO Overhead Costs: Overhead, Accrual Calculation

  • Message number: 228

  • Message text: Cost center &1 is assigned to company code &2, not &3 (entry)

  • Show details Hide details
  • What causes this issue?

    You are maintaining credit for company code &V3&. Cost center &V1&,
    however, is assigned to company code &V2&.
    Allocations that cross company code borders for calculation of imputed
    costs are not allowed. The credit object must be assigned to the same
    company code as the debited cost center.

    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?

    Enter a cost center assigned to company code &V3&.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message KA228 - Cost center &1 is assigned to company code &2, not &3 (entry) ?

    The SAP error message KA228 indicates that there is a mismatch between the company code associated with a cost center and the company code you are trying to use in a transaction. Specifically, the error message states that the cost center is assigned to one company code but you are attempting to use it in a different company code.

    Cause:

    1. Cost Center Assignment: The cost center you are trying to use is assigned to a specific company code (in this case, &2) but you are trying to use it in a different company code (in this case, &3).
    2. Configuration Issues: There may be a configuration issue where the cost center was not properly assigned to the intended company code.
    3. Data Entry Error: The user may have mistakenly entered the wrong company code in the transaction.

    Solution:

    1. Check Cost Center Assignment:

      • Go to the SAP transaction code KS03 (Display Cost Center) and enter the cost center number.
      • Verify the company code assignment in the cost center master data. Ensure that the cost center is assigned to the correct company code.
    2. Correct Company Code in Transaction:

      • If you are entering a transaction, ensure that you are using the correct company code that corresponds to the cost center you are trying to use.
    3. Reassign Cost Center (if necessary):

      • If the cost center needs to be used in a different company code, you may need to reassign it. This can be done using transaction code KS01 (Create Cost Center) or KS02 (Change Cost Center) to create or modify the cost center assignment.
    4. Consult with Configuration Team:

      • If you are unsure about the correct assignments or if changes are needed, consult with your SAP configuration team or a functional consultant who can assist with the necessary adjustments.

    Related Information:

    • Transaction Codes:
      • KS01: Create Cost Center
      • KS02: Change Cost Center
      • KS03: Display Cost Center
    • Cost Center Accounting: Understanding how cost centers are structured and assigned within your organization is crucial for proper financial reporting and analysis.
    • Company Code: A company code in SAP represents an independent accounting unit, and each cost center must be associated with a specific company code for accurate financial tracking.

    By following these steps, you should be able to resolve the KA228 error and ensure that your cost center is correctly assigned to the appropriate company code.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


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