How To Fix KJ159 - Also select the switch "Automatic"


SAP Error Message - Details

  • Message type: E = Error

  • Message class: KJ - Cost Object Controlling for Make-to-Order Production

  • Message number: 159

  • Message text: Also select the switch "Automatic"

  • Show details Hide details
  • What causes this issue?

    The switch <LS>Including origin - dynamic items</> is selected. This
    switch should only be selected if the switch <LS>Automatic</> is
    selected.

    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?

    Select the switch <LS>Automatic</>.

    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 KJ159 - Also select the switch "Automatic" ?

    The SAP error message KJ159 typically relates to issues in the context of controlling (CO) or profitability analysis (CO-PA) modules, particularly when dealing with the assignment of cost elements or when trying to execute certain transactions that require specific configurations.

    Cause:

    The error message KJ159 usually indicates that there is a problem with the configuration of the controlling area or the settings related to the cost elements. This can occur due to:

    1. Missing Configuration: The controlling area may not be properly configured to allow for the automatic assignment of cost elements.
    2. Inconsistent Data: There may be inconsistencies in the master data or transaction data that prevent the system from processing the request.
    3. Authorization Issues: The user may not have the necessary authorizations to perform the action that triggered the error.

    Solution:

    To resolve the KJ159 error, you can take the following steps:

    1. Check Configuration:

      • Go to the configuration settings for the controlling area in SAP.
      • Ensure that the cost elements are correctly defined and assigned to the appropriate controlling area.
      • Verify that the settings for automatic assignment are enabled.
    2. Review Master Data:

      • Check the master data for cost elements, cost centers, and other related objects to ensure that they are correctly set up.
      • Look for any inconsistencies or missing entries that could be causing the error.
    3. User Authorizations:

      • Ensure that the user has the necessary authorizations to perform the action that is causing the error.
      • If needed, consult with your SAP security team to review and adjust user roles and permissions.
    4. Select the Switch "Automatic":

      • If the error message specifically mentions selecting the switch "Automatic," navigate to the relevant configuration screen where this option is available.
      • Enable the "Automatic" switch to allow the system to automatically assign cost elements as needed.
    5. Testing:

      • After making the necessary changes, test the transaction again to see if the error persists.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as OKKP (for controlling area settings) and KA01 (for creating cost elements).
    • SAP Notes: Check SAP Notes for any known issues or patches related to the KJ159 error.
    • Documentation: Review SAP documentation for controlling and profitability analysis to understand the configuration requirements better.

    If the issue persists after following these steps, it may be beneficial to consult with your SAP support team or refer to SAP community forums for additional assistance.

    • 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's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker