cancel
Showing results for 
Search instead for 
Did you mean: 

Calling ABAP class methods from JAVA application

Former Member
0 Kudos

Hi All,

I want to fetch ITS related information (SITSPMON Tcode) in my JAVA application. But i didnt find much BAPIs for the same. While debugging I came accross few class methods with help of which I can get the required information. So is there any way we can call and execute methods of ABAP classes through java application?

for e.g. I want to call GET_VERSION method of CL_ITSP_UTIL class.

Thanks,

Arati.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Yes, as per my knowledge the only way to interact is using BAPI exposed as RFCs. So try to invoke those class methods in one CUSTOM BAPI and expose that BAPI as RFC and consume that RFC to get those details.

Regards,

Charan

Former Member
0 Kudos

Hi,

I am very much sure that the only way out is to call BAPIs or create a new ABAP Function module and make it RFC enabled. The you can call that function using a JCO call from java side.

Vikram

Former Member
0 Kudos

Hi Arati,

To my knowledge I dont think that you aill be able to call the class objects direclty from a java application. The only way on how we can interact with ECC is through BAPI's. Check whether you can wrap the logic into a BAPI and make a call to that BAPI.

Regards,

Ponraj M