Skip to content

ERPConnect.BusinessObjectMethod

Namespace: ERPConnect
Assembly: ERPConnectStandard20.dll

Represents a single method of a SAP business object. Please use R3Connection.CreateBapi to create a properly defined instance of this class.

public sealed class BusinessObjectMethod : RFCFunction

Inheritance

objectRFCFunctionBusinessObjectMethod

Inherited Members

RFCFunction.Execute(string, string), RFCFunction.Execute(string), RFCFunction.Execute(), RFCFunction.SaveToXML(XmlWriter), RFCFunction.SaveToXML(string), RFCFunction.SaveToXML(), RFCFunction.LoadFromXML(XmlReader), RFCFunction.LoadFromXML(string), RFCFunction.LoadFromXML(TextReader), RFCFunction.LoadFromXMLString(string), RFCFunction.Name, RFCFunction.Connection, RFCFunction.Imports, RFCFunction.Exports, RFCFunction.Changings, RFCFunction.Tables, RFCFunction.CallbackFunctions, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

BusinessObjectMethod(R3Connection)

Initializes an BusinessObjectMethod

public BusinessObjectMethod(R3Connection Connection)

Parameters

Connection R3Connection

R3Connection object

Properties

MethodName

The Name of the Method of the SAP Business Object

public string MethodName { get; set; }

Property Value

string

ObjectName

The Name of the SAP Business Object

public string ObjectName { get; set; }

Property Value

string

Returns

Rteurns a collection of BapiReturn object that represent all the BAPI return messages.

public BapiReturnCollection Returns { get; set; }

Property Value

BapiReturnCollection

Methods

CommitWork(bool)

Execute external Commit when using BAPIs (only few BAPIs need this function)

public void CommitWork(bool Wait)

Parameters

Wait bool

Wait until Commit is processed

Execute()

Exectutes the BAPI

public override void Execute()

RollbackWork()

Execute external Rollback when using BAPIs (only few BAPIs support this function)

public void RollbackWork()