Showing posts with label GUIxt queriesand Need help with BADIs. Show all posts
Showing posts with label GUIxt queriesand Need help with BADIs. Show all posts

Friday, November 23, 2007

GUIxt queries and Need help with BADIs in sap

Subject: GUIxt queries? & Need help with BADIs

Hello Folks,

I need some basic simple documentation on the workings of a BADI.
If anybody can help me with some documentation with a step by
step example just to try it out(Bussiness Add Ins) it would be great.

Any kind of pointers will be of great help.

Regards
ABAPer

-----Reply Message-----
Subject: RE: GUIxt queries? & Need help with BADIs

Hi,

Regarding BADIs, heres what we got.

Suppose you have to activate MB_DOCUMENT_BADI, here are the steps to be followed:

Code:

*Go to SE18
*Enter MB_DOCUMENT_BADI in definition and click display.
*Go to Interface tab and look at the Interface used. The methods
of the interface are given in the table there. Somewhere in MB
transactions, SAP is calling these methods.
*Now go to Menu Implementation and click Create.
*Give name to your implementation. In BADI, you can have any
number of implementations. But in function-exit, you can only
have one in-line code.
*Now go to tab Interface.You will see field called Name of
implementing class.Do not change the name. Implementation of
BADI means actually creating a class!.
*Save implementation.
*Double click on class field and you will go to SE24. See the
method parameters.
*Now what ever you write in method, will be executed by
SAP(provided you active the implementation). This is similar to
function-exit.

Hope this helps you..

Regards,

Blog Archive