Mapping Code Tables Values

In some mappings, code table values recorded in the CDS can be translated directly into codetable values used in the target model. In these cases, a section at the beginning of the mapping script can be used to specify the codetable mappings. For example:

1  <map-code-table source-codetable="CITIZENSTATUS" 
   target-codetable="AlienStatus">
2    <map-value source="US1" target="AS4"/>
3    <map-value source="US2" target="AS1"/>
4  </map-code-table>

In Sample 5, values from the CITIZENSTATUS codetable are being mapped to values in the AlienStatus codetable.