How To Fix KI172 - Cost center &1/&2 is locked for secondary postings at this time


SAP Error Message - Details

  • Message type: E = Error

  • Message class: KI -

  • Message number: 172

  • Message text: Cost center &1/&2 is locked for secondary postings at this time

  • Show details Hide details
  • What causes this issue?

    Cost center &V2&, controlling area &V1& is locked on &V3& for secondary
    postings.

    System Response

    At the very latest during posting for actual cost updates in CO (for
    customer orders and external orders, this would be receipt of goods or
    invoices; for settlement rules, this would be the settlement), the cost
    center should no longer be locked. For this reason, a message is sent
    with a variable message type.

    How to fix this error?

    If the message is a warning, remove the cause for the message, at the
    latest before the posting of actual cost updating.
    If the message is an error:
    Remove the lock against secondary postings in the master data record
    Assign another cost center account
    Assign another CO account assignment object
    This message is sent as a warning in the standard system. You can make
    the message an error message by changing the message type in
    Customizing. Use the Implementation Guide under "Controlling: General"
    and choose <DS:SIMG.SIMG_CFMENUORK3OBA5>Change message control</>. Enter
    area KI and message number 172.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message KI172 - Cost center &1/&2 is locked for secondary postings at this time ?

    The SAP error message KI172 indicates that a specific cost center is locked for secondary postings. This typically occurs when there are certain conditions that prevent the posting of secondary costs to that cost center. Here’s a breakdown of the cause, potential solutions, and related information:

    Cause

    1. Cost Center Locking: The cost center may be locked for various reasons, such as:

      • The cost center is in a closed period.
      • The cost center is locked for posting due to a configuration setting.
      • There are ongoing processes (like month-end closing) that prevent postings.
      • The cost center is set to be inactive or has been marked for deletion.
    2. Authorization Issues: The user may not have the necessary authorizations to post to the cost center.

    3. System Configuration: Certain settings in the controlling module (CO) may restrict postings to specific cost centers.

    Solution

    1. Check Cost Center Status:

      • Verify if the cost center is active and not locked for postings. You can do this by checking the cost center master data in the SAP system.
    2. Period Closing:

      • Ensure that the posting period is open. If the period is closed, you may need to open it or wait until it is reopened.
    3. Review Authorizations:

      • Check if the user has the necessary authorizations to post to the cost center. If not, the user may need to be granted the appropriate permissions.
    4. Consult with Finance Team:

      • If the cost center is locked due to ongoing financial processes (like month-end closing), consult with the finance team to understand when the lock will be lifted.
    5. Configuration Settings:

      • Review the configuration settings in the controlling module to ensure that there are no restrictions on secondary postings for that cost center.
    6. Transaction Codes:

      • Use transaction codes like KS03 (Display Cost Center) to check the status of the cost center and KSB1 (Cost Centers: Actual Line Items) to review postings.

    Related Information

    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message.
    • Documentation: Refer to SAP documentation for detailed information on cost center accounting and posting rules.
    • Support: If the issue persists, consider reaching out to SAP support or your internal SAP support team for further assistance.

    By following these steps, you should be able to identify the cause of the KI172 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
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