How To Fix CF187 - You cannot delete - PRT has document allocations


CF187 - Overview

  • Message type: E = Error

  • Message class: CF - PRT management messages

  • Message number: 187

  • Message text: You cannot delete - PRT has document allocations

  • Show details Hide details
  • What causes this issue?

    You are attempting to delete the <GL:production_resource/tool>
    production resource/tool</>. However, this PRT is allocated to at
    least one document. Therefore it cannot be deleted.

    How to fix this error?

    You must first delete the documentation allocations for the
    <GL:production_resource/tool>production resource/tool</>. Then you can
    delete the PRT.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message CF187 - You cannot delete - PRT has document allocations ?
    The SAP error message CF187, which states "You cannot delete - PRT has document allocations," typically occurs when you attempt to delete a Production Resource Tool (PRT) that is currently allocated to one or more documents in the system. This could include allocations in production orders, maintenance orders, or other related documents.
    
    Cause: The primary cause of this error is that the PRT you are trying to delete is still in use or linked to existing documents. SAP prevents the deletion of such resources to maintain data integrity and avoid orphaned references in the system.
    Solution: To resolve this error, you can follow these steps: Identify Allocations: Use transaction codes like CO03 (Display Production Order) or IW33 (Display Maintenance Order) to check if the PRT is allocated to any active orders. You can also use transaction CR03 (Display PRT) to see the details of the PRT and its allocations. Remove Allocations: If you find that the PRT is

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


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