Do you have any question about this error?
Message type: E = Error
Message class: PT_ARCH -
Message number: 002
Message text: Leave quotas (infotype 2006) cannot be destroyed
This can be for the following reasons:
The remaining time balance of the time quota is not 0, or none of the
absences or compensation data linked to the time quota can be deleted.
The deduction date of a generated absence quota is after the <LS>Select
Data Until</> date.
Ensure that the quota is deducted (remaining time balance is 0) and that
the absences and compensation data can be destroyed.
<ZH>Note</>
Generated quotas are not destroyed if the deduction end date for a quota
is after the date until which quotas are to be destroyed. This applies
even if the quota has already been completely deducted.
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.
PT_ARCH002
- Leave quotas (infotype 2006) cannot be destroyed ?The SAP error message PT_ARCH002 indicates that there is an issue with the leave quotas stored in infotype 2006 (Leave Entitlement) that prevents them from being archived or deleted. This error typically arises in the context of data archiving processes in SAP, particularly when trying to archive employee leave data.
Cause:
The error can occur due to several reasons, including:
Existing Leave Quotas: There are active leave quotas associated with the employee that cannot be deleted or archived. This could be due to the quotas being used in current or past payroll periods.
Data Integrity Issues: There may be inconsistencies or integrity issues in the data related to leave quotas that prevent the system from processing the archiving request.
Configuration Settings: The archiving settings or the configuration for leave management may not be set up correctly, leading to restrictions on archiving certain data.
Open Leave Requests: If there are open leave requests or pending approvals related to the leave quotas, the system will not allow the deletion or archiving of those quotas.
Solution:
To resolve the PT_ARCH002 error, you can take the following steps:
Check Leave Quotas: Review the leave quotas for the employee in infotype 2006. Ensure that there are no active or pending leave requests that are associated with these quotas.
Clear Open Leave Requests: If there are any open leave requests, either approve or reject them to clear the way for archiving.
Review Data Integrity: Use transaction codes like PA30 (Maintain HR Master Data) to check for any inconsistencies in the employee's leave data. Correct any discrepancies found.
Adjust Archiving Settings: Ensure that the archiving settings for leave data are correctly configured. This may involve consulting with your SAP Basis or HR module team to verify the settings.
Use Archiving Object: If you are using an archiving object, ensure that it is correctly defined and that the necessary prerequisites for archiving are met.
Consult Documentation: Refer to SAP documentation or notes related to archiving leave data for any specific instructions or known issues.
Contact SAP Support: If the issue persists after trying the above steps, consider reaching out to SAP support for further assistance.
Related Information:
By following these steps, you should be able to identify the cause of the error and implement a solution to resolve it.
Get instant SAP help. Start your 7-day free trial now.
PT_ARCH001
Leave entitlement (infotype 0005) cannot be destroyed
What causes this issue? The leave entitlement cannot be destroyed. This can be for the following reasons: The deduction end date is after the <LS&...
PT_ARCH000
Cluster PC cannot be destroyed
What causes this issue? The absences for the cluster PC or the time quotas used by the absences cannot be destroyed.How to fix this error? For <L...
PT_ARCH003
Attendance quotas (infotype 2007) cannot be destroyed
What causes this issue? Absence quotas (into type 2007) cannot be destroyed.System Response The system issues an error message and will not allow yo...
PT_ARCH004
Compensation (infotype 0083) cannot be destroyed
What causes this issue? The leave entitlement (infotype 0005) linked with the compensation cannot be destroyed.System Response The system issues an ...
Click on this link to search all SAP messages.