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

badi

Former Member
0 Likes
404

Hi All,

I have a bsic doubt on BADI'S.

Badi's are also like userexits.

but badi's are reusable.How they are reusable .can any one explain me with any example.

Thanks in Advance.

Thanks&Regards.

Ramu.

3 REPLIES 3
Read only

Former Member
0 Likes
377

There can be multiple implementations for a BADI definition.

Multiple use for BADI definitions means that there can be several

active BADI implementations

Read only

Former Member
0 Likes
377

Hi,

Multiple use for BADI definitions means that there can be several active BADI implementations. When there is a call, they are all called up - however, in an unpredictable sequence. If you have multiple-use BADI definitions, the sequence must not play any role therefore.

regards,

pankaj singh

Read only

Former Member
0 Likes
377

Hi Ramu,

BADI is nothing but a interface method. Which is used to put a piece of code in standrad SAP Program. For this reason some factory methods will be used in the Standrad SAP Program.

As you aware that BADI is method and part of Object oriented concept. you can create more than one instance for the class.

BADI interface method and you can implement multiple times. Based on the filter values the method will be calling. Otherwise all implement methods will be calling one by one.

Please check the class CL_EXITHANDLER for factory methods.Two types are badi availble.

1) Method BADI

2) Screen BADI

Regards

Bhupal Reddy