Message type: E = Error
Message class:  RS2HANA_VIEW - HANA Views for BW Objects 
Message number: 042
Message text: InfoCube is not in-memory optimized
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
The SAP error message RS2HANA_VIEW042 indicates that the InfoCube you are trying to use is not optimized for in-memory processing in SAP HANA. This typically occurs when you are attempting to access or use an InfoCube that has not been converted or optimized for the HANA database environment.
Cause: Legacy InfoCube: The InfoCube may be a legacy object that was designed for traditional database systems and has not been migrated or optimized for SAP HANA. Incompatibility: The InfoCube may contain structures or data types that are not compatible with HANA's in-memory processing capabilities. Missing Optimization: The InfoCube has not been marked or configured as in-memory optimized in the SAP BW system.
Solution: To resolve this error, you can take the following steps: Check InfoCube Status: Go to the InfoCube in the SAP BW system and check its properties to see if it is marked as in-memory optimized. Convert InfoCube: If the InfoCube is not optimized, you may need to convert
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
RS2HANA_VIEW041 DataStore object has at least one field without InfoObject
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
RS2HANA_VIEW040 Data of InfoProvider &1 is not part of the external SAP HANA view
What causes this issue?  For additional information, see the dependencies section for the CompositeProvider in <DS:DE.RSMHANAMODEL>External SAP ...
RS2HANA_VIEW043 External SAP HANA view: InfoObject &1 not supplied by any PartProvider
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
RS2HANA_VIEW044 InfoObject &1 excluded from the external SAP HANA view
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.