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

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