SAP Message UCFE040 - Only a structure in the layout can contain a key figure

Diagnosis
Only the row layout or the column layout can contain a key figure
, but never both at the same time.

Procedure
Remove the superfluous key figure from one of the layouts.