# tSAPBWInput Standard properties

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

The Standard tSAPBWInput component belongs to the Business family.

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

## Basic settings

| Property type | Either Built-in or Repository<br>. |
| --- | --- |
|  | Built-in: No property data stored<br>centrally. |
|  | Repository: Select the repository<br>file where Properties are stored. The fields that come after are<br>pre-filled in using the fetched data. |
| Schema and Edit<br>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>Click Edit<br>schema to make changes to the schema. If the current schema is of the Repository type, three options are available:<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> |
| JDBC URL | Enter the JDBC URL of the database you want to connect to. For<br>example, enter:<br>*jdbc:jdbc4olap://server\_address/database\_name*<br>to connect to an SAP BW database. |
| Username | Enter the username for DB access authentication. |
| Password | Enter the password for DB access authentication.<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. |
| Table Name | Type in the name of the DB table. |
| Query Type | Either Built-in or Repository. |
|  | Built-in: No property data stored<br>centrally. |
|  | Repository: Select the repository<br>file where Properties are stored. The fields that come after are<br>pre-filled in using the fetched data. |
| Guess Query | Enter your DB query paying particularly attention to properly sequence<br>the fields in order to match the schema definition. |

## Advanced settings

| Trim all the String/Char columns | Select this check box to remove leading and trailing whitespace from<br>all the String/Char columns. |
| --- | --- |
| Trim column | Remove leading and trailing whitespace from defined columns.<br><br>Information noteNote:<br><br>Clear Trim all the String/Char<br>columns to enable Trim columns in this field. |
| tStatCatcher Statistics | Select this check box to collect log data at the component<br>level. |

## Global Variables

| Global Variables | ERROR\_MESSAGE: the error message generated by the component when an<br>error occurs. This is an After variable and it returns a string. This variable functions<br>only if the Die on error check box<br>is cleared, if the component has this check<br>box.<br><br>A Flow variable functions during the execution of a component<br>while an After variable functions after the execution of the component.<br><br>To fill up a field or expression with a<br>variable, press Ctrl + Space to<br>access the variable list and choose the variable to use from it.<br><br>For further information about variables, see *Talend Studio*<br>*User Guide*. |
| --- | --- |

## Usage

| **Usage rule** | This component supports SQL queries for SAP BW database using a JDBC<br>connection. |
| --- | --- |
| 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> |