Message type: E = Error
Message class: HRHCP00_PLAN - Messages About Personnel Cost Plan
Message number: 138
Message text: Cannot be deleted. Original document contains posted document lines
The original document for &V1& with key &V2& contains document lines
that have already been transferred to <LS>Controlling</>. The transfer
has not been canceled. Therefore, document line &V3& is flagged as
having been posted.
The system cannot delete the original document of the personnel cost
plan. Therefore, it cannot delete the plan data.
If you want to delete plan data, you must first cancel the transfer of
plan data to <LS>Controlling</>.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message HRHCP00_PLAN138 indicates that a specific plan or document cannot be deleted because it contains posted document lines. This typically occurs in the context of Human Capital Management (HCM) or related modules where planning documents are involved.
Cause: The primary cause of this error is that the document you are trying to delete has already been processed or posted, meaning that it has associated entries in the database that prevent it from being deleted. This is a safeguard to maintain data integrity, as deleting a document with posted lines could lead to inconsistencies in the system.
Solution: To resolve this error, you can consider the following steps: Check Document Status: Verify the status of the document you are trying to delete. If it has been posted, you may need to reverse or unpost the document before deletion. Unpost Document: If applicable, find the transaction or process that allows you to unpost or reverse
Get instant SAP help. Sign up for our Free Essentials Plan.
HRHCP00_PLAN137 Not possible to change capacity utilization level in target plan
What causes this issue? You want to transfer changes made for a personnel cost plan during detail planning to a different personnel cost plan. During...
HRHCP00_PLAN136 Source plan contains detail planning changes that cannot be copied
What causes this issue? You want to transfer changes made to the personnel cost plan during detail planning to a different personnel cost plan. Howev...
HRHCP00_PLAN139 Action is not permitted for selected object
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRHCP00_PLAN140 Status overlap must be set
What causes this issue? If you enter more than one status in the status vector, status overlap must be selected. This is required to avoid inconsiste...
Click on this link to search all SAP messages.