How To Fix ON158 - Choose another object type


SAP Error Message - Details

  • Message type: E = Error

  • Message class: ON - Tools in area Object Modeler / Object Editor

  • Message number: 158

  • Message text: Choose another object type

  • Show details Hide details
  • What causes this issue?

    You have executed Goto->New inheritance tree. During this your cursor
    was on the root. Since the inheritance tree for this object type was
    already being shown, the desired function does not make sense.

    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?

    If required, position the cursor on another object type.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message ON158 - Choose another object type ?

    The SAP error message ON158 "Choose another object type" typically occurs when you are trying to perform an operation on an object type that is not compatible with the action you are attempting to execute. This error is often seen in the context of object management, such as when working with business objects, master data, or configuration settings in SAP.

    Cause:

    1. Incompatible Object Type: The object you are trying to work with does not match the expected type for the operation. For example, you might be trying to assign a material to a plant when the material type does not allow it.
    2. Incorrect Configuration: The system may be configured in a way that restricts certain actions based on the object type.
    3. Authorization Issues: Sometimes, the error can arise due to insufficient authorizations to perform actions on certain object types.

    Solution:

    1. Check Object Type: Verify that the object you are trying to use is of the correct type for the operation you are performing. Refer to the documentation or help files for the specific transaction or function you are using.
    2. Use the Correct Transaction: Ensure that you are using the appropriate transaction code for the object type you are working with. For example, if you are trying to create a material, make sure you are using the correct transaction for material creation.
    3. Review Configuration Settings: If you have access, check the configuration settings related to the object types in question. Ensure that the settings allow for the actions you are trying to perform.
    4. Consult with SAP Support: If you are unable to resolve the issue, consider reaching out to your SAP support team or consulting SAP Notes for any known issues related to the error message ON158.

    Related Information:

    • SAP Documentation: Check the official SAP Help Portal for documentation related to the specific module or transaction you are working with.
    • SAP Community: Engage with the SAP Community forums where other users may have encountered similar issues and can provide insights or solutions.
    • Transaction Codes: Familiarize yourself with relevant transaction codes that pertain to the object types you are working with, as this can help in navigating the system more effectively.

    By following these steps, you should be able to identify the cause of the ON158 error and take appropriate action to resolve it.

    • 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