|
Back to |
In the mapping stage of the query process, you map the fields of your query to the columns of your output file. Each column header corresponds to a field. Winshuttle Query provides easy drag-and-drop editing of fields. Output options in Query include Microsoft Excel, Microsoft Access, XML, text, SharePoint lists, and Microsoft SQL Server files.
You can map the fields of any data source available to QUERY.
The map pane before a query file is mapped. Click Create Mapping to map manually or click Auto Mapping to automatically map all the query fields.
In the mapping stage of the query process, you map the fields of your query to the columns of your output file. Each column header corresponds to a field. Query provides easy drag-and-drop editing of fields for queries that are already mapped.
To change query mapping
To map fields manually
To map fields to an existing or new data file from the map pane (Excel or Access)
The Auto Map File dialog box appears.
-or-
You can use Auto Mapping to automatically map all data fields in the query file to Excel worksheet columns or Access database fields.
To auto map query fields in the mapper (Excel, Access or SQL database)
The fields are automatically arranged in the result preview form.
The AutoMap button as it appears in the Mapping pane.
The result file preview consists of columns or rows into which you drag fields. With this form, you can see how your output file will look.
To change the type of output file
Note: The use of Query with SQL Server requires Winshuttle SERVER. For more information, see the Winshuttle SERVER for QUERY section below. Winshuttle SERVER is part of Winshuttle Enterprise licensing.
S. No |
Row ID or sequence of fields for output |
SAP field name |
SAP name, usually a German acronym or abbreviation |
Expression |
The table name and field name |
SAP Field Description |
A description in English of the contents of the field |
Field Type |
Byte, decimal, integer, string, date or time |
Field Size |
Number of characters in the field contents |
Padding |
Controls automatic padding for numeric values of the string fields. Note: If you compare non-numeric data without padding, QUERY may return unexpected results. |
Mapped to Column |
The letter of the output column to which a field is mapped. Available for Microsoft Excel and Microsoft Access |
Fields that apply only to Excel |
|
Excel Expression |
The excel formula you want to apply on corresponding field |
Expression evaluation cell |
The cell which will be used for interim calculations of excel formula |
Transform original mapping |
Option to overwrite the original data with transformed data |
Expression evaluation description |
Relevant header description for the evaluation cell |
To map fields to Excel column headers
Drag each selected field and drop it under a column header in the output file.
To map fields to Access tables
To modify fields in an Access table
You can output to any existing SharePoint site, not just CENTRAL SharePoint sites, and to any SharePoint lists with the same structure as your file, or to a new or autocreated list.
SharePoint lists are particularly useful when your data is part of a Winshuttle Workflow.
To map fields to XML, SharePoint, or text files
To sort mapper fields for XML destination
By using Excel formulae during mapping stage, you can transform data before downloading it. This feature is available only when the destination type is Excel.
You may also choose to give relevant header description for the evaluation cell in the column Expression Evaluation Description. This information is optional.
After you save the changes and run the query, you can extract the transformed data.
To open an existing result file
Mapping to an existing file does not change the headers in the file.
To save a file
With the Winshuttle SERVER, you can send extracted data to a SQL Server database. When you save the table, you connect to the server and select a database. Your new table is then created in the database. Winshuttle SERVER must first be connected to SQL servers. For more information, see Winshuttle SERVER Configuration.
To map fields to a SQL Server table
If you want, click Add Log Column to add a column into which the SAP log data can be written.
To open an existing database table
To save a file to SQL Server table
Select a database where information will be stored. Click Connect. The data movement happens only within the database so you do not see the file open. However, the status bar displays a message to show the file name, the server on which it was created, and the database in which it was stored .
To modify fields in an new SQL Server table
NOTE: You cannot rename a table or change existing fields in a SQL Server table. You can only add fields or a log column.
After selecting a particular destination type user can undo any step performed in mapping. The number of levels of undo is unlimited.
To undo mapping
Also in this section New Features in Winshuttle QUERY version 10.6/10.7 Getting help in Winshuttle QUERY |