SAP Message /BCV/QRM413 - Query &1: Secondary field &3 in join crit. &2 is not of type 'Input'

/BCV/QRM413 : Query &1: Secondary field &3 in join crit. &2 is not of type 'Input'