Do you have any question about this error?
Message type: E = Error
Message class: CF - PRT management messages
Message number: 187
Message text: You cannot delete - PRT has document allocations
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.
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.
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) orIW33
(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 allocated to a production order or maintenance order, you will need to remove the allocation. This can typically be done by:
- Going to the relevant order (e.g., production or maintenance order).
- Navigating to the PRT assignment section.
- Deleting or unassigning the PRT from the order.
Check for Other Document Types:
- Ensure that the PRT is not allocated to any other document types, such as maintenance plans, task lists, or other production-related documents.
Delete the PRT:
- Once all allocations have been removed, you can attempt to delete the PRT again using transaction
CR02
(Change PRT) and then selecting the delete option.Related Information:
Transaction Codes:
CR03
: Display PRTCR02
: Change PRTCO03
: Display Production OrderIW33
: Display Maintenance OrderDocumentation:
User Permissions:
Consult with SAP Support:
By following these steps, you should be able to resolve the CF187 error and successfully delete the PRT if it is no longer needed.
Get instant SAP help. Start your 7-day free trial now.
CF186
PRT has document assignments.
What causes this issue? You have marked a <GL:production_resource/tool> production resource/tool</> for deletion. However, this PRT has b...
CF185
Production resource/tool in use - Base unit of measure cannot be changed.
What causes this issue? You are trying to change the base unit of measure for <GL:production_resource/tool>production resources/tools</>....
CF188
Production resource/tool is being used.
What causes this issue? You are attempting to delete the <GL:production_resource/tool> production resource/tool</> by setting a deletion ...
CF189
Deletion is not allowed - production resource/tool is being used.
What causes this issue? You want to delete a <GL:production_resource/tool>production resource/tool</>. However, the production resource/t...
Click on this link to search all SAP messages.