GUIxt queries? & Need help with BADIs

-----Original Message-----
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, 

-----End of Message----- 

Fast Links:
BDC program examples:
Auto Disallowed Back Posting to Previous Period

Get help for your ABAP problems
Do you have a ABAP Question?

SAP Books
SAP Certification, Functional, Basis Administration and ABAP Programming Reference Books

ABAP Programming Tips
ABAP and Samples Program Codes for Abapers

Best regards,
SAP Basis, ABAP Programming and Other IMG Stuff
http://www.erpgreat.com

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG. 
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk. 
 The content on this site may not be reproduced or redistributed without the express written permission of 
www.erpgreat.com or the content authors.