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

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 = "") [ Language = objectscript ]
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) [ Language = objectscript ]
classmethod CreateFunction(repository As %ObjectHandle, bapiName As %String) as %ObjectHandle [ Language = objectscript ]
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 = "") [ Language = objectscript ]
classmethod GetCustomers(KUNNR As %String, NAME1 As %String, port As %Integer = 22222, host As %String = "127.0.0.1", jcoJar As %String = "") as %ObjectHandle [ Language = objectscript ]
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 = "") [ Language = objectscript ]
classmethod PrintCustomers(KUNNR As %String, NAME1 As %String, port As %Integer = 22222, host As %String = "127.0.0.1", jcoJar As %String = "") [ Language = objectscript ]
classmethod PrintError() [ Language = objectscript ]

Inherited Members

Inherited Methods

FeedbackOpens in a new window