SAP Knowledge Base Article - Public

3084792 - Error "cost element cannot be deleted because transaction data exists" occurs when changing account type - SAP S/4HANA Cloud Public edition

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 Public Edition

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".
  3. Error message no. FH212 "Cost elements cannot be deleted because transaction data exists"

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.

Even with balance zero on the G/L account the change is strictly forbidden, because the G/L account has already been posted to.

 
 
 

Resolution

In S/4HANA Cloud, G/L account type change is not recommended (e.g. different number ranges, account groups).

Preferably a new G/L account is to be created. This is intended and shall avoid inconsistencies. 

See Also

Refer to G/L Account Master Data (Two-System Landscape): FAQ | SAP Help Portal 

 
 
 

Keywords

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

Product

SAP S/4HANA Cloud Public Edition all versions