Do you have any question about this error?
Message type: E = Error
Message class: KZ - Cost Object Repetitive Mfg / Process Mfg
Message number: 520
Message text: Routine to delete primary cost elements will not be carried out
You want to read or delete all the primary cost elements in a
controlling area based on the G/L accounts in the corresponding company
code. A routine is accessed to do this. This routine is not performed
if one of the following errors occurs.
In this case error &V1& was determined during the check.
(1) The cost elements are not assigned to a controlling area. This
meant that the system could not determine any primary cost elements.
(2) A controlling area already containing productive company codes with
primary cost elements is assigned to the company code. The cost
elements cannot be deleted since they already exist for productive
company codes.
(3) A controlling area containing productive company codes without
primary cost elements is assigned to the company code. This means that
no cost elements are to be deleted.
(4) No primary cost elements exist in the assigned controlling area.
Fulfill the conditions so that you can perform the routine (if you
still need to delete the primary cost elements).
Error message extract from SAP system. Copyright SAP SE.
KZ520
- Routine to delete primary cost elements will not be carried out ?The SAP error message KZ520 indicates that the routine to delete primary cost elements will not be executed. This error typically arises in the context of controlling (CO) and financial accounting (FI) modules when there are issues related to cost element management.
Cause:
- Cost Element Usage: The primary cost element you are trying to delete is still in use. This could be due to existing postings or allocations that reference the cost element.
- Configuration Issues: There may be configuration settings that prevent the deletion of cost elements, such as dependencies on other financial objects.
- Authorization Issues: The user may not have the necessary authorizations to delete cost elements.
- System Settings: Certain system settings or parameters may restrict the deletion of cost elements.
Solution:
- Check Usage: Before attempting to delete a primary cost element, check if it is being used in any transactions, cost centers, internal orders, or other financial documents. You can use transaction codes like KSB1 (Cost Centers: Actual Line Items) or KOB1 (Orders: Actual Line Items) to review postings.
- Remove Dependencies: If the cost element is in use, you will need to reverse or delete the transactions that reference it. This may involve reversing journal entries or reallocating costs.
- Review Configuration: Ensure that the configuration settings in the controlling area allow for the deletion of cost elements. You may need to consult with your SAP configuration team.
- Check Authorizations: Verify that the user attempting to delete the cost element has the necessary authorizations. This can be checked in the user roles and profiles.
- Use Alternative Methods: If deletion is not possible, consider marking the cost element as inactive or using other methods to prevent its use in future postings.
Related Information:
If the issue persists after following these steps, it may be beneficial to consult with your SAP support team or reach out to SAP support for further assistance.
Get instant SAP help. Start your 7-day free trial now.
KZ519
You are not authorized to delete CO transaction data
How to fix this error? Obtain authorization for: authorization object...:&V1& authorization class....:&V2& action.................:&a...
KZ518
CO transaction data in controlling area $ was completely $ $
What causes this issue? One or more company codes are assigned to controlling area &V1&. All the CO transaction data in controlling area &...
KZ521
Data missing or inconsistent
What causes this issue? The system has checked the deletion of CO transaction data in controlling area &V1&. From the errors listed below, th...
KZ522
Only one selection criterion allowed for the deletion objects
What causes this issue? You have used two selection criteria simultaneously for the deletion objects.How to fix this error? There are three selectio...
Click on this link to search all SAP messages.