Professional Documents
Culture Documents
SAP Enhancement and Switch Framework: Yash Jonnalagadda
SAP Enhancement and Switch Framework: Yash Jonnalagadda
Yash Jonnalagadda
Session Summary
This session gives a overview of SAP Enhancement and Switch
Frame work
The new enhancement concept of the ABAP Workbench
(Enhancement Framework) enables the integration of different concepts for modifying and enhancing development objects. In the long-term, the new Enhancement Framework is to replace or incorporate the existing enhancement and modification concepts.
The main purpose of the Switch Framework is to simplify an
ABAP-based system landscape by adopting one or more industry solutions in a standard system. With minor exceptions, you no longer need to install an industry solution - you can activate it when required.
Cogent IBS Inc. 2008. All Rights reserved.
modifying them
o Avoid that their changes and adaptations are overwritten in the
next update
o Develop their enhancements in their namespace o Own and control their enhancements
Cogent IBS Inc. 2008. All Rights reserved.
nothing
An (SAP Application) developer can Define BAdIs and then call their methods. The new BAdI is a sophisticated enhancement option that you can enhance by a BAdI implementation. Insert explicit enhancement options for source code plug-ins at any position in the source code. ENHANCEMENT POINT/ ENHANCEMENT SECTION
Cogent IBS Inc. 2008. All Rights reserved.
10
modules
o Source code plug-ins at
Beginning/end of method/function module/form routine End of a structure End of private/protected/public section of a local class End of report and include ...
Cogent IBS Inc. 2008. All Rights reserved.
11
UI-Elements Pre-and post-methods of Web Dynpro methods New methods New navigation paths (Plugs) New actions New attributes New nodes that hold the data for the UI elements You can hide any existing UI element by using an enhancement
12
13
14
15
16
17
18
Switchable Objects I
o Switchable Objects by package assignment
Enhancement Implementations Appends, SI-, CI-includes for dictionary structures Fixed value appends to domains Append Search Helps Secondary Indexes Switch Business Configuration Sets
19
20
Switchable Objects II
o Switchable Objects by direct assignment
Screen elements & Flow logic Menu entries & functions IMG nodes Easy Access Menu Customizing
21
22
23
Menu Painter
o Switch dependent
menu entries
24
25
or BC-Sets.
o Reversible Business Functions may be deactivated in development
26
27
Goal Develop and deliver all Industry Solutions in one system. Benefits Industry Solutions are available with every release and Service Pack without delay Reduce TCO for customer by fewer systems in the landscape Re-use parts of other Industry Solutions in one Industry Solution Limitations You can select (switch on) only one Industry Solution in a system. Once an Industry Solution is switched on you cannot switch it off again.
28
Example: SAP ERP Core and Two Industry Solutions in One System
29
30
31
32
33
34
35
36
37
Wrap-up
o Enhancement Framework Enhancement Options: Positions where you can enhance a development object. There are different kinds of enhancement options in different objects. Enhancements live in packages of their own, but are merged into the object they enhance at compile time and processed there at runtime. o Switch Framework All enhancements and many more objects are switchable. You can switch an enhancement by assigning its package to a switch and the switch to a Business Function. A Business Function syncs a large number of switches. It is the unit you can switch.
Cogent IBS Inc. 2008. All Rights reserved.
38
39
References
o SAP Public Web
http://help.sap.com Documentation SAP Netweaver Application Platform ABAP technology ABAP Workbench Enhancement Framework
o SAP Developer Network
http://sdn.sap.com Weblogs
o SAP TechEd 2008 Workshops/Lectures
COMP107 - The Enhancement and Switch Framework COMP360 - Enhancement and Switch Framework
40
41
Session Takeaways
The Enhancement Framework offers new possibilities to extend
the SAP Standard instead of modifying it. Source Code Plug-Ins Function Group Enhancements Class Enhancements New BAdIs
The new BAdIs are more flexible and faster than the classic ones.
The Switch Framework is used to switch on Business Functions
delivered by Enhancement Packages and Industry Solutions. The activity of enhancements is controlled by the assigned switches.
42
Q&A
43
About Cogent IBS, Inc. Cogent Integrated Business Solutions, Inc. is an SAP focused consulting services company based out of Troy, Michigan, USA. CogSAP08 is a Cogent IBS, Inc. professional development event conducted exclusively for its employees.
No part of this presentation may be published or transmitted in any form without the express permission of Cogent IBS, Inc.
44