Thursday, August 2, 2007

How to find a Badi for a program or TCODE


First go to any transaction->iN THE menu bar SYSTEM->STATUS->Get the program name ->double click->u will go to the program attached to the tcode. Now search term will be CALL CL_EXITHANDLER. Now u will get list of BADI'S available..
Goto SE24->Give class name as CL_EXITHANDLER->Display->double click on get_instance mathod->Now u will go inside the method->Now put break point on the cl_exithandler. Now go to any transaction code and pass dat..U will see that it will be stopped on the break point which u set on the cl_exithandler...In the exit name u can find list of badi's attached to the tcode..
There are multiple ways of searching for BADI.
Ø Finding BADI Using CL_EXITHANDLER=>GET_INSTANCE
Ø Finding BADI Using SQL Trace (TCODE-ST05).
Ø Finding BADI Using Repository Information System (TCODE- SE84).

1. Go to the Transaction, for which we want to find the BADI, take the example of Transaction VD02. Click on System->Status. Double click on the program name. Once inside the program search for ‘CL_EXITHANDLER=>GET_INSTANCE’.Make sure the radio button “In main program” is checked. A list of all the programs with call to the BADI’s will be listed.The export parameter ‘EXIT_NAME’ for the method GET_INSTANCE of class CL_EXITHANDLER will have the user exit assigned to it. The changing parameter ‘INSTANCE’ will have the interface assigned to it. Double click on the method to enter the source code.Definition of Instance would give you the Interface name.

2. Start transaction ST05 (Performance Analysis).Set flag field "Buffer trace" Remark: We need to trace also the buffer calls, because BADI database tables are buffered. (Especially view V_EXT_IMP and V_EXT_ACT)Push the button "Activate Trace". Start transaction VA02 in a new GUI session. Go back to the Performance trace session. Push the button "Deactivate Trace".Push the button "Display Trace".The popup screen "Set Restrictions for Displaying Trace" appears.Now, filter the trace on Objects: • V_EXT_IMP • V_EXT_ACT Push button "Multiple selections" button behind field Objects Fill: V_EXT_IMP and V_EXT_ACT All the interface class names of view V_EXT_IMP start with IF_EX_. This is the standard SAP prefix for BADI class interfaces. The BADI name is after the IF_EX_.So the BADI name of IF_EX_CUSTOMER_ADD_DATA is CUSTOMER_ADD_DATA

3. Go to “Maintain Transaction” (TCODE- SE93).Enter the Transaction VD02 for which you want to find BADI.Click on the Display push buttons.Get the Package Name. (Package VS in this case) Go to TCode: SE84->Enhancements->Business Add-inns->DefinitionEnter the Package Name and Execute. Here you get a list of all the Enhancement BADI’s for the given package MB. The simplese way for finding BADI is 1. chooes Tcode Program & package for that Tcode.2. Go to Tcode se18. Press F4. search by package or by program.

37 comments:

Anonymous said...

This website was... how do I say it? Relevant!! Finally I have found something that helped me.
Kudos!

Here is my homepage :: http://www.w-gu.com/stories/116937/How_many_porn_stars_have_mainstream_movie_careers.html
My web site: a nude model

Anonymous said...

Very good blog! Do you have any recommendations for aspiring writers?
I'm hoping to start my own blog soon but I'm a little lost on everything.

Would you recommend starting with a free platform like
Wordpress or go for a paid option? There are so many choices
out there that I'm totally overwhelmed .. Any tips? Kudos!

Also visit my web-site in porn actress

Anonymous said...

Very good blog! Do you have any recommendations for aspiring writers?
I'm hoping to start my own blog soon but I'm a little lost on everything.
Would you recommend starting with a free platform like Wordpress or go for a paid option?

There are so many choices out there that I'm totally overwhelmed .. Any tips? Kudos!

Here is my blog ... in porn actress
my web page :: see more

Anonymous said...

Very good article! We are linking to this great
post on our site. Keep up the great writing.

My web site a sex videos

Anonymous said...

When I originally left a comment I seem to have clicked on the -Notify me when new comments are added- checkbox and from now on each time a comment is added I
recieve four emails with the exact same comment. There
has to be an easy method you are able to remove me from that service?
Cheers!

Here is my homepage - visit

Anonymous said...

This piece of writing offers clear idea in favor of the new
viewers of blogging, that really how to do blogging.


Feel free to surf to my weblog: see more

Anonymous said...

This article gives clear idea designed for the new
users of blogging, that really how to do blogging.

Take a look at my site ... http://yosup.net/yosup/groups/the-opinions-of-adult-photographers-think-about-the-la-condom-law-known-as-measure-b/
Also see my site :: more

Anonymous said...

Great article! We will be linking to this particularly great
post on our website. Keep up the good writing.



My homepage ... http://me.flublu.com/link/12713

Anonymous said...

Hello to all, the contents present at this website are really amazing for people experience, well,
keep up the good work fellows.

Here is my weblog http://vintagewifemovies.com

Anonymous said...

I need to to thank you for this fantastic read!
! I absolutely loved every bit of it. I've got you book marked to look at new things you post…

Look into my web blog http://chatclimax.com/free-videochat/CandyCaneXX

Anonymous said...

Wonderful beat ! I would like to apprentice whilst you amend your site,
how could i subscribe for a weblog site? The account helped me a
appropriate deal. I have been a little bit acquainted of this your broadcast offered bright transparent
concept

my site - see more

Anonymous said...

Nice post. I learn something totally new and challenging
on blogs I stumbleupon every day. It's always helpful to read through content from other writers and practice a little something from other sites.

My website; See More
Also see my web page - Http://Vintagevideos.Net

Anonymous said...

There is certainly a lot to find out about this subject.
I love all of the points you made.

Look at my weblog: see more

Anonymous said...

Hey! I know this is somewhat off topic but I was wondering if
you knew where I could get a captcha plugin for my comment
form? I'm using the same blog platform as yours and I'm having problems finding one?
Thanks a lot!

Feel free to visit my page; more
my website - http://groupsexvirgins.org/index.php?own=2141495

Anonymous said...

you're actually a excellent webmaster. The website loading velocity is amazing. It seems that you're doing any unique trick.

In addition, The contents are masterwork. you have done a great
job in this matter!

My blog post - http://collegeorgies.org
my site - more

Anonymous said...

whoah this weblog is excellent i like studying your articles.
Keep up the great work! You recognize, lots of people are hunting around for this info, you could help
them greatly.

My blog post http://pornharvest.com/index.php?q=Latina+A+Porn&f=a&p=a

Anonymous said...

Thanks for ones marvelous posting! I definitely enjoyed reading it,
you are a great author. I will be sure to bookmark your blog and may come back
from now on. I want to encourage you to continue your great posts, have a nice weekend!


Here is my web site - eskura

Anonymous said...

Howdy! I just would like to offer you a big thumbs up for your excellent information you have right here on this post.

I am returning to your blog for more soon.

My blog post ... visit

Anonymous said...

I'm now not certain where you're getting your info, but good topic.

I needs to spend some time studying more or understanding more.
Thank you for great information I was in search of this info for my mission.


my weblog - katsia coming attraction

Anonymous said...

Hi, I want to subscribe for this website to obtain latest updates, therefore where can
i do it please help.

My web blog; visit

Anonymous said...

I have been browsing on-line more than three hours as of late,
yet I never discovered any fascinating article like yours.
It is beautiful price sufficient for me. In my opinion, if all
web owners and bloggers made just right content material
as you did, the net will likely be a lot more helpful than ever before.



My web page; http://Www.Carquack.com/index.php?do=/profile-1124/info/

Anonymous said...

I just couldn't depart your web site prior to suggesting that I extremely enjoyed the standard information a person provide to your visitors? Is going to be back continuously to check up on new posts

Feel free to surf to my site; http://pornharvest.com/index.php?m=2139584

Anonymous said...

When someone writes an paragraph he/she retains the image of a user in his/her mind that how a user can understand it.
Therefore that's why this piece of writing is great. Thanks!

Feel free to surf to my weblog He Said

Anonymous said...

This is very interesting, You're a very skilled blogger. I've joined your rss
feed and look forward to seeking more of your magnificent post.
Also, I've shared your website in my social networks!

My web site ... See More

Anonymous said...

When some one searches for his vital thing, thus he/she wants to
be available that in detail, therefore that thing
is maintained over here.

my site: more

Anonymous said...

Good day! I know this is kind of off topic but I was wondering which blog platform are you using for this site?
I'm getting sick and tired of Wordpress because I've had problems with hackers and I'm looking at options for another platform. I would be great if you could point me in the direction of a good platform.

Also visit my weblog: at porn photo

Anonymous said...

I do trust all of the concepts you have presented
on your post. They are very convincing and can certainly
work. Nonetheless, the posts are too brief for novices.

May just you please lengthen them a bit from subsequent time?
Thank you for the post.

Here is my site: visit website

Anonymous said...

Hey just wanted to give you a quick heads up.
The words in your article seem to be running
off the screen in Opera. I'm not sure if this is a format issue or something to do with internet browser compatibility but I thought I'd post
to let you know. The design look great though!
Hope you get the problem resolved soon. Cheers

Have a look at my page ... http://serc.nc.hcc.edu.tw/xoops2/userinfo.php?uid=21440

Anonymous said...

you're in point of fact a excellent webmaster. The site loading pace is incredible. It seems that you're doing any unique trick.

Moreover, The contents are masterwork. you've done a fantastic task in this subject!

my site - Do You Agree

Anonymous said...

Great post but I was wanting to know if you
could write a litte more on this subject? I'd be very grateful if you could elaborate a little bit more. Kudos!

Also visit my weblog - Girl Squirting Free

Anonymous said...

I was wondering if you ever thought of changing the structure of your site?
Its very well written; I love what youve got to say. But maybe you could a little more
in the way of content so people could connect with it better.
Youve got an awful lot of text for only having one or
2 pictures. Maybe you could space it out better?

Also visit my web-site ... the sex videos

Anonymous said...

I love reading through a post that can make men and
women think. Also, many thanks for allowing me to comment!


my homepage: i was reading This

Anonymous said...

Admiring the time and effort you put into your site and detailed information you
offer. It's great to come across a blog every once in a while that isn't
the same outdated rehashed information. Great read!
I've bookmarked your site and I'm adding your RSS feeds
to my Google account.

Feel free to visit my web-site :: click here

Anonymous said...

Wow, this piece of writing is nice, my sister is analyzing such things, therefore
I am going to tell her.

My web site: visit website

Anonymous said...

Do you have a spam issue on this site; I also am a blogger, and I was curious about your situation; many of us have developed some nice
methods and we are looking to swap solutions with other folks, be sure to shoot me an e-mail if interested.


my webpage I loved this

Anonymous said...

It's not my first time to pay a quick visit this site, i am visiting this website dailly and obtain nice information from here everyday.

My site; http://pornharvest.com/index.php?m=2216171

Anonymous said...

This article gives clear idea designed for the new
users of blogging, that really how to do blogging. But if you want to know more visit our site. sap recruiting agency