SAP Knowledge Base Article - Public

3084792 - Error "cost element cannot be deleted because transaction data exists" occurs when changing account type

Symptom

Error "cost element cannot be deleted because transaction data exists" occurs when trying to change the GL account type from "Primary Cost and Revenue" to "Non Operating Expenses and Income".

Environment

SAP S/4HANA Cloud.

Reproducing the Issue

1. Open app Manage G/L Account Master Data (or SSCUI ID 100051)

2. Change the account type for specific account from "Primary Cost and Revenue" to "Non Operating Expenses and Income".

Cause

As soon as there are CO-relevant postings to a cost element it is no longer possible to remove the primary or secondary cost element property. 

This is intended and shall avoid inconsistencies.

Resolution

This is standard behavior.

Keywords

cost element cannot be deleted because transaction data exists, Manage G/L Account Master Data, 150001, G/L account type, Primary Cost and Revenue", "Non Operating Expenses and Income". , KBA , FI-GL-GL-N , Master Data , FI-GL-GL-N-2CL , Master Data (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions