cancel
Showing results for 
Search instead for 
Did you mean: 

abap object

Former Member
0 Kudos

hi all,

Is there any way to read the Abap Object in sap ...using Jco ?

if yes means plz send me code..

I did how to execute the FunctionModule...

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Tony,

As has already been mentioned, you can only call RFC enabled function modules via JCo. If you need to call a method of an object then you need to get an ABAPer to create a custom function module that is RFC enabled and inside write code to instantiate the object you require and execute it's method(s). The RFC function module could have a similar interface to the method you wish to call so that you can pass in any data from your Java and receive the returned data from the method.

Gareth.

former_member182294
Active Contributor
0 Kudos

You can ready only RFCs through JCO. If you want to read the ABAP Object from JCO you should create a wrapper Remote Enabled Function module.

Regards

Abhilash

Former Member
0 Kudos

hi Abilash,

I know how to call bapi using jco..

but i dont know to how to create wrapper Remote Enabled Function module using jco ..

could u plz send me the code...

Thanks

former_member182294
Active Contributor
0 Kudos

Sorry man, I am not an ABAP programmer. Please raise it in the ABAP forum.

Regards

Abhilash