Skip to Content
0
Former Member
May 14, 2008 at 08:17 AM

BADI Call

27 Views

Hi All,

I want to call a BADI in my program.

when I write this code below there is no error.

DATA: obj_badi TYPE REF TO zen_point,

GET BADI obj_badi.

where zen_point is an enhanement point defined by me.

But when I write the code below, it gives error that "type of sbadi is unknown"

DATA: obj_badi TYPE REF TO sbadi,

GET BADI obj_badi.

where sbadi is the name of a system defined badi definition.

Could anybody tell what is the error?

Regards,

Jeetu