Application Development and Automation 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: 
Read only

Error in calling BADI

Former Member
0 Likes
701

Hi All,

I have created a BADI and implemeted it and when i tried to call it in the program it going to short dump.

I debugged the program and found out that in 'cl_exithandler=>get_class_name_by_interface' an exception 4 'data_incons_in_exit_managem' raised, please provide methe input on what i have to do.

Thanks,

Krish.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
646

Hi,

If you are trying to call a New BADI (implemented with Enhancement Spot) , then you got to use GET BADI and CALL BADI.

If you are trying to call a Classic BADI, use cl_exithandler=>get_instance

If you have done the calling right, then check if you are passing all correct parameters and using the correct object. For a classic BADI, the object will be a reference to the Interface name. In the New BADI, the object will refer to the BADI definition.

Hi,

If you are trying to call a New BADI (implemented with Enhancement Spot) , then you got to use GET BADI and CALL BADI.

If you are trying to call a Classic BADI, use cl_exithandler=>get_instance

If you have done the calling right, then check if you are passing all correct parameters and using the correct object. For a classic BADI, the object will be a reference to the Interface name. In the New BADI, the object will refer to the BADI definition.

2 REPLIES 2
Read only

Former Member
0 Likes
647

Hi,

If you are trying to call a New BADI (implemented with Enhancement Spot) , then you got to use GET BADI and CALL BADI.

If you are trying to call a Classic BADI, use cl_exithandler=>get_instance

If you have done the calling right, then check if you are passing all correct parameters and using the correct object. For a classic BADI, the object will be a reference to the Interface name. In the New BADI, the object will refer to the BADI definition.

Read only

0 Likes
646

Thanks Nitwiki..