Test Running Mappings 
You can test run each mapping to simulate the runtime execution and run validation checks on the mapping. To test run the current mapping using the sample data saved in the source files, do one of the following:
In the toolbar, click
(Test Run).
In the menu bar, hoose .
On your keyboard, press F5.
You can also test run the mappings using some advanced options. To start an advanced test run, do one the following:
In the toolbar, click
(Advanced Test Run).
In the menu bar, choose .
On your keyboard, press F6.
In the Advanced Test Run window, you can do the following:
Test run each mapping in turn
Define different data sources for different sources files
If you have translated runtime text (error messages and parameters), you can select different base languages to display translations.
Depending on the source file type and the specified data source option, the data used for test run can be different, as listed in the table below:
Source File Type | Option | Source Data | Comments |
|---|---|---|---|
RPT | Use sample data in the source .rpt file | Sample data in the source file | None |
XML | Use the embedded XML data | ||
RPT | Use External XML file exported from the source .rpt file | Updated data in an XML file that is exported from the source RPT file | For more information about how to update data in an RPT file and how to export an RPT file to the XML format, see the SAP Crystal Reports online help. |
XML | Use an external XML file | Data in a file whose structure matches the source file | The structure of the external XML file must match the source file. For information about the matching rules, see Updating Source or Target Files. |
RPT | Preview RPT Data | Real data in a connected SAP Business One company | If you are not designing your format project on the landscape server, you need to provide the System Landscape Directory server address. You can specify different parameter values to have different output. |
If the test run fails, the relevant messages are displayed on the Message tab. For runtime data validation failure, the messages you specify on the Validation tab appear.
To save the test run results, right-click any space on the Output tab and choose Export All. Then in the Save As window, specify the file name, and choose the Save button.