Message type: E = Error
Message class:  KU - Costing: Rollup 
Message number: 301
Message text: Hierarchy & & contains no hierarchy fields
No hierarchy fields have been defined in Customizing for the hierarchy
ID you entered.
The hierarchy structure is defined by the hierarchy fields.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Go into Customizing and check the structure of the hierarchy.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message KU301, which states "Hierarchy & & contains no hierarchy fields," typically occurs in the context of SAP Controlling (CO) when working with hierarchies in the context of cost centers, profit centers, or other organizational structures. This error indicates that the specified hierarchy does not have any fields defined for it, which means that the system cannot process the hierarchy as expected.
Cause: Missing Hierarchy Fields: The hierarchy you are trying to use does not have any hierarchy fields defined. This could happen if the hierarchy was not set up correctly or if it was deleted or modified improperly. Incorrect Hierarchy Assignment: The hierarchy you are referencing may not be assigned correctly in the configuration settings. Data Inconsistency: There may be inconsistencies in the data or configuration that prevent the hierarchy from being recognized properly.
Solution: Check Hierarchy Configuration: Go to the transaction code KSH1 (for cost center hierarchy) or KSH2 (for cost center
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
KU300 >>>>>>>>>>>>>>>>>> CO Summarization (Functions) <<<<<<<<<<<<<<<<<<<<<<<<<
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
KU241 Report obsolete - use transaction KKBC_HOE_H
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
KU302 Hierarchy error: First field must be & (CO area)
What causes this issue?  The hierarchy ID was defined incorrectly in Customizing. The first hierarchy field must refer to the controlling area.System ...
KU303 Hierarchy error: Total hierarchy length (&) exceeds max. length (&)
What causes this issue?  The total hierarchy length (controlling area + nodes) exceeds the maximum length. The maximum length was defined in Customizi...
Click on this link to search all SAP messages.