You are not logged in.
Announcement
Unanswered posts
|
Pages: 1
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
I'm facing exactly the same error? Any solution so far?
regards
Meex
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. :-(
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!!!
Pages: 1