QUERY > QUERY Tutorial > Introduction: Getting started with QUERY
Introduction: Getting started with QUERY
Extracting information in QUERY centers on a three-step process: Select-Map-Run, so that you can easily build and execute your query. After each step of the process, you return to the three-pane screen.
You can output your query to Excel, Access, XML, text, SharePoint lists, or SQL Server files. For the purposes of this demonstration, we will output to an Excel file.
Production servers versus nonproduction servers
When you first create a query, it is good practice to build and test the query on a nonproduction servers.
Creating a query
To begin a query
- In QUERY, click New.
- In the Select pane, click Create Query.
- The SAP logon pad appears. Select the server on which you want to build a test query. It is good practice to test only on a nonproduction server.
- To set the system as the default for every logon, select Use selected system as default. Click OK.
- Under User Data, enter your user name and password. Click OK. The QUERY File Properties dialog box appears.
- Select the type of data source you want, whether tables, InfoSets and queries, or logical databases. Note that InfoSets and SAP queries must be enabled by the administrator before you can use them.
- Specify a title, reason for the file, and add comments as needed. For example, a title might be “Materials type” and a reason for the file might be “List material types acquired in past month.”
- Add a title and the reason why the file was created, if you want.
- QUERY supplies the SAP system, the alias of the person who created the file, and the time and date on which the new query was started.
- If you want to protect the query with a password, click Lock Queryfile, and then enter and confirm a password. Click OK.
Authorization issues
If you cannot complete a transaction and receive authorization errors, ensure that you have Winshuttle Function Module installed. Winshuttle products use remote function calls to access SAP, which add another layer of security to your processes. Verify that you are authorized to access the appropriate Winshuttle authorization objects by clicking the Authorization Object button on the Tools tab. For more information, see Authorizations.
.ini Issues
If you have problems logging on and receive .ini errors, check the location of the .ini file. You may need to point SAP to your .ini file.