Skip to main content Skip to complementary content

tSAPConnection Standard properties

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

The Standard tSAPConnection 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

Either Built-in or Repository.

 

Built-in: No property data is stored centrally.

 

Repository: Select the Repository file where Properties are stored. The fields that follow are pre-filled in using fetched data.

SAP API Version

Select a version from the drop-down list:
  • talend sap api: a custom business layer above the SAP JCO driver.
  • sap jco 3.*: a driver that enables the Studio to communicate with the SAP system through SAP's RFC protocol.

Note that the opened SAP connection can be reused by tSAPBapi and tSAPTableInput only if talend sap api is selected.

Connection configuration

Client type: enter your usual SAP connection.

Userid : enter user login.

Password: enter password.

Language: specify the language.

Host name: enter the IP address of the SAP system.

System number: enter the system number.

To enter the password, click the [...] button next to the password field, and then in the pop-up dialog box enter the password between double quotes and click OK to save the settings.

Specify a shared destination

Select this check box and specify the shared destination in the Shared destination name field displayed. The shared destination allows the SAP components to use the shared destination on the Talend Runtime when they are executed as part of an ESB Route or ESB Data Service within the Talend Runtime container OSGi Environment.

This option is available only when you select sap jco 3.* from the SAP API Version drop-down list.

Besides specifying the shared destination name in the component, you also need to setup the SAP DataSource for the Talend Runtime. What you need to do to define the SAP DataSource and how to configure it are described in the readme.txt provided in the Talend ESB package within the /add-ons/datasource/sap folder.

Note that if you use the component's own connection configuration, your SAP connection will be closed at the end of the component. To prevent this from happening, use a shared destination with its name specified.

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,
  • to establish a Unicode connection between the SAP system and Talend Studio, you need to add the property jco.server.unicode and set its value to 1. 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.

  • to set up an SAP connection with Secure Network Communications (SNC), you need to add and set the following properties in this field.

    • jco.client.snc_mode
    • jco.client.snc_myname
    • jco.client.snc_lib=.../sapcrypto/sapcrypto.dll
    • jco.client.snc_partnername
    • jco.client.snc_qop
    Information noteNote: 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.

    For more information about setting the SNC parameters, see Configuring SNC: External Programs to AS ABAP Using RFC and Communication Paths that Support SNC.

This property is not visible when the Use an existing connection check box is selected.

Advanced settings

ftp and http based programs

To invoke from the SAP server a function which requires document downloading, select this check box and make sure that SAPGUI has been installed with the SAP system.

If this check box is selected but SAPGUI has not been installed, errors will occur.

This check box will not be available if you select Use an existing connection check box in the Basic settings tab.

tStat Catcher Statistics

Select this check box to collect log data at the component level.

Global Variables

Global Variables

ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box.

A Flow variable functions during the execution of a component while an After variable functions after the execution of the component.

To fill up a field or expression with a variable, press Ctrl + Space to access the variable list and choose the variable to use from it.

For further information about variables, see Talend Studio User Guide.

Usage

Usage rule

This component is more commonly used with other tSAP* components, especially with the tSAPCommit and tSAPRollback components.

Support

tSAPConnection should be used to interact with the ERP part of SAP, including S4/HANA.

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.
  • For more information, see How to install the SAP Java Connector and the "Centralizing SAP metadata" section in Talend Studio User Guide.

  • You can find an example of how to install SAP Java connectors in Talend Help Center (https://help.talend.com) and the "Centralizing SAP metadata" section in Talend Studio User Guide.

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!