Symptom
This KBA applies to SAP Datasphere ABAP type connections to ABAP-based On-Premise systems via SAP Cloud Connector.
The following error occurs for feature data flow and replication flow when validating connection in SAP Datasphere.
----------------------------------------------------------------------------------------------
Connection <connection name> couldn’t be established.
- Data flows can’t be used because of errors in the connection.
- Replication flows can’t be used because of errors in the connection.
Data Flows: Cause: ABAP connector(Axino) ABAP connection check FAILED: rfc connection broken: rc=1, msg="Message: An invalid handle 'RFC_CONNECTION_HANDLE' was passed to the API call\nCode: RFC_INVALID_HANDLE"
Replication Flows: Cause: ABAP connector(Axino) ABAP connection check FAILED: rfc connection broken: rc=1, msg="Message: An invalid handle 'RFC_CONNECTION_HANDLE' was passed to the API call\nCode: RFC_INVALID_HANDLE"
Environment
SAP Datasphere
Reproducing the Issue
Validate the connection.
Cause
Possible Cause 1:
Misconfiguration of the SAP Cloud Connector mapping for the ABAP system.
Possible Cause 2:
Insufficient authorization to execute the function module by the communication user maintained in the SAP Datasphere connection.
Possible Cause 3:
Missing required Notes.
Resolution
Solution for possible cause 1: Check the configuration between Datasphere and SAP Cloud Connector. The following resources should be maintained:
|
Connection Type (Protocol) |
Accessible Resources Based on Use Case |
|
SAP ABAP (RFC) |
If you are connecting to an ABAP-based system with DMIS add-on installed, limit the accessible resources to the following function modules:
For more information, see SAP Note 2835207. |
Please check if the prefix is missing or if there are any typos. For more information, please refer to Configure Cloud Connector | SAP Help Portal .
Solution for possible cause 2: Please follow the KBA below to grant the required profile based on the container you wish to access: KBA 3100673 - SAP Data Intelligence / SAP Datasphere - ABAP Integration - Security Settings.
You can perform a trace in transaction SU53 to see the authorizations missing.
Solution for possible cause 3: Please check SAP Note Analyzer and implement all notes (including prerequisites) without the green checkmark. For detailed instructions, please refer to How to check relevant note corrections in On-premise ABAP-based systems for Data Flows and Replication Flows | SAP Help Portal - Part 2, Step 1,2,3.
See Also
KBA 3260800 - ABAP connection validation errors: Invalid endpoint, An invalid handle, Denying request for resource, Could not invoke function - SAP DI - SAP for Me
Keywords
connection validation failure, RFC_INVALID_HANDLE, Cloud Connector, RFC_CONNECTION_HANDLE, replication flow, data flow , KBA , DS-DI-CON , Connections , Problem
SAP Knowledge Base Article - Public