SAP Message 40344 - This function is only permitted for one cell

Diagnosis
You wanted to execute a function in material quantity calculation.

Procedure
Position the cursor on the point of intersection of a row and a column.Now reselect the function.