cancel
Showing results for 
Search instead for 
Did you mean: 

Calling CRM ABAP class from SAP Jco

Former Member
0 Kudos

Hi,

In CRM, there is a class interface called CL_CRM_DOCUMENTS with static methods. I need to make call to these methods from my Java application that uses JCo. Is it possible to call ABAP methods from JCo? Any help in this regard will be highly appreciated.

Thanks,

Praneeth

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Praneeth,

See if this helps.

regards,

Muralidhar Prasad.C

Former Member
0 Kudos

Hi Praneeth,

I do not think there is any way to call a class from JCo.

But you create a RFC function module with same importing and exporting parameters as that of class's static method. Then call this RFC FM via JCo.

Please reward points, if the above answer helps.

Regards,

Pratik

Former Member
0 Kudos

Hi Pratik,

Thanks a lot for your response. Could you please let me know how to create RFC function module? In SE37, there is an option to create function module, but it asks for function group, what should be specified there?

Thanks,

Praneeth

Former Member
0 Kudos

Hi Praneeth,

To create a Function group follow the path :

Se37-> GOTO -> Function Groups -> Create Function group.

Also in Attributes tab of the Function module say 'Remote enabled module'.

Regards,

Pratik