Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get BAdI Class description?

BjörnKorioth
Employee
Employee
0 Kudos

Hi experts,

I want to get the description of the class, that my BAdI is implementing when I call it.

I.E.:

Badi with Filter x returns description abcd

Badi with Filter y returns description wxyz

I know that I can get with a select on table seoclass the description of a class.

But I can't getthe classes name from he local BAdI object in code.

Any idea?

Greetings

Björn

1 ACCEPTED SOLUTION

kimkraemer
Discoverer

You can get the class name of an object using cl_abap_classdescr=>get_class_name and using that you should be able to look up the description...

1 REPLY 1

kimkraemer
Discoverer

You can get the class name of an object using cl_abap_classdescr=>get_class_name and using that you should be able to look up the description...