ERPConnect.RFCFunction
Namespace: ERPConnect
Assembly: ERPConnectStandard20.dll
RFCFunction objects represent SAP function modules that can be executed in the SAP system.
Inheritance
Derived
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
RFCFunction(string)
Initializes a new RFCFunction object
Parameters
functionName
string
The name of the function module
RFCFunction(IR3Connection, string)
Initializes a new RFCFunction object
Parameters
connection
IR3Connection
A R3Connection object
functionName
string
The name of the function module
Properties
CallbackFunctions
Gets a list of associated callback functions that are used for handling incoming callbacks
Property Value
Changings
Returns a RFCParameter collection which represents the export parameters to be exchanged with the SAP system
Property Value
Connection
Gets / sets the R3Connection object which is assigned to the function
Property Value
Exports
Returns a RFCParameter collection which represents the export parameters to be exchanged with the SAP system
Property Value
Imports
Returns a RFCParameter collection which represents the import parameters to be exchanged with the SAP system
Property Value
Name
Gets / sets the name of the function module
Property Value
Tables
Returns a RFCTable collection which represents the tables to be exchanged with the SAP system
Property Value
Methods
Execute(string, string)
Executes a function in qRFC context. No import parameters are passed back to the calling program
Parameters
tid
string
Transaction ID
queue
string
Name of the inbound queue
Execute(string)
Executes a function in tRFC context. No import parameters are passed back to the calling program
Parameters
tid
string
Transaction ID
Execute()
Executes the function module. Consider using ERPConnect.R3Connection.Execute(ERPConnect.RFCFunction)
instead.
LoadFromXML(XmlReader)
Loads the RFCFunction object from XML
Parameters
reader
XmlReader
XmlReader object for reading the XML
LoadFromXML(string)
Loads the RFCFunction object from XML
Parameters
path
string
Path to the source file
LoadFromXML(TextReader)
Loads the RFCFunction object from XML
Parameters
reader
TextReader
TextReader object for reading the XML
LoadFromXMLString(string)
Loads the RFCFunction object from a string which contains XML
Parameters
xml
string
String which contains the XML
RetrieveMetadata()
SaveToXML(XmlWriter)
Saves the RFCFunction object to XML
Parameters
writer
XmlWriter
XmlWriter object for writing the XML
SaveToXML(string)
Saves the RFCFunction object to XML
Parameters
path
string
Path to the output file
SaveToXML()
Saves the RFCFunction object to XML
Returns
String which contains the XML