Skip to main content

EnsLib.JavaGateway.SAPTest

class EnsLib.JavaGateway.SAPTest extends %Library.RegisteredObject

Method Inventory

Methods

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

FeedbackOpens in a new tab