SAP Message RTCMMD165 - Creation of article & only possible below a category

Diagnosis
The hierarchy node to which you assign the material must appear below anode that is flagged as a category.

Procedure
Select a structure with a flagged category node and assign the materialto a node below the category.