Message SAP /BCV/QRM916 - Query &1: Invalid value type for parameter of formula &2

Diagnosis
The value type of formula parameter &V4& defined for join criterion &V3&is not O (query output field).