cancel
Showing results for 
Search instead for 
Did you mean: 

RFC to JCO Problem: JCO.Server could not find server function '

Former Member
0 Kudos

Hi,

I did a connection from SAP to external System. I use JCO to get the data from SAP in RFC.

The java program refrenced the Exmaple5 in the JCO Document.

now i have create a RFC in SAP named: 'ZTEST_JCO'.

i create the DESTINATION 'ZDES_JCO' in SM59 type TCP/IP and entered the program ID: 'PRGID01'

then i start my JCO server program , test the destination, the connection is OK.

then i create a ABAP program in SE38, to call the RFC, and get return value:

CALL FUNCTION 'ZTEST_JCO' DESTINATION 'ZDES_JCO'

........PARAMETERS......

1st time: I execute the ABAP program and i get the right return value

2 time: I execute the ABAP program, error occurred: JCO.Server could not find server function 'ZTEST_JCO'

3rd time: I execute the ABAP program and i get the right return value

4th time: I execute the ABAP program, error occurred: JCO.Server could not find server function 'ZTEST_JCO'

5th time: I execute the ABAP program and i get the right return value

6th time: I execute the ABAP program, error occurred: JCO.Server could not find server function 'ZTEST_JCO'

7th time: I execute the ABAP program and i get the right return value

.........................

I am so confused with this .....

Who can help me with this .

Thankls

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

PLS HELP ME!

Thanks

Former Member
0 Kudos

Hi

I am facing same kind of iisue .. could you plase let me know how did u resolved it

Br

Venkat