Can we use JCo with SAP Cloud SDK for Java on localhost?

265 Views Asked by At

Can we use JCo with SAP Cloud SDK for Java on localhost?

I managed to use JCo on SAP Cloud Platform, but I'm not sure if it works on localhost.

https://blogs.sap.com/2020/05/08/how-to-call-function-modules-using-sap-cloud-sdk-for-java/

Without localhost testing, it takes so much time to develop Java Apps.

Regards, Yohei

2

There are 2 best solutions below

3
Emdee On

As per my knowledge it does work with SCP Neo runtime. It does not work for CF apps as JCo is contained in the SAP Java Buildpack which is not available locally.

4
Trixx On

Why don't you use JCo 3.x standalone in your local JVM environment for calling your SAP on-premise systems? This is what the standalone version is designed for. The client API is nearly the same, so it should work to write runtime environment independent JCo client application code.

You can get the JCo standalone SDK from https://support.sap.com/jco