Retrieving ABAP BAdi from SAP BW

There are different Function Module that you can use depending on BAdi type- classic or fast kernel

You can try using Function module SXO_IMPL_FOR_BADI_READ. To read the coding of class, try using “CL_ENH_BADI_RUNTIME_FUNCTIONS”

You can use “GET_BADI_SHORTTEXT” method to know different BAdi’s types.

There is a Function modules SEO* - which can be used to read the structure of a class, it’s superclasses and method.