ERPConnect.Utils.ReadTable
Namespace: ERPConnect.Utils
Assembly: ERPConnectStandard20.dll
Reads SAP database tables via RFC
Inheritance
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
ReadTable()
ReadTable(IR3Connection)
Parameters
connection
IR3Connection
Properties
Connection
Property Value
Fields
Represents the fields that should be / have been retrieved. This collection will be filled and / or refreshed during Run().
Property Value
OrderBy
Defines the order of the result on SAP side. Works only with specialized custom function modules.
Property Value
PackageSize
Number of rows to retrieve per RFC call
Property Value
RaiseIncomingPackageEvent
Indicates whether the IncomingPackage event should be raised and results should be processed per package.
Property Value
Result
Result of the query, if IncomingPackage event is not used.
Property Value
RowCount
Upper limit for number of rows retrieved in total
Property Value
RowSkip
Number of rows to be skipped at the start.
Property Value
TableName
Property Value
WhereClause
Selection criteria
Property Value
Methods
AddField(string)
Appends a field to the Fields collection
Parameters
fieldName
string
Name of DDIC table field
RetrieveAllFieldsOfTable()
Retrieves all fields of the given table from SAP and fills the Fields collection
Run()
Retrieves table rows from SAP. This method will block until all data has been extracted.
SetCustomFunctionName(string)
Call this method to use a custom function module. This overrides ERPConnect.IR3Connection.ReadTableFunctionName
.
Parameters
name
string
Name of the custom function module
IncomingPackage
IncomingPackage is fired, when addtional data packages are fetched from SAP.
Event Type
PackageProgress
PackageProgress is fired, when addtional data packages are fetched from SAP.