Beruflich Dokumente
Kultur Dokumente
One of the great strengths of SAP software has always cycle; enhancements are never overwritten in an
been its adaptability — customers can either use a upgrade because they are objects in your namespace,
solution straight out of the box or truly customize it while modifications are part of the object they modify.
to their business needs. Until a few years ago, though, So with enhancements, you have most of the advan-
developers had to hard code any changes as modifi- tages of modifications while enjoying a freedom
cations, which would then be swept away should the from most of the work that modifications require in
company decide to upgrade the core. an upgrade.
Thomas Weiss (thomas.weiss@
But now, as previous Under Development columns All SAP industry solutions are now developed in
sap.com) has a Ph.D. in analytic have delved into, there’s a more state-of-the-art the latest ERP system. This translates into substantial
philosophy and worked as a
professional writer before he
technology to adapt SAP software to your needs: the advantages for customers:
joined the SAP NetWeaver switch and enhancement framework.
Product Management Training
You can install the IS you like based on the latest
team in 2001, where his
In addition to the move away from modifications, SAP ERP release — you need not wait for conflict
responsibilities included the this framework powers some exciting benefits for resolution transports.
e-learning strategy for ABAP.
After getting increasingly
SAP customers — you’ve likely heard about the new
You can use the latest SAP ERP technology in your
involved in writing ABAP material enhancement packages for SAP ERP 6.0, or the fact
himself, he is now a member of IS — some new logistics features in the IS Oil and
the SAP NetWeaver Application
that SAP now develops all of its industry solutions
Gas, for example — whereas before you needed
Server Product Management (ISs) in one system and delivers them on one set of
team. The enhancement and two systems: one for the IS and another system
switch framework has been a
DVDs (you simply switch on the solution you need).
running the latest version of SAP ERP.
topic of primary interest to These are the switch and enhancement framework’s
Thomas for quite some time. Accordingly, you now need fewer systems in your
most important use cases:
Customers can now adapt SAP code without landscape — and this, in turn, means a lower TCO.
modifying it. With the new switch and enhancement Apart from this, by providing all ISs on one set of
4 Note!
framework, you can use enhancements to change or DVDs, SAP can offer functionality that can be used
In the April-June
add something to SAP standard objects without having within different ISs. A user of one IS can reuse
2008 Under Develop-
ment column, Karl to modify them. Enhancements are almost as flexible functionality from another IS. For example, IS Oil and
Kessler described as modifications, and they help you avoid most of Gas customers can reuse all the functionality of the
how to enhance a the work that modifications cause in the software life IS Utilities (as of enhancement package 3). This is a
Web Dynpro ABAP great advantage: Oil and gas companies can not only
application in some For an introduction to the switch and enhancement framework, see
calculate the mineral oil tax and plan the
“A New and Improved Approach to SAP Industry Solutions — How the
detail. In this article,
Switch and Enhancement Framework Now Consolidates SAP Industry storage and transport of oil and gas, but — because of
I’ll focus on the Solutions with the ERP Core” by Karl Kessler in the July-September
2005 issue of SAP Insider (www.SAPinsideronline.com). the additional functionality of the IS Utilities — can
structure of such
also handle mass billing for the end customer.
enhancements and
For more about the SAP ERP enhancement package strategy, please
their basic principles, see “SAP’s New ERP Strategy for Developers: 4 Ways to Make the Most The enhancement package strategy of SAP ERP
of Your SAP ERP System” by Karl Kessler in the July-September 2007
rather than imple- issue of SAP Insider (www.SAPinsideronline.com).
6.0 gives you a new dimension of choices for get-
mentation details. ting new functionality. In the classic world, you had
The benefits of enhancements greatly outweigh those of modifications,
and the enhancement framework covers a lot of cases in which
customers want to adapt SAP code to their needs. But there might still Conflict resolution transports (CRTs) resolve conflicts that can arise
be some cases in which modifications are necessary; I will explain in between a support package for SAP ERP and an SAP industry solution
more detail later in this article. or other add-on component.
The beginning or end of a method (both of global and local Enhancement points allow you to insert source code plug-ins.
classes), function module, or form routine These are additional code lines that, if they exist, are executed
additionally (see Figure 11).
The end of a local structure
Enhancement sections behave the same way, the only difference
being that the source code plug-in replaces the section in the
original code. So an enhancement section is a section that is
flagged for possible substitution.
The new kernel-based BAdI is now integrated into the enhance-
ment framework. BAdIs are hooks for object plug-ins. A BAdI
definition provides an interface with methods. You enhance a
BAdI by providing a class that implements the BAdI interface. If
you call BAdI methods, you can (among other things) specify
which method implementations are to be carried out on the
basis of filter values. In other words, a BAdI method call is like
Figure 11 p An enhancement’s code is processed in the middle of a dynamic method call with a specified interface, where it’s
an SAP object, even though the enhancement belongs to the not determined until run time which method implementations
customer namespace are to take place.
example, that whenever you have a method of a new enhancement package strategy of SAP ERP 6.0, they live in the
customer namespace.
global class, the framework automatically provides and the benefits of each. With an understanding of
pre, post, and overwrite exits. This is why they are these additional use cases, you will gain an even
called implicit enhancement options. deeper understanding of the power of the framework
In addition to implicit enhancement options, which and its benefits for developers. n
the framework supplies, there are also explicit
enhancement options, which have to be clearly
defined by an SAP application developer, for example, AdditionalResources...
who anticipates that a customer might want to select
more columns from the database than the original
...from
program does. Here, the developer could insert an
“Introducing the Enhancement Framework
explicit enhancement option. This way, another devel-
— a new way to enhance SAP programs without
oper could implement this enhancement option with-
having to modify them” by Thomas Weiss
out changing the original development unit.
and Michael Acker (SAP Professional Journal ,
An interesting note: While implementing an
January/February 2008, www.SAPpro.com)
enhancement option is not a modification for a cus-
tomer, inserting an explicit enhancement option into “Introducing the switch and enhancement
the original SAP program does modify the program. framework — consolidating industry
For modification-free adaptations of SAP objects, cus- solutions with the mySAP ERP core” by
tomers depend on the existing enhancement options. Karl Kessler (SAP Professional Journal ,
If you need to add some code at a position where there March/April 2006, www.SAPpro.com)
is no enhancement option, you still have to modify the “A New and Improved Approach to SAP
object. (This is why I earlier referred to enhancements Industry Solutions — How the Switch and
as being almost as flexible as modifications.) Enhancement Framework Now Consolidates
SAP Industry Solutions with the ERP Core,”
Conclusion an Under Development column by Karl
SAP’s new enhancement framework makes customer Kessler (SAP Insider, July-September 2005,
adaptations of SAP objects far more robust in an www.SAPinsideronline.com)
upgrade — and creates far less post-upgrade work