Symptom
Connectivity from SAP Datasphere to an SAP S/4HANA On-Premise system fails with the following error message:
Remote Tables error: “Unable to connect remote source: [SAP][ODBCforABAP] (ABAPA) RFC prepare call: line count = 0 (adapter type: abapodbc, source name: DWC_S4H_INBOUND.CON_IN_S4H_DSP), Code: 5921, SQL State: HY000”
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental".
Environment
SAP Datasphere
Reproducing the Issue
- Open the Datasphere, go to connection tab
- Select the affected S/4HANA On-Premise connection
- Validate the connection
Cause
Resolution
Restart the underlying SAP HANA Cloud database of the Datasphere instance according to the steps below:
- System > About > More > Restart SAP HANA Cloud.
See Also
Keywords
datasphere, remote tables, smart data access, sda, odbcforabap, abapodbc, rfc prepare call line count = 0, code 5921, hy000, connection valid but not all features, model import disabled, s/4hana upgrade, cloud connector, replication flows enabled, data flows enabled , KBA , DS-DI-CON , Connections , Problem
SAP Knowledge Base Article - Public