# Working with SAP IDocs

## Importing IDocs from an SAP server

Talend Data Mapper allows you to create structures by importing IDocs from an SAP server.

### Before you begin

You have installed the SAP Java Connector. For more information, see [Installing the SAP Java Connector](https://help.qlik.com/talend/en-US/components/8.0/sap/installing-sap-jco).

### Procedure

1. In the Data Mapper tab, expand the Hierarchical Mapper node and right-click Structures.
2. Click New &gt; Structure.
3. In the wizard that opens, select Import a structure definition and click Next.
4. Select the type of import, SAP IDocs in this example, and click Next.
5. Enter your SAP server connection properties, then click Next.
   | Property | Value |
   | --- | --- |
   | Host IP address | Your SAP server's host IP address. |
   | System number | Your SAP system ID. |
   | User | Your SAP username. |
   | Password | Your SAP password. |
   | SAP Client | Your SAP client number. |
   | Language | The language of your SAP instance. |
   | Optional properties | If any optional properties are needed to connect to your SAP server, click<br>Add and enter the name and value of the property to<br>add. |
6. Enter search parameters if needed, then click Search to retrieve the available IDocs.

   For more information about the search options, see [IDocs search parameters](https://help.qlik.com/talend/en-US/data-mapper-user-guide/8.0/idocs-search-parameters). ![Search SAP for IDOC types window.](https://help.qlik.com/talend/en-US/data-mapper-user-guide/Resources/images/tdm-idocs-search.png)
7. Select the IDocs to import and click Next.
8. Select the folder in which you want to create the structures and click Next, then click Finish.

### Results

Your structures are now created. ![Structures are created in the selected folder.](https://help.qlik.com/talend/en-US/data-mapper-user-guide/Resources/images/tdm-idocs-structures.png)

### In this section

* [IDocs search parameters](https://help.qlik.com/talend/en-US/data-mapper-user-guide/8.0-R2026-09/idocs-search-parameters)