|
Back to |
When you create a script, you can ensure that anyone who runs that script first validates the data in the accompanying data sheet before posting it. With validation included in the script, you do not need a separate validation sheet. Validation is off by default and must be turned on in the mapping screen.
Important: Before you turn validation on, be sure that the script contains only one commit code and that the commit code appears at the end of the script.
A commit code represents any kind of save action. Example commit code values include =BU and =SICH.
If a transaction script contains more than one commit code, some of the data might be committed to SAP during validation. This has been fixed in Studio v11.0.2.
Validation is available for all data sources.
The Run pane displays the Validation Log Column. You can also edit the column in the Run pane.
For Excel, validation works for all line items and the validation log messages are written next to the individual line items. For Access tables, the innermost loop table is used for writing validation messages. The validation is performed on the individual line items along with their header values and does not check the integrity of the complete document.
When you turn on validation for the script, you have the option to define a validation column. In the Mapper, the Validation log row appears below the Log row. Drag to map the column as you would any other column.
The Run pane displays the Validation Log Column. You can also edit the column in the Run pane.
Linked scripts, both Excel and Access, can be validated. Validation on linked scripts is possible for the following configurations:
To turn validation on or off
You can validate data to ensure that there are no errors before you upload it. When you validate, the data is not uploaded.
To validate a data file
Also in this section Setting conditions: IF statements Compensating for missing SAP screens and fields |