Symptom
The connection type is SAP S/4HANA Cloud. When validating connection, the error occurs:
----------------------------------------------------------------------------------
Connection "S4HANA_CLOUD" is valid, but not all features are available.
- Data flows are enabled.
- Replication flows are enabled.
- Remote tables can’t be used because of errors in the connection.
- Model Import is disabled.
Remote Tables: Unable to connect remote source: [SAP][ODBCforABAP] (08001) Open backend connection: Missing Authorization for Service S_PRIVILEGED., Code: 5921, SQL State: HY000
----------------------------------------------------------------------------------
Environment
SAP Datasphere
Cause
Lack of appropriate authority.
Resolution
Please follow Using ABAP SQL Services for Accessing Data from SAP S/4HANA Cloud | SAP Help Portal. Especially Data Federation With Remote Tables.
=== Quote ===
-
To expose the SQL service to get privileged access to the CDS view entities with a communication user, a communication arrangement is required. This involves the following steps:
-
An SAP S/4HANA Cloud business user has created a custom communication scenario in the ABAP Development Tools.
When filling out the authorizations for authorization object S_SQL_VIEW in the communication scenario, note the following:-
On the Sources tab of the Data Builder view editors in SAP Datasphere, the service binding name from the SQL_SCHEMA authorization field is visible as (virtual) schema.
-
In the SQL_VIEWOP authorization field, select the option SELECT to grant federated access.
-
-
An administrator has created a communication system and user in the SAP Fiori launchpad of the ABAP environment.
NoteThe same communication user must be added to all communication arrangements you're using for the connection.
-
An administrator has created a communication arrangement for exposing the SQL service in the SAP Fiori launchpad of the ABAP environment.
-
=== End Quote ===
See Also
SAP Datasphere, SAP S/4HANA Cloud, Integration, Connection, S_PRIVILEGED
Keywords
DWC, DS, S4HC, HC , KBA , DS-DI-CON , Connections , Problem