Posted: Wed Dec 26, 2007 12:58 pm Post subject: Business Add-In (BADI) Implementation
Activate BADI
Suppose you have to activate MB_DOCUMENT_BADI, here are the steps to be followed:
*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.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.