on 2004 Mar 11 1:11 PM
Hello,
Could anybody provide an example on how to invoke ABAP Objects through Jco?
I only found documentation on how to invoke Function Modules but nothing regarding ABAP objects.
thanks in advance,
Jose
Create a RFC wrapper function then instantiae the ABAP Object and execute the methods within the function. Interface would be matched with import and export parameters for the RFM.
Then you can call it from JCO.
Message was edited by: Kyo choi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When I read the version of the JCO document I have, which is 0.8.1 of Developing Applications with the "SAP Java Connector", it seems to say that there is a way to call BAPIs in an object oriented way with JCO. I have not tried it, but the section on the JCo Proxy Generator appears to do show this.
~John
Hi Jose,
As given in documentation, we can call only RFM's using JCo. But we can invoke any BAPI by invoking the corresponding RFM. For this, we must know the corresponding RFM for any BAPI. For example, BAPI Customer.GetList is invoked by calling BAPI_CUSTOMER_GETLIST. I hope this helps.
Regards,
Vijaya Gopal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Jose,
you can only call RFC enabled Function Modules with JCO.
Regards
Gregor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.