Skip to content


The following section describes how to control and extract SAP Queries with ERPConnect.


SAP Queries refer to queries that can be created by the SAP transactions SQ02 and SQ01. If you want to use a BW Query as a data source, see BW Cube/Queries.

About SAP Queries

SAP Queries are used to access data sets, see SAP Documentation - Working with Queries for more information.

The input of a Query is defined by the SelectParameters collection. Every input parameter can contain an arbitrary number of values. The values are represented by ranges. In addition, a query object contains a Fields collection that in turn contains the output fields.

The figure below shows the object hierarchy that is provided by the Queries classes in ERPConnect.
SAP Query Object Model

More information on working with the ERPConnect Queries classes is provided in the following sections: