SAP Message RTCMMD074 - Hierarchy is active - you can only assign materials to end nodes

Diagnosis
You tried to assign materials to a node other than an end node in anactive material hierarchy. This is not allowed.

Procedure
Assign the materials to an end node.