SAP Message /BCV/QRM817 - Query &1: Parameter type is missing for parameter of formula &2

Diagnosis
The parameter type of formula parameter &V4& defined for query resultfield &V3& is missing.