SAP Message WRF_APC295 - Materials &1 and &2 do not have the same material category

Diagnosis
You cannot copy purchasing item assignments that belong to material &V1&to purchasing item assignments that will belong to material &V2& becausethese materials do not have the same material category.

System Response
The copy operation is aborted

Procedure
Choose materials that are compatible