Message SAP /SAPMP/PP_BD012 - Component & is a length-based material, unlike variant &

Diagnosis
You attempted to enter a length-based material as a component in a BOMand to assign this to various material variants in the same line,despite the fact that these material variants are both length-based andnon-length-based.

System Response
The system does not permit this entry.

Procedure
Divide the component assignment into two lines and for each lineassign only material variants of the same type (length-based materialsor no length-based materials).