Message type: E = Error
Message class:  RS2HANA_VIEW - HANA Views for BW Objects 
Message number: 149
Message text: External SAP HANA view: Use of optional variables not supported
Per selection, per characteristic only one variable with entry type
optional is allowed.
External SAP HANA view is not supported.
Change the entry type of the variable or remove the variable.
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 error message "RS2HANA_VIEW149 External SAP HANA view: Use of optional variables not supported" typically occurs in the context of SAP BW/4HANA or SAP BW on HANA when you are trying to use optional variables in a HANA view that is being consumed by a BW query or report. This error indicates that the HANA view you are trying to use does not support optional variables, which can lead to issues when trying to execute queries that rely on these variables.
Cause: Optional Variables: The error arises because the HANA view is designed in such a way that it does not support optional variables. Optional variables are those that can be left blank or not provided when executing a query. HANA View Design: The design of the HANA view may not accommodate the logic required to handle optional variables, which can lead to runtime errors when the query is executed. BW Query Configuration: The
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
RS2HANA_VIEW148 &1: Error while checking external SAP HANA view for MD with hierarchy
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
RS2HANA_VIEW147 &1: External SAP HANA view for MD with hierarchy not in repository
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
RS2HANA_VIEW150 External SAP HANA view: Variable '&1' set as mandatory
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
RS2HANA_VIEW151 Navigation attribute &1 is excluded from the external SAP HANA view
What causes this issue?  A navigational attribute is not part of a PartProvider.System Response  The navigational attribute is not part of the externa...
Click on this link to search all SAP messages.