cancel
Showing results for 
Search instead for 
Did you mean: 

how to use use connection_factory.get_current_connection()

Former Member
0 Kudos

Hi Everyone,

I need to use use connection_factory.get_current_connection() in IPC to make RFC call to CRM, but I don't know what's the JCo connection object for it - how to instantiate it?

Any advise or documentation?

Thanks alot, Jin

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

ok

Former Member
0 Kudos

Jin,

See the thread . I have given the reply there too.

Easwar Ram

http://www.parxlns.com

Former Member
0 Kudos

Thank You Very Much Easwar for your advise.

Sorry need your help again: our basis searched everywhere but could not find SAP_IPC.jar file. Could you please give us some direction to find / get this jar file. We have CRM 7.0 and IPC7.

Thanks again, Jin

Edited by: Jin Freda on Nov 14, 2008 2:02 AM

Former Member
0 Kudos

Hi Experts,

I have a requirement to make RFC call in IPC userexit. Since IPC does make RFC calls to CRM, which means it maintains a JCo connection object, I would like to leverage this connection object to make RFC calls to the RFM in CRM (Thanks Easwar for his advise), but I don't know what's JAR file containing this object (maybe SAP_IPC.jar? but we can't find it).

Any advise / documentation? Please help.

Thanks again, Jin

Former Member
0 Kudos

Hello Jin,

Apologies for the confusion due to the version issues. The class

com.sap.sxe.db.imp.rfc.connRFC

in AP 7.00 is deployed as a part of the VMC. Use Transaction SM53 to explore the VMC Admin tool. Look for the CLASSES.BASE parameter setting. This will normally give you the location of the library files *jar) you are looking for.

In your case, the class is a part of the installation component /0SAP/IPC and is in the module /0SAP/AP_BASE_DATABASE_IMPL/.

Easwar Ram

http://www.parxlns.com

Former Member
0 Kudos

Hi Easwar,

Thank you very much for your great help/advise - I feel I have a hope now. Following your instruction I found the method connRFC. but sorry I'm still not clear how to use it (I'm new in Java & IPC area), do I need to import any Jar file? Could you please advise or any documentation?

Thanks, Jin