SAP Message AH677 - Avg prices are possible only for time- and quantity-based price operands

Diagnosis
You have selected an average price for flat rates.

Procedure
Average prices are possible only for quantity- and time-based operands.Select an appropriate value for the price field using possible entries(F4), or select an operand from the QPRICE or TPRICE category.