Message type: E = Error
Message class:  RS2HANA_VIEW - HANA Views for BW Objects 
Message number: 158
Message text: &1: Hierarchy &2 - char. &3 is not listed as an external characteristic
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message RS2HANA_VIEW158 typically occurs in the context of SAP BW (Business Warehouse) when working with HANA views, particularly when there is an issue with the hierarchy definition in a data model. This error indicates that a characteristic used in a hierarchy is not recognized as an external characteristic, which is necessary for the hierarchy to function correctly.
Cause: Missing External Characteristic: The characteristic mentioned in the error message is not defined as an external characteristic in the hierarchy definition. Hierarchy
Configuration Issues: The hierarchy may not be properly configured, or the characteristic may not be included in the relevant InfoObject or data model. Data Model Changes: If there have been recent changes to the data model or InfoObjects, it may lead to inconsistencies that trigger this error. Transport Issues: If the hierarchy was transported from one system to another, it may not have been properly configured in the target system.
Solution: Check Hierarchy Definition: Go
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
RS2HANA_VIEW157 &1: No status for validity of hierarchy &2 &3
 It is not known yet whether the hierarchy can be exposed in SAP HANA. In order to check this and to make the hierarchy visible in HANA<(>,<)...
RS2HANA_VIEW156 &1: Hierarchy &2 not valid for the external SAP HANA view with hierarchy
 Call transaction RSRV and run the elementary test 'Hierarchies/Check individual hierarchy: BW Hierarchy in SAP HANA'<(>,<)> in ...
RS2HANA_VIEW159 0CALWEEK/0WEEKDAY1/*FISC* not supported and excluded from hierarchy &1
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
RS2HANA_VIEW160 External SAP HANA view: no PartProviders supported
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.