# Mapping the input data flow

## Procedure

1. Double-click the first tXMLMap to open its map editor. In the *in* table on the right side, right-click the node *doc* and select Import From Repository from the contextual menu.

   ![](https://help.qlik.com/talend/en-US/components/8.0/Resources/images/components-tsapbapi_s2_txmlmap1_importschema.png)
2. In the pop-up Metadata dialog box, select Input\_Schema in the folder *RFC\_READ\_TABLE* and click OK to close the dialog box. The schema is added to the XML tree.

   ![](https://help.qlik.com/talend/en-US/components/8.0/Resources/images/components-tsapbapi_s2_txmlmap1_selectmetadata.png)
3. Drag and drop all columns in the input table *main:row1* on the left side to the corresponding elements in the *in* table on the right side. Then in the *in* table, delete the other elements that do not need an input value.

   ![](https://help.qlik.com/talend/en-US/components/8.0/Resources/images/components-tsapbapi_s2_txmlmap1.png)
4. Click OK to save the settings and close the map editor.
5. Connect tSAPBapi to the second tXMLMap using a Row &gt; Main connection.