SAP Message >1214 - No selection criterion transferred for lock type & (&)

Diagnosis
The system attempted to select a type &V1& ( &V2& ) lock but did
not transfer the lock argument for the corresponding lock type.
Locks cannot be selected.
This is most likely a program error.