How To Fix KS058 - Default account assignment is not allowed for sec. cost elements


SAP Error Message - Details

  • Message type: E = Error

  • Message class: KS - RK-S Master Data Maintenance

  • Message number: 058

  • Message text: Default account assignment is not allowed for sec. cost elements

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message KS058 - Default account assignment is not allowed for sec. cost elements ?

    The SAP error message KS058 ("Default account assignment is not allowed for secondary cost elements") typically occurs when you attempt to use a secondary cost element in a transaction that requires a default account assignment. Secondary cost elements are used for internal cost allocation and do not have a corresponding G/L account in the financial accounting (FI) module, which is why they cannot be assigned a default account.

    Cause:

    1. Secondary Cost Element Usage: The error arises when a secondary cost element is used in a context that requires a default account assignment, such as in certain types of cost center accounting or internal orders.
    2. Configuration Issues: The system may be incorrectly configured to allow default account assignments for secondary cost elements, which is not permitted.
    3. Transaction Type: The transaction you are trying to execute may not support secondary cost elements, leading to this error.

    Solution:

    1. Check Cost Element Type: Ensure that you are using the correct type of cost element. If you need to post to a cost center or internal order, use a primary cost element instead of a secondary one.
    2. Review Transaction: Verify the transaction you are trying to execute. If it requires a primary cost element, adjust your entry accordingly.
    3. Configuration Review: If you believe the configuration is incorrect, consult with your SAP FI/CO configuration team to ensure that secondary cost elements are not set up to allow default account assignments.
    4. Use Alternative Posting Methods: If you need to allocate costs internally, consider using appropriate allocation methods (like assessments or distributions) that are designed for secondary cost elements.

    Related Information:

    • Cost Element Types: Understand the difference between primary and secondary cost elements. Primary cost elements correspond to G/L accounts and are used for external reporting, while secondary cost elements are used for internal cost allocation.
    • SAP Documentation: Refer to SAP Help documentation for detailed information on cost element accounting and the specific requirements for transactions involving cost elements.
    • Transaction Codes: Familiarize yourself with relevant transaction codes such as KS01 (Create Cost Element), KS02 (Change Cost Element), and KS03 (Display Cost Element) to manage cost elements effectively.

    If the issue persists after following these steps, it may be beneficial to consult with your SAP support team or a functional consultant who specializes in SAP CO (Controlling) for further 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