How To Fix OB135 - Plants & and & have different company codes


SAP Error Message - Details

  • Message type: E = Error

  • Message class: OB - IS-OIL Downstream TDP messages

  • Message number: 135

  • Message text: Plants & and & have different company codes

  • Show details Hide details
  • What causes this issue?

    Both plants are assigned to different company codes. (A posting that
    covers more than one company code is not supported).

    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?


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message OB135 - Plants & and & have different company codes ?

    The SAP error message OB135 indicates that there is a mismatch in the company codes associated with the plants you are trying to work with. This error typically occurs when you are attempting to perform a transaction that involves multiple plants, but those plants are assigned to different company codes in the system.

    Cause:

    1. Different Company Codes: The primary cause of this error is that the plants you are trying to use in a transaction are assigned to different company codes. In SAP, each plant is linked to a specific company code, and operations involving multiple plants must be within the same company code.
    2. Configuration Issues: There may be a configuration issue in the system where the plants are not correctly assigned to the intended company codes.
    3. Data Entry Errors: Sometimes, the error can arise from incorrect data entry or selection of plants in the transaction.

    Solution:

    1. Check Plant Assignments:

      • Go to the transaction code OX10 (or SPRO -> Enterprise Structure -> Definition -> Logistics - General -> Define, copy, delete, check plant).
      • Verify the company code assignments for the plants involved in the transaction. Ensure that they are assigned to the same company code.
    2. Adjust Transaction:

      • If you are trying to perform a transaction that involves multiple plants, ensure that all selected plants belong to the same company code. If they do not, you will need to adjust your selection.
    3. Reconfigure if Necessary:

      • If the plant assignments are incorrect and need to be changed, you may need to reconfigure the plant assignments in the system. This typically requires appropriate authorization and should be done with caution to avoid disrupting other processes.
    4. Consult Documentation:

      • Review SAP documentation or consult with your SAP support team for specific guidance on how to handle plant and company code assignments.
    5. User Training:

      • Ensure that users are trained on the importance of selecting plants within the same company code to avoid this error in the future.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as OX10 for plant configuration and OBY6 for company code settings.
    • SAP Notes: Check SAP Notes for any known issues or additional guidance related to this error message.
    • Authorization: Ensure that you have the necessary authorizations to view and modify plant and company code assignments.

    By following these steps, you should be able to resolve the OB135 error and ensure that your transactions can proceed without issues.

    • 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
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