Warning: Deprecated documentation
You are using the old version of the online help for ERPConnect.
Make sure to use the documentation within the new HelpCenter for ERPConnect.

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

Note: 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 SAP BW.

About SAP Queries #

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

The input image of a Query is filled using 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:

Calling SAP Queries