Creating validation maps

Validation maps are used when you receive or create EDI documents that requires additional validation beyond what is automatically provided by Data Interchange Services client. Sometimes existing maps can be used with conditional mapping commands to produce similar validations with minor variations, depending on the document received from the trading partner. If there is no similar existing map, then a new map must be created.

The following steps describe how to create a new validation map.

  1. Open the Validation Maps list window by clicking the Mapping button in Data Interchange Services client, then clicking the Validation Maps tab.
  2. Click the New button on the Validation Maps list window. The Create a Validation Map - Map Name wizard appears.
  3. Enter the name of the map and a description, then press the Next button.
  4. Select the name of the dictionary that contains the source document definition, then click Next.
  5. Select the name of the document definition, then click Next.
  6. On the Confirmation page, ensure that the information displayed is correct, then click Finish. The map information you entered is saved to the database, the wizard closes, and the Validation Map editor opens.
  7. Click the Comments tab, and type any information you have about the map into the Comments field.
  8. Click the Details tab. In the Details page, perform the mapping tasks necessary to create the mapping commands that instruct the translator component of WebSphere Partner Gateway how to perform additional validation of the document. Many of the techniques used in data transformation maps can be used here. The FAERROR mapping command is specific to validation maps.
  9. Click the Save button when you are finished. Data Interchange Services client saves the map to the database. It is recommended that you periodically click the Save button to save your changes to the database while you are mapping. The first time a map is saved after mapping commands and comments have been entered, the save process may take a while, especially when the map is based on a large EDI document definition. This is because every node displayed in the Mapping Command page is saved to the database this one time. Subsequent saves will only save changes to the map.
  10. Click File > Close to close the editor when you are finished creating the map.

Copyright IBM Corp. 2003, 2005