SAP Message VG226 - The system could not determine a contract number

Diagnosis
The system could not determine a contract number for the selectioncriteria: external contract number &V1& and customer number &V2&.