SAP Message QA119 - You cannot enter a material for the specified origin

Diagnosis
There are some origins for which you cannot enter a material numberwhen you manually create an inspection lot.
For example, when an inspection is carried out with a production order,the material identifier comes from the production order.

Procedure
Do not enter a material number.