Skip to Content
avatar image
Former Member

JCO question

Hi All!

My question is: How can I send rfc request from an external java program using jco client to the XI rfc sender adapter?


I have mySap ERP above netweaver 2004 with abap and java stack.

I have to clients. 000 and 001. The 001 has the role Intergration Server in sxmb_adm.

From my external java application I want to call an RFM in the 000 client with the jco client through the XI.

The problem is : With the java createClient method of the JCO class , I only able to connect to the abap side of my WEB AS I think, but the adapters are in the java stack. And when I connect to the client 001 , the rfm is called in here, but I want to this call forwarded to the XI. How can I do this?

Thanks very much for answering.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 29, 2007 at 01:50 AM

    Gerg..your question is a bit misleading..please correct me if i am wrong......

    you want to send an request from an external program(say java app) that you want to route into r/3 to trigger an rfc call using XI......

    That being said if thats true then all you need is a http -->xi --rfc if async or soap -->xi --> rfc

    hope that helps


    Ravi Raman

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member


      Sorry for misleading question, but my answear is no. I want to make an RFC-XI-RFC scenario, where the calling system is a java app. I can make rfc call using the JCO. but I can't route this call to the XI. in other words I can't route this call to the J2ee server of my SAP, where my rfc adapter is I think.

      I made an RFC-XI-RFC call when my calling system is an SAP system. I made a call to a rfc destination type 'T'. And it worked.

      How can I do this with the JCO? can I?