Skip to content

ERPConnect.RFCServerFunction

Namespace: ERPConnect
Assembly: ERPConnectStandard20.dll

RFCServerFunction represents a single function that can be assigned to an RFCServer object

public sealed class RFCServerFunction

Inheritance

objectRFCServerFunction

Inherited Members

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

RFCServerFunction(string)

Initializes a new RFCServerFunction object. You can also use RFCServer.RegisteredFunctions.add()

public RFCServerFunction(string functionName)

Parameters

functionName string

Name of the function module to be called by SAP system

Properties

Exports

A collection of RFCParameter objects that represents the export parameters that are exchanged during a call.

public RFCParameterCollection Exports { get; }

Property Value

RFCParameterCollection

FunctionName

Name of the function module

public string FunctionName { get; set; }

Property Value

string

Imports

A collection of RFCParameter objects that represents the import parameters that are exchanged during a call.

public RFCParameterCollection Imports { get; }

Property Value

RFCParameterCollection

Tables

A collection of RFCTable objects that represents the table parameters that are exchanged during a call.

public RFCTableCollection Tables { get; }

Property Value

RFCTableCollection

UseTRFC

Defines whether transactional RFC is expected or not.

public bool UseTRFC { get; set; }

Property Value

bool

Methods

LoadFromXML(string)

Loads the RFCServerFunction object from XML

public void LoadFromXML(string path)

Parameters

path string

Path to the source file

LoadFromXML(TextReader)

Loads the RFCServerFunction object from XML

public void LoadFromXML(TextReader reader)

Parameters

reader TextReader

TextReader object for reading the XML

LoadFromXMLString(string)

Loads the RFCServerFunction object from a string which contains XML

public void LoadFromXMLString(string xml)

Parameters

xml string

String which contains the XML

SaveToXML(string)

Saves the RFCServerFunction object to XML

public void SaveToXML(string path)

Parameters

path string

Path to the output file

SaveToXML()

Saves the RFCServerFunction object to XML

public string SaveToXML()

Returns

string

String which contains the XML


Last update: January 4, 2024