2007 Jul 09 3:27 PM
Hi,
I have created a Class using SE80 using Class/Interface option. Can anybody please explain me what will be difference between
RFC and Class Interface. Whether Class Interface can be used as same RFC?
If yes how class can be accessed from other legacy systems?
Whether we need to right a wrapper RFC for this class to access?.
I heard BAPI's also global classes that have BOR entries.How these BAPI are accessing from legacy?
I am very new to ABAP
Thanks.
SAR
2007 Jul 09 4:12 PM
We sometimes refer to the Java RFC Class Library in short as the Java RFC.
The Java RFC Class Library provides a simple, object-oriented Java view of the SAP RFC (Remote Function Call) API.
Based on the RFC Library (which provides the RFC API), the Java RFC Class Library allows you to easily write Java programs that use the RFC protocol to communicate with R/3 applications. The Java RFC Class Library hides all the low-level details of the native C or C++ calls, thereby reducing much of the complexity for programming RFC in Java.
The Java RFC Class Library allows you to develop both RFC client and RFC server applications. This means that applications you develop with the Java RFC Class Library can either send client requests to R/3 using RFC calls, or they can act as a RFC servers to R/3 function calls.
2007 Jul 10 8:33 AM
Classes in R/3 can not be access directly from legacy syatems, you can only access RFCs from outside,
BAPI, you can call BAPI from outside of R/3.
http://help.sap.com/saphelp_46c/helpdata/en/76/4a42f7f16d11d1ad15080009b0fb56/content.htm
http://www.suite101.com/discussion.cfm/vb_script/81157
http://help.sap.com/saphelp_46c/helpdata/en/7e/5e115e4a1611d1894c0000e829fbbd/frameset.htm
Thanks
If you need further details, please ask specific concept
Chetan Shah
2007 Jul 10 1:23 PM
Hello SAR
BAPI are RFC-enabled function modules and, thus, can be called from external systems as well as on other (remote) SAP systems.
The difference between "normal" RFC function modules and BAPIs is that they provide external access to the so-called <b>business objects</b> (e.g. purchase order, invoice, user).
BAPIs implement the "methods" of the business objects (e.g. the <i>GetDetail</i> "method" of the business object user is implemented by BAPI_USER_GET_DETAIL). However, business objects and their "methods" have nothing to do with object-orientation.
If you display any class in transaction SE24 (class builder) and diplay the tabstrip <i>Properties </i>you will see that SAP has foreseen different categories of classes. Perhaps in the near future we will see RFC-enabled classes yet for the time being you will need to create a wrapper (= RFC-enabled function module) around the classes you would like to call remotely.
Regards
Uwe