cancel
Showing results for 
Search instead for 
Did you mean: 

Calling Java API from ABAP using JCo (Part 2)

Former Member
0 Kudos

Hello,

This is an additional question to thread

Has anyone managed to get the input parameter value

input.getString("REQUTEXT")

that is being passed from ABAP?

If yes, what kind of setting you need to do? Because when I execute, it has no value.

Thus, the below ECHOTEXT parameter returns blank value:

output.setValue(input.getString("REQUTEXT"),"ECHOTEXT");

When I debug by printing the below line, the input XML is indeed without value:

System.out.println(input.toXML());

Anybody knows how to pass input variable from ABAP to JAVA using JCo?

rgs,

hiroshi

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello,

I have met the same question with you, and could you tell me how to solve it, thanks a lot!

best regards!

andy

Former Member
0 Kudos

Hallo Hiroshi,

as far as I can see, you are doing it the right way. The problem might be that the ABAP program does not fill in this parameter because something went wrong in the SAP System.

Have you tried setting a breakpoint (an HTTP session - remote breakpoint) and tried checking step by step if the value is being processed and put into the REQUTEXT field?

Bye,

Sameer