Do you have any question about this error?
Message type: E = Error
Message class: KR - Archiving Reports and Utilities
Message number: 504
Message text: Line items less than &1 month(s) old to be deleted
You have entered &v2& as the posting date. This would delete line items
that have existed less than &v1& months in the system.
Check your entries for the posting date. You should delete line items
that have existed at least &v1& months in the system.
Error message extract from SAP system. Copyright SAP SE.
KR504
- Line items less than &1 month(s) old to be deleted ?The SAP error message KR504 indicates that there are line items in the system that are less than a specified number of months old and cannot be deleted. This error typically occurs during the execution of a transaction that attempts to delete or archive line items in the system, such as during the execution of the transaction for clearing or archiving.
Cause:
The primary cause of the KR504 error is that the system has a restriction on deleting line items that are still considered "active" or "recent." The error message specifies that line items that are less than a certain number of months old (indicated by
&1
) cannot be deleted. This is a safeguard to prevent the accidental loss of important financial data.Solution:
To resolve the KR504 error, you can consider the following approaches:
Wait for the Time Period to Elapse: If the line items are less than the specified number of months old, you may need to wait until they exceed that time frame before attempting to delete them.
Check Configuration Settings: Review the configuration settings in your SAP system related to the retention period for line items. This can typically be found in the customizing settings for Financial Accounting (FI) or Controlling (CO). You may need to adjust the settings if your business processes allow for it.
Manual Deletion: If you have the necessary authorizations and it is appropriate for your business process, you may consider manually clearing or archiving the line items instead of deleting them.
Consult Documentation: Refer to SAP documentation or help resources for specific guidance on the error message KR504. This may provide additional context or steps tailored to your version of SAP.
Contact SAP Support: If the issue persists or if you need further assistance, consider reaching out to SAP support for help. They can provide insights based on your specific system configuration and business processes.
Related Information:
By following these steps, you should be able to address the KR504 error and manage your line items effectively within the SAP system.
Get instant SAP help. Start your 7-day free trial now.
KR503
The entry date lies in the future
What causes this issue? You have entered an Entry date that lies in the future. The system does not allow any document that has an entry date in the ...
KR502
The posting date entered lies in the future
What causes this issue? You have entered a posting date that lies in the future.System Response How to fix this error? Check your entries.Error mess...
KR505
Line items less than &1 month(s) old to be deleted
What causes this issue? You have specified the entry date as &v2&. This deletes line items that have existed less than &v1& month(s) ...
KR506
Program error (variable FC_RESIDENZZEIT has an invalid value)
What causes this issue? A program error has occurred in the current report for variable FC_RESIDENZZEIT.System Response The report was terminated.Ho...
Click on this link to search all SAP messages.