# tSAPDSOInput Standard properties

These properties are used to configure tSAPDSOInput running in the Standard Job framework.

The Standard tSAPDSOInput component belongs to the Business family.

The component in this framework is available in all Talend products.

Information noteNote: When prompted that this component requires sapjco.jar, download and install the module as prompted.

## Basic settings

| Property Type | Select the way the connection details<br>will be set.<br><br><ul> <li> <p> <span>Built-In</span>: The connection details will be set                                locally for this component. You need to specify the values for all                                related connection properties manually.</p> </li> <li> <p> <span>Repository</span>: The connection details stored                                centrally in <span><span>Repository</span> &gt; <span>Metadata</span></span> will be reused by this component. You need to click                                the <span>[...]</span> button next to it and in the pop-up                                    <span>Repository Content</span> dialog box, select the                                connection details to be reused, and all related connection                                properties will be automatically filled in.</p> </li> </ul> |
| --- | --- |
| Use an existing connection | Select this check box and from the Connection configuration drop-down list displayed, select the component<br>in which the relevant reused database connection is configured.<br><br>When a Job contains a parent Job and a child Job, the list<br>displayed presents only the connection components in the same Job level. |
| Server Type | Select the type of the SAP server to be connected, either Application Server or Message Server. |
| Client | The SAP system client ID. |
| UserId and Password | The user connection ID and password.<br><br>To enter the password, click the [...] button next to the<br>password field, and then in the pop-up dialog box enter the password between double quotes<br>and click OK to save the settings. |
| Language | The language of the SAP system. |
| Host name | The name or IP address of the host on which the SAP server is running. |
| System number | The SAP system number.<br><br>This property is available only when Application Server is selected from the Server Type drop-down list. |
| System ID | The SAP system ID.<br><br>This property is available only when Message Server is selected from the Server Type drop-down list. |
| Group Name | The SAP group name.<br><br>This property is available only when Message Server is selected from the Server Type drop-down list. |
| Schema and Edit schema | A schema is a row description. It defines the number of fields<br>(columns) to be processed and passed on to the next component. When you create a Spark<br>Job, avoid the reserved word line when naming the<br>fields.<br><br><ul> <li> <p> <span>Built-In</span>: You create and store the schema locally for this component                only.</p> </li> <li> <p> <span>Repository</span>: You have already created the schema and stored it in the                Repository. You can reuse it in various projects and Job designs.</p> </li> </ul><br><br>Click Edit<br>schema to make changes to the schema.<br><br>Information noteNote: If you<br>make changes, the schema automatically becomes built-in.<br><br><ul> <li> <p> <span>View schema</span>: choose this                option to view the schema only.</p> </li> <li> <p> <span>Change to built-in property</span>:                choose this option to change the schema to <span>Built-in</span> for local changes.</p> </li> <li> <p> <span>Update repository connection</span>:                choose this option to change the schema stored in the repository and decide whether                to propagate the changes to all the Jobs upon completion. If you just want to                propagate the changes to the current Job, you can select <span>No</span> upon completion and choose this schema metadata                again in the <span>Repository Content</span>                window.</p> </li> </ul><br><br>This<br>component offers the advantage of the dynamic schema feature. This allows you to<br>retrieve unknown columns from source files or to copy batches of columns from a source<br>without mapping each column individually. For further information about dynamic schemas,<br>see *Talend Studio*<br>*User Guide*.<br><br>This<br>dynamic schema feature is designed for the purpose of retrieving unknown columns of a<br>table and is recommended to be used for this purpose only; it is not recommended for the<br>use of creating tables. |
| Name | Enter the name of the Data Store Object from which data will be retrieved. |
| Max row number | Specify the maximum number of rows to be retrieved. By default, the value is set to -1, which means all rows will be retrieved. |
| Filter Group | Specify the search condition(s) used to filter data to be retrieved by clicking the [+] button to add as many rows as needed, each row for a search condition, and set the value of the following attributes for each condition.<br><br><ul> <li> <p> <span>Column</span>: enter the name of the schema column based on which retrieved data will be filtered.</p> </li> <li> <p> <span>Sign</span>: select either <kbd>Include</kbd> or <kbd>Exclude</kbd> from the drop-down list.</p> <ul> <li> <p> <kbd>Include</kbd>: the data that meets the condition will be retrieved.</p> </li> <li> <p> <kbd>Exclude</kbd>: the data that doesn't meet the condition will be retrieved.</p> </li> </ul> </li> <li> <p> <span>Operator</span>: select from the drop-down list the data filter operator used to build the search condition.</p> </li> <li> <p> <span>Value</span>: specify the search value used to build the search condition. Note that wildcard characters are not supported.</p> </li> <li> <p> <span>High value</span>: specify another search value used to build the search condition for the <span>Between</span> operator.</p> <p>When using a column of Date type to specify a filter, the date and time values in the <span>Value</span> and <span>High Value</span> columns should be in the format <kbd>yyyyMMdd</kbd> and <kbd>HHMMSS</kbd>, which might be different from the format defined in the schema editor. Note that wildcard characters are not supported.</p> </li> </ul><br><br>The following wildcard characters can be used when specifying the search value using pattern:<br><br><ul> <li> <p> <kbd>*</kbd>: match any number of characters.</p> </li> <li> <p> <kbd>+</kbd>: match a single character.</p> </li> <li> <p> <kbd>#</kbd>: be used to escape characters (e.g. *, #) and for exact case sensitive comparison.</p> </li> </ul><br><br>Information noteNote: The Contains pattern operator in the drop-down list of the Operator column is for future extension. |
| Specify a shared destination | Select this check box and specify the shared destination in the<br>Shared destination name field<br>displayed. The shared destination allows the SAP components to use the<br>shared destination on the Talend Runtime when they are executed as part of<br>an ESB Route or ESB Data Service within the Talend Runtime<br>container OSGi Environment.<br><br>Besides specifying the shared destination name in the component,<br>you also need to setup the SAP DataSource for the Talend Runtime.<br>What you need to do to define the SAP DataSource and how to configure it are<br>described in the readme.txt provided in the Talend ESB<br>package within the /add-ons/datasource/sap folder.<br><br>Note that if you use the component's own connection configuration,<br>your SAP connection will be closed at the end of the component. To prevent<br>this from happening, use a shared destination with its name specified. |
| Use FTP-Batch Options | Select this check box when the size of data to be retrieved is larger than the size specified in the Fetch size field. With this check box selected, the SAP system will generate as many files as needed and write the retrieved data into these files, and this component will then read the files via an FTP connection to retrieve data and transfer the retrieved data to the output component.<br><br>The following properties need to be specified when this checkbox is selected:<br><br><ul> <li> <span>File Protocol</span>: Select FTP or the secure alternative SFTP. </li> <li> <p> <span>Host</span>: The IP address or host name of the FTP server.</p> </li> <li> <p> <span>Port</span>: The listening port number of the FTP server.</p> </li> <li> <p> <span>User</span> and <span>Password</span>: The user authentication data required to access the FTP server.</p> </li> <li> <p> <span>Directory</span>: The directory where the files generated by the SAP system will be saved.</p> </li> <li> <p> <span>Data filename prefix</span>: The prefix of the files generated by the SAP system.</p> </li> </ul> |

## Advanced settings

| Fetch size | Enter the maximum size of the resultset (in number of rows) that can be returned<br>from the SAP BW database in response to a BAPI call or a request.<br><br>A value of -1, the default, uses the default fetch size,<br>which is determined by the Java code or the BAPI on SAP side.<br><br>It is recommended to set this field according to the memory space allocated to<br>your Job and the number of fields requested. With a given memory space, the more<br>fields requested, the smaller the fetch size. |
| --- | --- |
| SAP Properties | If you need to use custom configuration for the SAP system being used, complete this table with the property or properties to be customized. For example,<br><br><ul> <li> <p>to establish a Unicode connection between the SAP system and <span>Talend Studio</span>, you need to add the property <kbd>jco.server.unicode</kbd> and set its value to <kbd>1</kbd>. Note that this property works if you are using SAP Java Connector 2.x and is unnecessary for SAP Java Connector 3.0 and higher versions. </p> </li> <li> <p>to set up an SAP connection with Secure Network Communications (SNC), you need to add and set the following properties in this field.</p> <ul> <li> <span>jco.client.snc_mode</span> </li> <li> <span>jco.client.snc_myname</span> </li> <li> <span>jco.client.snc_lib=.../sapcrypto/sapcrypto.dll</span> </li> <li> <span>jco.client.snc_partnername</span> </li> <li> <span>jco.client.snc_qop</span> </li> </ul> <div><span>Information note</span><span>Note:</span>  The values of the above properties vary with the system environment. Contact your SAP system administrator if you are not sure how to set the properties.</div> <p>For more information about setting the SNC parameters, see <a href="https://help.sap.com/viewer/10977ac76c531014a966b3f130d4f853/7.0.36/en-US/d9e8a740bbaa4d8f8bee6f7b173bd99f.html" target="_blank">Configuring SNC: External Programs to AS ABAP Using RFC</a> and <a href="https://help.sap.com/viewer/10977ac76c531014a966b3f130d4f853/7.0.36/en-US/76128150317a47b6a326e63a17017729.html" target="_blank">Communication Paths that Support SNC</a>.</p> </li> </ul><br><br>This property is not visible when the Use an existing connection check box is selected. |
| SAP function extraction path | Select this option to specify a directory for the SAP function to generate files that hold the data extracted. You can enter the path to the directory in the text field to the right.<br><br>If this option is not selected, the files will be generated in the directory specified in the FTP directory field in the Basic settings view.<br><br>This option is available when you select the Use FTP-Batch Options option in the Basic settings view.<br><br>Because Talend Studio does not synchronize the directories specified by SAP function extraction path and FTP directory fields, make sure these two fields point to the same resource.<br><br>Information noteNote: This option is available only if you have installed the R2021-01 Studio Monthly update or a later one delivered by Talend. For more information, check with your administrator. |
| tStatCatcher Statistics | Select this check box to gather the Job processing metadata at the Job level<br>as well as at each component level. |

## Global Variables

| ERROR\_MESSAGE | The error message generated by the component when an error<br>occurs. This is an After variable and it returns a string. |
| --- | --- |

## Usage

| Usage rule | This component is usually used as a start component of a Job or<br>subJob and it always needs an output link. |
| --- | --- |
| Limitation | Specific jar and dll files provided by SAP must be added to your Studio and the workstation hosting your Studio. The exact procedure varies among platforms such as 32-bit or 64-bit Windows or Linux.<br><br><ul> <li> <p>For more information, see <cite>How to install the SAP Java Connector</cite> and the "Centralizing SAP metadata" section in <cite> <span>Talend Studio</span> User Guide</cite>.</p> </li> <li> <p>You can find an example of how to install SAP Java connectors in <span>Talend Help Center</span> (<a href="https://help.talend.com/" target="_blank">https://help.talend.com</a>) and the "Centralizing SAP metadata" section in <span>Talend Studio</span> User Guide.</p> </li> </ul><br><br>Currently only the fields of the DSO itself can be extracted.<br>The extraction of navigation attributes is not supported. |