# SAP Direct connection testing failure

**URL:** <https://developer.sailpoint.com/discuss/t/sap-direct-connection-testing-failure/2428>\
**Category:** SHF Discussion and Questions\
**Created:** [December 16, 2021, 9:47am UTC](https://developer.sailpoint.com/discuss/t/sap-direct-connection-testing-failure/2428 "2021-12-16T09:47:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![seemarani](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@seemarani](https://developer.sailpoint.com/discuss/u/seemarani)\
**Post date:** [December 16, 2021, 9:47am UTC](https://developer.sailpoint.com/discuss/t/sap-direct-connection-testing-failure/2428/1 "2021-12-16T09:47:48Z")

</div>

Hello team,

We’ve configured SAP direct connection as per the connector guide. We’re not able to see test connection for the application. Opened all 3 ports as mentioned. Added SAP hostname in hosts.yaml and from VA’s able to ping all 3 IP’s. Any suggestion

more\nCaused by: com.sap.conn.jco.JCoException: (102) JCO\_ERROR\_COMMUNICATION: Initialization of repository destination SAP S4 Hana On prem [source] failed: Connect to SAP gateway failed\n\tconnection parameters: TYPE=A DESTINATION=" [source]" ASHOST=\*\*\*\* SYSNR=\*\* PCS=1\n\nLOCATION CPIC (TCP/IP) on local host with Unicode\nERROR hostname ‘?’ unknown\nTIME

---

<div class="post-metadata">

**Author:** ![chunwengpang](https://avatars.discourse-cdn.com/v4/letter/c/ce7236/32.png) [@chunwengpang](https://developer.sailpoint.com/discuss/u/chunwengpang)\
**Post date:** [December 22, 2021, 4:33am UTC](https://developer.sailpoint.com/discuss/t/sap-direct-connection-testing-failure/2428/2 "2021-12-22T04:33:36Z")

</div>

hi, @seemarani

have you upload the sapjco3.dll and sapjco3.jar in custom connector file section.

Thanks,  
Chun weng

---

<div class="post-metadata">

**Author:** ![seemarani](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@seemarani](https://developer.sailpoint.com/discuss/u/seemarani)\
**Post date:** [December 22, 2021, 4:59am UTC](https://developer.sailpoint.com/discuss/t/sap-direct-connection-testing-failure/2428/3 "2021-12-22T04:59:12Z")

</div>

@chunwengpang Yes its done

---

<div class="post-metadata">

**Author:** ![Divya\_Sri\_123](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@Divya\_Sri\_123](https://developer.sailpoint.com/discuss/u/Divya_Sri_123)\
**Post date:** [June 22, 2023, 7:30am UTC](https://developer.sailpoint.com/discuss/t/sap-direct-connection-testing-failure/2428/4 "2023-06-22T07:30:23Z")

</div>

Hi @seemarani  
are you able to resolve this issue, if yes, could you please let us know the fix?  
we are also facing the same issue  
we have uploaded sapjco3.jar where as we didn’t upload sapjco3.dll (because configuration is not allowing us to upload)  
Thanks,  
Divya

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [August 21, 2023, 7:30am UTC](https://developer.sailpoint.com/discuss/t/sap-direct-connection-testing-failure/2428/5 "2023-08-21T07:30:49Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
