Hi Martin,
BADI's are implemented as ABAP Object Classes. They are invoked as part of larger SAP applications only from within the ABAP environment.
They are not normally started on their own - so calling them from JCo is probably out the window.
A BADI is started when an ABAP written SAP application hits a code/object related to it.
The JConnector, on the other hand, calls objects within SAP - it is simply an encapsulation of the existing RFC/BAPI's and does not start typically start a BADI.
JCo can call BAPI's (different from BADI's). These BAPI's will start applications in SAP which may then contain a BADI.
BUT!!!
With a fair bit of arm twisting... It is, however, technically possible to implement a BADI Class that can be invoked from JCo. But yes you have to write some ABAP on your own.
Hope this helps,
Wilbert Sison
Add a comment