Do you have any question about this error?
Message type: E = Error
Message class: KK -
Message number: 681
Message text: Cost element was deleted
You are using a costing variant which does not allow cost elements.
A cost element for the costing item is, however, stored in the system.
The cost element was deleted.
If you still want to see the allocations of items to cost elements, you
have to choose another costing variant.
Error message extract from SAP system. Copyright SAP SE.
KK681
- Cost element was deleted ?The SAP error message KK681, which states "Cost element was deleted," typically occurs when you attempt to perform an operation related to a cost element that has been deleted from the system. This can happen in various contexts, such as during the posting of costs, running reports, or executing transactions that involve cost elements.
Cause:
- Deleted Cost Element: The primary cause of this error is that the cost element you are trying to use has been marked as deleted in the system. This can happen if the cost element was intentionally deleted by a user or through a mass deletion process.
- Data Consistency Issues: If there are inconsistencies in the data, such as references to deleted cost elements in various transactions or master data, this error can also arise.
- Incorrect Configuration: Sometimes, the configuration settings in the controlling module may lead to this error if they reference deleted cost elements.
Solution:
Check Cost Element Status:
- Go to the transaction code KA03 (Display Cost Element) and check if the cost element in question is indeed marked as deleted. If it is, you will need to either restore it or use a different cost element.
Restore Cost Element:
- If the cost element was deleted by mistake, you may need to restore it. This can typically be done by creating a new cost element with the same characteristics or by using transaction KA01 (Create Cost Element) if the system allows for restoration.
Update Transactions:
- If there are transactions that reference the deleted cost element, you may need to update those transactions to point to a valid cost element.
Check Configuration:
- Review the configuration settings in the controlling module to ensure that they do not reference deleted cost elements. This may involve checking cost center assignments, internal orders, or other related configurations.
Consult Documentation:
- Review SAP documentation or consult with your SAP support team for specific guidance on handling deleted cost elements in your version of SAP.
Related Information:
Transaction Codes:
SAP Notes:
User Authorization:
Testing:
By following these steps, you should be able to resolve the KK681 error and ensure that your cost element management is functioning correctly.
Get instant SAP help. Start your 7-day free trial now.
KK680
Cost element not allowed for costing variant &
What causes this issue? Cost elements are not allowed with the costing variant you selected. You entered an item for which a cost element is stored i...
KK679
Item foreign currency was not changed
What causes this issue? The item foreign currency was not changed, because the foreign currency rate or the foreign currecny rate type you entered is...
KK682
Cost estimate was revalued
What causes this issue? You selected the <LS>revaluate</> function.System Response The system read the master data for the items entered...
KK683
Item foreign currency was changed
What causes this issue? You changed the item foreign currency.System Response The programm calculated the new total item value in the relevant forei...
Click on this link to search all SAP messages.