<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic tELTSAPMap: BAPI failed to start the background job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tELTSAPMap-BAPI-failed-to-start-the-background-job/m-p/2292408#M65482</link>
    <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;we're running Talend Cloud API Services with &lt;B&gt;Studio R2020-07-7.3.1,&lt;/B&gt; the SAP modules installed are from &lt;B&gt;TEDK910058.zip&lt;/B&gt;. Using &lt;B&gt;tELTSAPMap &lt;/B&gt;to extract data from several tables we run into an error AFTER the data has been extracted and placed on the FTP server:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;[ERROR] org.talend.sap.impl.SAPConnectionFactory- BAPI failed to start the background job&lt;/P&gt;&lt;P&gt;[FATAL] sapservices.sap_tablejoin_0_1.SAP_TableJoin- tELTSAPMap_1 BAPI failed to start the background job&lt;/P&gt;&lt;P&gt;java.lang.RuntimeException: BAPI failed to start the background job&lt;/P&gt;&lt;P&gt;at org.talend.sap.impl.model.table.SAPBatchDataIndexBased.nextReader(SAPBatchDataIndexBased.java:153) ~[sap-impl-8.0.1.jar:?]&lt;/P&gt;&lt;P&gt;at org.talend.sap.impl.model.table.SAPBatchDataIndexBased.nextRow(SAPBatchDataIndexBased.java:136) ~[sap-impl-8.0.1.jar:?]&lt;/P&gt;&lt;P&gt;at sapservices.sap_tablejoin_0_1.SAP_TableJoin.tELTSAPMap_1Process(SAP_TableJoin.java:1443) [classes/:?]&lt;/P&gt;&lt;P&gt;at sapservices.sap_tablejoin_0_1.SAP_TableJoin.runJobInTOS(SAP_TableJoin.java:2505) [classes/:?]&lt;/P&gt;&lt;P&gt;at sapservices.sap_tablejoin_0_1.SAP_TableJoin.main(SAP_TableJoin.java:2138) [classes/:?]&lt;/P&gt;&lt;P&gt;Exception in component tELTSAPMap_1 (SAP_TableJoin)&lt;/P&gt;&lt;P&gt;java.lang.RuntimeException: BAPI failed to start the background job&lt;/P&gt;&lt;P&gt;at org.talend.sap.impl.model.table.SAPBatchDataIndexBased.nextReader(SAPBatchDataIndexBased.java:153)&lt;/P&gt;&lt;P&gt;at org.talend.sap.impl.model.table.SAPBatchDataIndexBased.nextRow(SAPBatchDataIndexBased.java:136)&lt;/P&gt;&lt;P&gt;at sapservices.sap_tablejoin_0_1.SAP_TableJoin.tELTSAPMap_1Process(SAP_TableJoin.java:1443)&lt;/P&gt;&lt;P&gt;at sapservices.sap_tablejoin_0_1.SAP_TableJoin.runJobInTOS(SAP_TableJoin.java:2505)&lt;/P&gt;&lt;P&gt;at sapservices.sap_tablejoin_0_1.SAP_TableJoin.main(SAP_TableJoin.java:2138)&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;The data files remain on the FTP server.&lt;/P&gt;&lt;P&gt;A trace on SAP side shows no problems. The configured FTP user can create, read and delete files in the FTP directory.&lt;/P&gt;&lt;P&gt;Any ideas what is going wrong?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Norbert&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Update 2020-09-16:&lt;/P&gt;&lt;P&gt;Running the job in JAVA TRACE mode in Studio, this exception is thrown:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Exception in thread "main" java.lang.ExceptionInInitializerError: JCo initialization failed with java.lang.ExceptionInInitializerError: Illegal JCo archive "sapjco3-6.0.0.jar". It is not allowed to rename or repackage the original archive "sapjco3.jar".&lt;/P&gt;&lt;P&gt;at com.sap.conn.jco.rt.MiddlewareJavaRfc.&amp;lt;clinit&amp;gt;(MiddlewareJavaRfc.java:230)&lt;/P&gt;&lt;P&gt;at com.sap.conn.jco.rt.DefaultJCoRuntime.initialize(DefaultJCoRuntime.java:99)&lt;/P&gt;&lt;P&gt;at com.sap.conn.jco.rt.JCoRuntimeFactory.&amp;lt;clinit&amp;gt;(JCoRuntimeFactory.java:23)&lt;/P&gt;&lt;P&gt;at com.sap.conn.jco.rt.RuntimeEnvironment.&amp;lt;init&amp;gt;(RuntimeEnvironment.java:43)&lt;/P&gt;&lt;P&gt;at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;/P&gt;&lt;P&gt;at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)&lt;/P&gt;&lt;P&gt;at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)&lt;/P&gt;&lt;P&gt;at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)&lt;/P&gt;&lt;P&gt;at java.base/java.lang.Class.newInstance(Class.java:584)&lt;/P&gt;&lt;P&gt;at com.sap.conn.jco.ext.Environment.getInstance(Environment.java:155)&lt;/P&gt;&lt;P&gt;at com.sap.conn.jco.ext.Environment.registerDestinationDataProvider(Environment.java:259)&lt;/P&gt;&lt;P&gt;at org.talend.sap.impl.AbstractSAPFactory.&amp;lt;clinit&amp;gt;(AbstractSAPFactory.java:41)&lt;/P&gt;&lt;P&gt;at sapservices.sap_tablejoin_0_1.SAP_TableJoin.tELTSAPMap_1Process(SAP_TableJoin.java:1379)&lt;/P&gt;&lt;P&gt;at sapservices.sap_tablejoin_0_1.SAP_TableJoin.runJobInTOS(SAP_TableJoin.java:2486)&lt;/P&gt;&lt;P&gt;at sapservices.sap_tablejoin_0_1.SAP_TableJoin.main(SAP_TableJoin.java:2141)&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;The SAPJCO3.JAR version is 3.0.14. Does this help to identify the error?&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Update 2020-09-16 after further investigation:&lt;/P&gt;&lt;P&gt;The last mentioned exception "It is not allowed to rename or repackage the original archive sapjco3.jar" seems to refer to an old bug and is only thrown when using SAPJCO3.JAR version 3.0.14 and also the most actual 3.1.2. See &lt;A href="https://jira.talendforge.org/browse/TUP-23506" target="_blank"&gt;https://jira.talendforge.org/browse/TUP-23506&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It is NOT thrown when using SAPJCO3.JAR version 3.0.10! With this old version the original exception "BAPI failed to start the background job" is thrown.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;I'll open a support case now.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:27:43 GMT</pubDate>
    <dc:creator>kurzkano</dc:creator>
    <dc:date>2024-11-16T01:27:43Z</dc:date>
    <item>
      <title>tELTSAPMap: BAPI failed to start the background job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tELTSAPMap-BAPI-failed-to-start-the-background-job/m-p/2292408#M65482</link>
      <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;we're running Talend Cloud API Services with &lt;B&gt;Studio R2020-07-7.3.1,&lt;/B&gt; the SAP modules installed are from &lt;B&gt;TEDK910058.zip&lt;/B&gt;. Using &lt;B&gt;tELTSAPMap &lt;/B&gt;to extract data from several tables we run into an error AFTER the data has been extracted and placed on the FTP server:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;[ERROR] org.talend.sap.impl.SAPConnectionFactory- BAPI failed to start the background job&lt;/P&gt;&lt;P&gt;[FATAL] sapservices.sap_tablejoin_0_1.SAP_TableJoin- tELTSAPMap_1 BAPI failed to start the background job&lt;/P&gt;&lt;P&gt;java.lang.RuntimeException: BAPI failed to start the background job&lt;/P&gt;&lt;P&gt;at org.talend.sap.impl.model.table.SAPBatchDataIndexBased.nextReader(SAPBatchDataIndexBased.java:153) ~[sap-impl-8.0.1.jar:?]&lt;/P&gt;&lt;P&gt;at org.talend.sap.impl.model.table.SAPBatchDataIndexBased.nextRow(SAPBatchDataIndexBased.java:136) ~[sap-impl-8.0.1.jar:?]&lt;/P&gt;&lt;P&gt;at sapservices.sap_tablejoin_0_1.SAP_TableJoin.tELTSAPMap_1Process(SAP_TableJoin.java:1443) [classes/:?]&lt;/P&gt;&lt;P&gt;at sapservices.sap_tablejoin_0_1.SAP_TableJoin.runJobInTOS(SAP_TableJoin.java:2505) [classes/:?]&lt;/P&gt;&lt;P&gt;at sapservices.sap_tablejoin_0_1.SAP_TableJoin.main(SAP_TableJoin.java:2138) [classes/:?]&lt;/P&gt;&lt;P&gt;Exception in component tELTSAPMap_1 (SAP_TableJoin)&lt;/P&gt;&lt;P&gt;java.lang.RuntimeException: BAPI failed to start the background job&lt;/P&gt;&lt;P&gt;at org.talend.sap.impl.model.table.SAPBatchDataIndexBased.nextReader(SAPBatchDataIndexBased.java:153)&lt;/P&gt;&lt;P&gt;at org.talend.sap.impl.model.table.SAPBatchDataIndexBased.nextRow(SAPBatchDataIndexBased.java:136)&lt;/P&gt;&lt;P&gt;at sapservices.sap_tablejoin_0_1.SAP_TableJoin.tELTSAPMap_1Process(SAP_TableJoin.java:1443)&lt;/P&gt;&lt;P&gt;at sapservices.sap_tablejoin_0_1.SAP_TableJoin.runJobInTOS(SAP_TableJoin.java:2505)&lt;/P&gt;&lt;P&gt;at sapservices.sap_tablejoin_0_1.SAP_TableJoin.main(SAP_TableJoin.java:2138)&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;The data files remain on the FTP server.&lt;/P&gt;&lt;P&gt;A trace on SAP side shows no problems. The configured FTP user can create, read and delete files in the FTP directory.&lt;/P&gt;&lt;P&gt;Any ideas what is going wrong?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Norbert&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Update 2020-09-16:&lt;/P&gt;&lt;P&gt;Running the job in JAVA TRACE mode in Studio, this exception is thrown:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Exception in thread "main" java.lang.ExceptionInInitializerError: JCo initialization failed with java.lang.ExceptionInInitializerError: Illegal JCo archive "sapjco3-6.0.0.jar". It is not allowed to rename or repackage the original archive "sapjco3.jar".&lt;/P&gt;&lt;P&gt;at com.sap.conn.jco.rt.MiddlewareJavaRfc.&amp;lt;clinit&amp;gt;(MiddlewareJavaRfc.java:230)&lt;/P&gt;&lt;P&gt;at com.sap.conn.jco.rt.DefaultJCoRuntime.initialize(DefaultJCoRuntime.java:99)&lt;/P&gt;&lt;P&gt;at com.sap.conn.jco.rt.JCoRuntimeFactory.&amp;lt;clinit&amp;gt;(JCoRuntimeFactory.java:23)&lt;/P&gt;&lt;P&gt;at com.sap.conn.jco.rt.RuntimeEnvironment.&amp;lt;init&amp;gt;(RuntimeEnvironment.java:43)&lt;/P&gt;&lt;P&gt;at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;/P&gt;&lt;P&gt;at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)&lt;/P&gt;&lt;P&gt;at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)&lt;/P&gt;&lt;P&gt;at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)&lt;/P&gt;&lt;P&gt;at java.base/java.lang.Class.newInstance(Class.java:584)&lt;/P&gt;&lt;P&gt;at com.sap.conn.jco.ext.Environment.getInstance(Environment.java:155)&lt;/P&gt;&lt;P&gt;at com.sap.conn.jco.ext.Environment.registerDestinationDataProvider(Environment.java:259)&lt;/P&gt;&lt;P&gt;at org.talend.sap.impl.AbstractSAPFactory.&amp;lt;clinit&amp;gt;(AbstractSAPFactory.java:41)&lt;/P&gt;&lt;P&gt;at sapservices.sap_tablejoin_0_1.SAP_TableJoin.tELTSAPMap_1Process(SAP_TableJoin.java:1379)&lt;/P&gt;&lt;P&gt;at sapservices.sap_tablejoin_0_1.SAP_TableJoin.runJobInTOS(SAP_TableJoin.java:2486)&lt;/P&gt;&lt;P&gt;at sapservices.sap_tablejoin_0_1.SAP_TableJoin.main(SAP_TableJoin.java:2141)&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;The SAPJCO3.JAR version is 3.0.14. Does this help to identify the error?&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Update 2020-09-16 after further investigation:&lt;/P&gt;&lt;P&gt;The last mentioned exception "It is not allowed to rename or repackage the original archive sapjco3.jar" seems to refer to an old bug and is only thrown when using SAPJCO3.JAR version 3.0.14 and also the most actual 3.1.2. See &lt;A href="https://jira.talendforge.org/browse/TUP-23506" target="_blank"&gt;https://jira.talendforge.org/browse/TUP-23506&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It is NOT thrown when using SAPJCO3.JAR version 3.0.10! With this old version the original exception "BAPI failed to start the background job" is thrown.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;I'll open a support case now.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:27:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tELTSAPMap-BAPI-failed-to-start-the-background-job/m-p/2292408#M65482</guid>
      <dc:creator>kurzkano</dc:creator>
      <dc:date>2024-11-16T01:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: tELTSAPMap: BAPI failed to start the background job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tELTSAPMap-BAPI-failed-to-start-the-background-job/m-p/2292409#M65483</link>
      <description>&lt;P&gt;Thanks to Tripti from Talend Support things are clear right now:&lt;/P&gt;&lt;P&gt;First of all: the SAPJCO version related error has nothing to do with the  tELTSAPMap topic. Though the mentioned exception is thrown when running a JAVA TRACE tELTSAPMap works as expected - if the configuration is correct :).&lt;/P&gt;&lt;P&gt;Ok, tELTSAPMap has two components: &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The SAP part extracts data and writes it to files configured in the FTP path item (e.g. "/sapftp/talend/" ). You need to specify the full path here as the user running the according BAPI needs to where to put the files.&lt;/LI&gt;&lt;LI&gt;The FTP part is running with the configured FTP user which has nothing to do with the SAP user running the BAPI. In our case this FTP user is configured to use "/sapftp/talend/" as root path "/" and is not allowed to change path to "/sapftp/talend/".&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;You can verify your configuration by just using a FTP job. In our case this throws the error "Failed to change remote directory."&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 06:48:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tELTSAPMap-BAPI-failed-to-start-the-background-job/m-p/2292409#M65483</guid>
      <dc:creator>kurzkano</dc:creator>
      <dc:date>2020-09-21T06:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: tELTSAPMap: BAPI failed to start the background job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tELTSAPMap-BAPI-failed-to-start-the-background-job/m-p/2292410#M65484</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks for sharing it with us on community. I will set this topic as resolved to help other find it easily.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 07:04:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tELTSAPMap-BAPI-failed-to-start-the-background-job/m-p/2292410#M65484</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-21T07:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: tELTSAPMap: BAPI failed to start the background job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tELTSAPMap-BAPI-failed-to-start-the-background-job/m-p/2517644#M147542</link>
      <description>&lt;P&gt;Hi I am facing the same issue here. May i know how did you resolve the issue? Thanks !&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2025 11:49:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tELTSAPMap-BAPI-failed-to-start-the-background-job/m-p/2517644#M147542</guid>
      <dc:creator>yulongguan</dc:creator>
      <dc:date>2025-05-13T11:49:57Z</dc:date>
    </item>
  </channel>
</rss>

