• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » tSAPInput error: getString(int) im Typ JCO.Record

#1 2009-09-02 07:58:01

Martin Braun
New member
Registered: 2008-12-09
Posts: 4

tSAPInput error: getString(int) im Typ JCO.Record

Tags: [error, java, sap]

Hello,

when trying to read a table from SAP I get the following message:

[statistics] connecting to socket on port 4038
[statistics] connected
Exception in thread "main" java.lang.Error: Unaufgelöstes Kompilierungsproblem:
Die Methode getString(int) im Typ JCO.Record ist für die Argumente nicht anwendbar ()

at stas_control.test_0_1.Test.tSAPInput_2Process(Test.java:459)
at stas_control.test_0_1.Test.tSAPConnection_1Process(Test.java:242)
at stas_control.test_0_1.Test.runJobInTOS(Test.java:681)
at stas_control.test_0_1.Test.main(Test.java:591)


I'm not sure if this depends on a wrong jco version or a missing parameter.
Can anyone give me a hint?

cu

Martin

Last edited by Martin Braun (2009-09-02 07:59:05)

Offline

#2 2009-09-18 12:22:59

Meex
Guest

Re: tSAPInput error: getString(int) im Typ JCO.Record

I'm facing exactly the same error? Any solution so far?

regards
Meex

#3 2009-11-05 14:22:24

tkkg
Guest

Re: tSAPInput error: getString(int) im Typ JCO.Record

Hi,

I have the same Problem. I did not solved it but i have found a workaround by myself:

Go to the error-line in the sourcecode and enter the parameter "WA" to the getString-function that causes the Error.
Then save and run your job again.
=> You should see the output from your SAP-Input.

It works for me, but you have to change the sourcecode everytime you change the job. :-(

#4 2010-01-13 22:10:05

Roberto
Guest

Re: tSAPInput error: getString(int) im Typ JCO.Record

Hello:

The problem is that you are using the component incorrectly. In Outputs section, in Mapping, you have to put the value WA (value por records of table DATA in Sap Data Dictionary).

You can see a complete example of use of the tSapInput component at following link:

http://churriwifi.wordpress.com/2010/01 … alend-sap/

Good lucky!!!

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » tSAPInput error: getString(int) im Typ JCO.Record

Board footer

Powered by FluxBB