cancel
Showing results for 
Search instead for 
Did you mean: 

JCO question

Former Member
0 Kudos

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?

Details:

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

ravi_raman2
Active Contributor
0 Kudos

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

Regards

Ravi Raman

Former Member
0 Kudos

Hi!

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?

Thanks