Reputation: 3692
I need to test a module without actually calling our SAP provider via executing a "real" JCoFunction
.
How do I instantiate a "formally correct" JCoFunction
?
I can even just deal with a JCoParameterList
but just can't figure out how to instantiate it or even mock it.
Upvotes: 3
Views: 2787
Reputation: 176
The SAP Java Connector (SAP JCo) is a toolkit that allows a Java application to communicate with any SAP System.
These guys here tried to do the same, using the 3.0 version of the SAP JCo: Can a JCo server simulate a SAP remote function?
My experience from last week is that it is not possible to create a mock SAP server to act like a JCoDestination
.
Upvotes: 1