SAP provides the developers with the freedom to add enhancements to the standard function modules. There can be requirements when standard functionalities may not offer some of the functionalities that system demands. Such demands can be accomplished by adding some functionality to SAP standard function modules.
Initially User-exit was used as mode of enhancement. The user can add his code in custom include program and activate it. The main problem with user exits was that only a single implementation was possible. That means if an enhancement is included in project that cannot be reused as long as the project is active.
To over come this issue SAP has come up with BADI concept which supports multiple implementation. These enhancements were good with transactions some times an enhancement was required on a standard report for this SAP has provided an Enhancement Spots. These Spots can be implicit or Explicit.
Business Requirement:- For the transaction XD02, need to add the tab and maintain the Screen contains email addresses. Here used the BADI to meet he business requirement.
Step by Step procedure to meet our business requirement:
Step 1:- For the Transaction XD02, Placed the break point in the BADI and observed the method where break point is triggered.
Step 2:- Assigned the Screen and Program name in the BADI and implemented the business logic in the program.
Step 3:- Business logic is implemented in the program. Layout has designed to meet the business requirement. Table control has designed in the screen .
Step 4:- Finally entered the transaction XD02. Selected the screen group button.
Step 5:- Table control is displayed as shown in the screen and email addresses are maintained in the table ZADR. If Email addresses are changed in the screen then it is updated in the table ZADR.
In case you need assistance on SAP Support Services, please contact us. Please send us your questions, comments or assistance request and our team would be glad to assist you.
By Seetharam Pallaprolu (on behalf of SAP Consulting Team)
SAP :: Streamlined
We offer variety of services including SAP ECC ,SAP HR,SAP BW,SAP CRM, SAP SCM,SAP BPM, Business Objects, SAP ABAP Development, SAP BASIS and SAP NetWeaver consulting. We have expertise in providing implementation,development, SAP Migration and SAP support services to SAP customers across diverse industries at a global level.
Have a question on SAP? Write to our SAP Architect : AskTheArchitect@Apprisia.com
(We promise a no-obligation consulting reply)