Yes the problem is, all the BADI programs are message coded through itself, so there is no message class used.
my another doubt is, we call a message class in a report as : Zreport_name Message-ID [message class Name]
but in badi how to call a message class ?