This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB namespace > EnsLib.JavaGateway.SAPTest

EnsLib.JavaGateway.SAPTest

class EnsLib.JavaGateway.SAPTest extends %Library.RegisteredObject

Method Inventory (Including Private)

Methods (Including Private)

classmethod CompanyCodeBAPI(port As %Integer, host As %String = "127.0.0.1", jcoJar As %String = "")
classmethod Connect(jcoJar As %String, port As %Integer, host As %String = "127.0.0.1", ByRef gateway As EnsLib.JavaGateway.JavaGateway, ByRef connection As %ObjectHandle, ByRef repository As %ObjectHandle)
classmethod CreateFunction(repository As %ObjectHandle, bapiName As %String) as %ObjectHandle
ClassMethod CreateFunction(repository As com.sap.mw.jco.JCO.Repository, bapiName As %String) As %ObjectHandle
classmethod GetBAPIs(port As %Integer, host As %String = "127.0.0.1", jcoJar As %String = "")
classmethod GetCustomers(KUNNR As %String, NAME1 As %String, port As %Integer = 22222, host As %String = "127.0.0.1", jcoJar As %String = "") as %ObjectHandle
Note: in order to run this sample, you need to have Demo.SAP.* classes
classmethod HelloWorldBAPI(port As %Integer, host As %String = "127.0.0.1", jcoJar As %String = "")
classmethod PrintCustomers(KUNNR As %String, NAME1 As %String, port As %Integer = 22222, host As %String = "127.0.0.1", jcoJar As %String = "")
classmethod PrintError()

Inherited Members

Inherited Methods (Including Private)

FeedbackOpens in a new window