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: 

BADI queries

Former Member
0 Kudos
363

Hi,

In past i have implemented couple of standard BADI's but guess, i am not clear on few aspects of it, below are my queries:

<b>1.</b> Can I create a BADI definition and attach to a standard program (as a hook), if not then what Is the purpose of creating BADI definition and where can I use it. (is it meant for Custom application)

<b>2.</b> Can I have multiple implementations for single BADI definition, if yes then how will system know when to call which one.

<b>3.</b> SAP documentation says that in BADI "Business Add-Ins you can create and implement enhancements in as many software layers as you like". I am not clear what it implies and how to implement in different software layers.

<b>4.</b> How can I enhance user interface for a BADI, and how will calling program accept this changes.

Thanks in advance.

Regards,

Jeet

1 ACCEPTED SOLUTION

Former Member
0 Kudos
101

Hi,

1) You can create a BADI but it is not necesseray to attach the standard program as a hook.Beco'z there are so many standard badis available for any standard program.With the help of standard badis available we can create the implementations for that.In that implementations you can customise the logic over there.

2) you can create a multiple implementations.Std.Badi is attached as a hook.And in that implementations according to your condition in the implementation it will trigger.

3) In that case you can call your badi in different support layers by using call method in the badi.

4)for this query i gave the soln for first query.it will be same for that.

3 REPLIES 3

Former Member
0 Kudos
102

Hi,

1) You can create a BADI but it is not necesseray to attach the standard program as a hook.Beco'z there are so many standard badis available for any standard program.With the help of standard badis available we can create the implementations for that.In that implementations you can customise the logic over there.

2) you can create a multiple implementations.Std.Badi is attached as a hook.And in that implementations according to your condition in the implementation it will trigger.

3) In that case you can call your badi in different support layers by using call method in the badi.

4)for this query i gave the soln for first query.it will be same for that.

0 Kudos
101

Hi Bharath,

I agree SAP has provide many standard BADI's but then it what wcenario will be create our own BADI's(is it only for custom application). Also if i change interface of a standard BADI how will standard program understand it...i am stil not clear on this.

What exactly is meant by calling BADI's in different software layers....i will appreciate if you can give some example to help me understand.

Thanks in advance.

Jeet

0 Kudos
101

Hi all

I have a requirement where i have to add changes to the standard sap screen, adding a couple of columns to it, and i have no user exits for it. ofcourse there is a BADI thru which i can call a custom badi defined for screen enhancements.But again I need to call the subscreen that i got from the badi in the PBO , which is not possible

can any one help me how can i define a badi for screens.

Any little help is greatly appreciated.

Thanks

Satish