SAP Message RTCMMD021 - Error in the hierarchy structure

Diagnosis
An error occurred when reading the hierarchy data from the database andcaused the program to terminate. The cause could be that a hierarchydata record has not been maintained completely, for example (missingentry for top node in the material hierarchy).

Procedure
Check the affected data records in the corresponding database tables.