Mapped DMBS users can access the generated SAP HANA view directly: No

Message type: E = Error

Message class: RS2HANA_CHECK - RS2HANA Check Report

Message number: 095

Message text: Mapped DMBS users can access the generated SAP HANA view directly: No



What causes this issue?

You have disabled the setting <ZH>Direct access to generated SAP HANA
views enabled</>. This prevents all mapped DBMS users from accessing the
generated SAP HANA view of an InfoProvider directly. Instead you have to
provide a view of your own built on top of the generated SAP HANA view.
All DBMS users must be assigned privileges in order to access the
manually created view.


System Response

The system issues an error message and will not allow you to continue with this transaction until the error is resolved.



How to fix this error?

If required, change the setting accordingly. This can be done either by
using transaction RS2HANA_VIEW or, if the setting is not available in
transaction RS2HANA_VIEW, by running method SET_ASSIGN_VIEW_ACCESS_PRIV
of class CL_RS2HANA_VIEW_SETTINGS in transaction SE24 and filling
parameter I_ASSIGN_VIEW_ACCESS_PRIV as follows:
X: Direct access to generated SAP HANA views is enabled
' ' (blank): Direct access to generated SAP HANA views is disabled
<ZH>IMPORTANT: </>After changing the setting<(>,<)> you have to remove
all generated authorizations and then replicate all authorizations again
for all InfoProviders and BW users. You can do this either using report
RS2HANA_AUTH_RUN or the process chain.


Procedure for System Administrators


Error message extract from SAP system. Copyright SAP SE.