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

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