Skip to Content
0
Former Member
Jun 08, 2009 at 05:18 PM

Question on JCo 3.0 Server Programming o

38 Views

Hi all,

I am using JCo 3.0 and i am following the example StepByStepServer.

In ABAP i have something like,

data:    escalation_level type int1 value '2'.

call function 'ZCALL_FUNCTION' destination 'CONNECTION'
  exporting
    escalation_level  = escalation_level 
.....

In JAVA i have something like,

System.out.println(function.getExportParameterList().getValue("escalation_level"));

But i am always getting 0.

When i do a function.getExportParameterList().toString(), it is shown as

| PARAMETERS 'OUTPUT'
|----|
|ESCA|
|----|
|   0|
|----|
|0000|
|----|

The metadata for the RFM is retrieved dynamically from the SAP system at runtime.

Any ideas or advice?