You are on page 1of 44

SAP Enhancement and Switch Framework

Yash Jonnalagadda

Cogent IBS Inc. 2008. All Rights reserved.

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.

What we will cover


Enhancement Framework Overview -What's It All About Modification-Free Adaptations of SAP Objects Switch Framework The Re-Integration of the SAP Industry Solutions SAP Enhancement Packages for SAP ERP Wrap-up References Session Takeaways
Cogent IBS Inc. 2008. All Rights reserved.

One Framework - Many Use Cases

Cogent IBS Inc. 2008. All Rights reserved.

Use Case 1: Modification-Free Adaptation of SAP Objects


A better way to adapt SAP applications. Using the Enhancement Framework customers can:
o Enhance and substitute parts of SAP development objects without

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.

Use Case 2: The Re-Integration of the SAP Industry Solution


Benefit from the re-integration of the SAP Industry Solutions:
o All Industry Solutions developed and delivered in one system o Get the Industry Solution you want based on the latest SAP ERP

release and profit from latest ERP features


o Install No waiting for Conflict Resolution Packages (CRTs) o Reduce TCO by having fewer systems in your landscape o Select the Industry Solution you want and re-use particular

functions of other Industry Solutions

Cogent IBS Inc. 2008. All Rights reserved.

Use Case 3: The Enhancement Package Strategy of SAP ERP


Take advantage of the new Enhancement Packages for SAP ERP:
o Stay on one stable release and still get new functionality o Separate the installation from the activation of new functionality o Install only the functionality of your choice o Activate only the functionality you want, instead of getting all or

nothing

Cogent IBS Inc. 2008. All Rights reserved.

What we will cover


Enhancement Framework Overview -What's It All About Modification-Free Adaptations of SAP Objects Switch Framework The Re-Integration of the SAP Industry Solutions SAP Enhancement Packages for SAP ERP Wrap-up References Session Takeaways
Cogent IBS Inc. 2008. All Rights reserved.

Evolution of SAP Enhancement Technology

Cogent IBS Inc. 2008. All Rights reserved.

Implicit and Explicit Enhancement Options


o Implicit enhancement options :

Provided by the framework/system Require no action of an application developer Unconditionally available


o Explicit enhancement options:

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

Implicit Enhancement Options for Application Logic


Enhancement options for:
o Additional types, attributes, and methods of global classes o Overwrite-, pre-, and post-methods of global classes o Optional parameters of methods of global classes and function

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

Enhancement Options for Web Dynpro ABAP


o Web Dynpro ABAP: Enhancement Options for

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

Cogent IBS Inc. 2008. All Rights reserved.

12

What we will cover


Enhancement Framework Overview -What's It All About Modification-Free Adaptations of SAP Objects Switch Framework The Re-Integration of the SAP Industry Solutions SAP Enhancement Packages for SAP ERP Wrap-up References Session Takeaways
Cogent IBS Inc. 2008. All Rights reserved.

13

Switch Framework - Enhancement Packages


o <Line 1> o <Line 2> o

Cogent IBS Inc. 2008. All Rights reserved.

14

Evaluate a Bug by using the Switch Framework

Cogent IBS Inc. 2008. All Rights reserved.

15

Switch Framework: Architecture I

Cogent IBS Inc. 2008. All Rights reserved.

16

Switch Framework: Architecture II

Cogent IBS Inc. 2008. All Rights reserved.

17

Switch Framework: Architecture III

Cogent IBS Inc. 2008. All Rights reserved.

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

Cogent IBS Inc. 2008. All Rights reserved.

19

How to determine if an object is switched?

Cogent IBS Inc. 2008. All Rights reserved.

20

Switchable Objects II
o Switchable Objects by direct assignment

Screen elements & Flow logic Menu entries & functions IMG nodes Easy Access Menu Customizing

Cogent IBS Inc. 2008. All Rights reserved.

21

Screen Painter Element List


o Switch dependent screen elements in the element list disabled

elements are not visible at runtime.

Cogent IBS Inc. 2008. All Rights reserved.

22

Screen Painter Flow Logic


o Switch dependent module

Cogent IBS Inc. 2008. All Rights reserved.

23

Menu Painter
o Switch dependent

menu entries

Cogent IBS Inc. 2008. All Rights reserved.

24

Dependent Objects of a given Business Function

Cogent IBS Inc. 2008. All Rights reserved.

25

Deactivating Business Functions


o Reversible Business Functions must not contain dictionary objects

or BC-Sets.
o Reversible Business Functions may be deactivated in development

or test systems only.


o Do not deactivate a reversible Business Function in a

production system to keep data integrity.

Cogent IBS Inc. 2008. All Rights reserved.

26

What we will cover


Enhancement Framework Overview -What's It All About Modification-Free Adaptations of SAP Objects Switch Framework The Re-Integration of the SAP Industry Solutions SAP Enhancement Packages for SAP ERP Wrap-up References Session Takeaways
Cogent IBS Inc. 2008. All Rights reserved.

27

Developing All Industry Solution in One System


o

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.

Cogent IBS Inc. 2008. All Rights reserved.

28

Example: SAP ERP Core and Two Industry Solutions in One System

Cogent IBS Inc. 2008. All Rights reserved.

29

What we will cover


Enhancement Framework Overview -What's It All About Modification-Free Adaptations of SAP Objects Switch Framework The Re-Integration of the SAP Industry Solutions SAP Enhancement Packages for SAP ERP Wrap-up References Session Takeaways
Cogent IBS Inc. 2008. All Rights reserved.

30

SAP Enhancement Packages for SAP ERP: Stability AND Innovation


o <Line 1> o <Line 2> o

Cogent IBS Inc. 2008. All Rights reserved.

31

The Basic Advantages of SAP EhPs

Cogent IBS Inc. 2008. All Rights reserved.

32

SAP Enhancement Package for SAP ERP: EhP4 at a Glance

Cogent IBS Inc. 2008. All Rights reserved.

33

The Business Functions of a SAP EhP Package for SAP ERP


o Example: Some parts of an Enhancement Package

Cogent IBS Inc. 2008. All Rights reserved.

34

A SAP EhP for SAP ERP From a Technical Perspective


o Example: One Business Function with its switches and the

elements assigned to the switches

Cogent IBS Inc. 2008. All Rights reserved.

35

A SAP EhP for ERP The Entities and Levels Involved

Cogent IBS Inc. 2008. All Rights reserved.

36

What we will cover


Enhancement Framework Overview -What's It All About Modification-Free Adaptations of SAP Objects Switch Framework The Re-Integration of the SAP Industry Solutions SAP Enhancement Packages for SAP ERP Wrap-up References Session Takeaways
Cogent IBS Inc. 2008. All Rights reserved.

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

What we will cover


Enhancement Framework Overview -What's It All About Modification-Free Adaptations of SAP Objects Switch Framework The Re-Integration of the SAP Industry Solutions SAP Enhancement Packages for SAP ERP Wrap-up References Session Takeaways
Cogent IBS Inc. 2008. All Rights reserved.

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

Cogent IBS Inc. 2008. All Rights reserved.

40

What we will cover


Enhancement Framework Overview -What's It All About Modification-Free Adaptations of SAP Objects Switch Framework The Re-Integration of the SAP Industry Solutions SAP Enhancement Packages for SAP ERP Wrap-up References Session Takeaways
Cogent IBS Inc. 2008. All Rights reserved.

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.

Cogent IBS Inc. 2008. All Rights reserved.

42

Q&A

Cogent IBS Inc. 2008. All Rights reserved.

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.

Cogent IBS Inc. 2008. All Rights reserved.

44

You might also like