Skip to main content Skip to complementary content

Defining the properties of tHMap

Procedure

  1. Select the tHMap component to define its properties.
  2. Click the Sync columns button to synchronise the schema between the different components of your Job.
  3. Click the [...] button next to the Open Map Editor field to create a new map.
  4. In the tHMap Structure Generate/Select dialog box that opens, select Select an existing hierarchical mapper structure for the input structure, and then click Next.
  5. Select the IDoc structure that you imported earlier, and then click Next and then Finish.
  6. Do the same for the output structure, again selecting the IDoc structure that you imported earlier, and then click Next and then Finish.
  7. In the Mapping perspective that opens, in the Data Mapper view, expand Hierarchical Mapper, Maps, Jobs and then idoc_job, and then right-click the tHMap_1 map and select Properties in the contextual menu.
  8. Click the [...] button next to the Output Representation field, select XML in the dialog box that opens, click OK, and then click OK again to close the Properties dialog box.
  9. In the map, drag the root element from the Input (IDocs) side to its corresponding root element on the Output (XML) side to create a simple map in which the input file will be transformed into an XML file on output.
  10. Press Ctrl+S to save your changes to the map.
  11. Switch back to the Integration perspective to complete the settings for the tHMap component in your Job.
  12. Set Read Input As to Single column.
  13. Set Write Output As to String (single column).

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!