Skip to Content
author's profile photo Former Member
Former Member

BADI Implementation in Java?


a partner is asking, if it is possible to directly implement BADIs in JAVA, or do they have to write an Implementation of the BADI in ABAP, that starts via JCo the JAVA code?

Thanks for your help,


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 30, 2004 at 02:16 PM

    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.


    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
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.