Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Not able to connect to SAP using tSAPBapi component

Talend v6.2.1 ( Enterprise version )
I am facing below error while using tSAPBapi/tSAPTableInput components 
Exception in component tSAPTableInput_1  java.lang.ClassCastException: com.sap.conn.jco.rt.RfcDestination cannot be cast to org.talend.sap.ISAPConnection
But using came credentials , I am not facing this issue when tSAPInput component used. Please help .
Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

It got resolved . The SAP JCO Version should be Talend sap APi in tSAPConnection to work with tSAPBapi and tSAPTableInput.

View solution in original post

4 Replies
Anonymous
Not applicable
Author

Hi,
On which build version you got this issue? Could you please post your job setting screenshots on forum? Are you able to establish the connection with the SAP system?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hello Saberina ,
Build version : 6.2.1.20160704_1411.
Below Job works fine :
<<Working_job.JPG>>

<<tSapInput_screenshot.JPG>>

Result 
<<--
Starting job SapFirstJob at 10:08 13/01/2017.
connecting to socket on port 3952
connection refused
0|20170113124219_fH1We|20170113124219_fH1We|20170113124219_fH1We|SapFirstJob|start job||20170113124220.060+0800
Unable to connect to 10.231.2.28 on the port 3952
1|20170113124219_fH1We|20170113124219_fH1We|20170113124219_fH1We|OnSubjobOk1|ok|start
1|20170113124219_fH1We|20170113124219_fH1We|20170113124219_fH1We|row_DATA_1|0|0|start
.------------------.
|    tLogRow_2     |
|=----------------=|
|WA                |
|=----------------=|
|DZ                |
|000000000000000042|
|DA                |
|TB                |
|TESTK             |
|SM                |
|PA                |
|GB                |
|MC                |
|SDX1              |
'------------------'
1|20170113124219_fH1We|20170113124219_fH1We|20170113124219_fH1We|row_DATA_1|10|433|stop
0|20170113124219_fH1We|20170113124219_fH1We|20170113124219_fH1We|SapFirstJob|end job||20170113124221.221+0800
Job SapFirstJob ended at 10:08 13/01/2017.

-->>

Now with same credentials below job  is giving error :
<<not_Working_job.JPG>>

Result :
<<not_Working_job_result.JPG>>
Anonymous
Not applicable
Author

SAP_error_scrrenshots.zip.zip
screenshot uploaded.
Anonymous
Not applicable
Author

It got resolved . The SAP JCO Version should be Talend sap APi in tSAPConnection to work with tSAPBapi and tSAPTableInput.