Professional Documents
Culture Documents
Enhancement Framework: Oliver J. Mayer
Enhancement Framework: Oliver J. Mayer
Oliver J. Mayer
Product Manager SAP NetWeaver
Learning Objectives
Kernel-BAdI Technology
Switch Framework
Summary
Kernel-BAdI Technology
Switch Framework
Summary
Availability
App Server Release
4.6c
6.10
6.20
NW04
mySAP PLM
mySAP SCM
mySAP CRM
mySAP SRM
NW04s
SAP NetWeaver
User Productivity
Enablement
Running an
Enterprise Portal
Data Unification
Master-Data Harmonization
Business Information
Management
Enterprise Reporting,
Query, and Analysis
Business Event
Management
End-to-End Process
Integration
Custom Development
Unified Life-Cycle
Management
Application
Governance and
Security Management
Consolidation
Enabling User
Collaboration
Business Task
Management
Master-Data Consolidation
Mobilizing
Business
Processes
Central Master-Data
Management
Enterprise Data
Warehousing
Enterprise Search
Enterprise Knowledge
Management
Enterprise
Knowledge
Management
Enterprise Search
Business Process
Management
Enabling Platform
Interoperability
Business Task
Management
Enabling Platform
Interoperability
SAP NetWeaver
Operations
Master-Data
Consolidation
Enterprise Knowledge
Management
Enterprise Data
Warehousing
Motivation
Reducing TCO
Enhancing objects instead of modifying them reduces the effort
for adjustment during SP import or upgrade.
Disadvantages of modifications
No support for multiple users or projects
No support for parallel developments
Will appear much more often in adjustment tools
Higher adjustment effort (during upgrade & SP import)
Business
Transaction
Events
Industries
Workbench
Filters
Classes
Business
Add Ins
Function
modules
Customer
Exits
Enhancement Framework
Kernel based
Business
Add Ins
Kernel
SAP AG 2006, Enhancement Framework, Oliver J. Mayer / 9
Kernel-BAdI Technology
Switch Framework
Summary
Enhancements - Relations
n
1
n
1
Definition
Implementation
Terminology by Example
Composite Enhancement Spot
SAP
Customer
SD
SD
Invoice
Invoice
Enhancement Spot
Enhancement Impl.
Pricing
Pricing
Enhancement Option
Source Code Enhancement
FUGR V60A
FUGR V60A
Enhancement Option
BAdI Definition
PRICING_BADI1
OIL_PRICING_IMPL1
Enhancement Browser
Search for
Enhancements possibilities (Definitions typically provided by SAP)
Enhancement Implementations (typically done by Customer)
Kernel-BAdI Technology
Switch Framework
Summary
Begin/End
End
of a structure
End of Private/Protected/Public Section of a local class
...
ENHANCEMENT 1.
WRITE Hello
Paris.
ENDENHANCEMENT.
ENHANCEMENT 2.
WRITE Hello
London.
ENDENHANCEMENT.
..
..
..
ENHANCEMENT-SECTION ep2
SPOTS s1.
WRITE Original.
END-ENHANCEMENT-SECTION.
ENHANCEMENT 3.
WRITE Enhanced.
ENDENHANCEMENT.
to switch to
to leave Enhancement
Demo
Demo
Source Code Plugin
Kernel-BAdI Technology
Switch Framework
Summary
Transaction: SE37
Demo
Demo
Function Group Enhancement
Kernel-BAdI Technology
Switch Framework
Summary
Class/Interface Enhancements
Post-Exit
Pre/Post Exits
Method Hugo.
Coding.
Coding.
Coding.
Endmethod.
Method Pre.
.
Endmethod.
Method Post.
.
.
Endmethod.
Demo
Demo
Class Enhancement
Kernel-BAdI Technology
Switch Framework
Summary
BADIs - Overview
What are BAdIs?
Business Add-Ins
is an anticipated point of extension these points act like
sockets and exist in the original coding
has a well-defined interface in contrast to source code plug-ins
and is therefore more stable to changes in the original coding
Implementation
BAdI Implementation 1
Simple Enhancement Implementation SEI1
Package A
BAdI Implementation 2
BAdI BADI_A
BAdI BADI_B
BAdI Implementation 3
BAdI BADI_C
BAdI Implementation 4
Simple Enhancement Implementation SEI2
BAdI Implementation 5
Switch_2
SAP AG 2006, Enhancement Framework, Oliver J. Mayer / 32
Package B
Demo
Demo
Kernel-BAdI
Performance Comparison
Classic BAdI
Migrated BAdI
2-27
40-600
200%-2600%
New BAdI
4000%-60000%
Kernel-BAdI Technology
Switch Framework
Summary
Benefits:
Industry Solutions are available with every release and SP without delay (i.e.
timely provision of legal requirements),
CRTs* are no longer necessary for add-on systems
Industry Solutions can be enriched by generic functions from other industries
Synchronization of release cycles and planning
* CRT Conflict Resolution Transport
SAP AG 2006, Enhancement Framework, Oliver J. Mayer / 38
Switchable Objects
Switchable Objects
by package assignment
Appends, SI-, CI-includes for structures in DDIC
Fixed value appends to domains
Secondary Indexes
Append Search Helps
Enhancement Implementations
Switch Business Configuration Sets ( Switch BC-Sets)
by direct assignment
Screen elements & Flow logic
Menu entries & functions
IMG nodes
Customizing
Switch
Switch
Repository Object
Business Function
n
m
Switch
Calculated states:
ON, OFF, STANDBY
Transaction SFW1
Business Function
Business Function
Business Function
n
m
Switch
Represents a piece of
business functionality
Contains switches
Transaction SFW2
Business Function
n
Switch
SFW3
SAP AG 2006, Enhancement Framework, Oliver J. Mayer / 43
SFW5
Package
Switch 1
Screen 1
Switch 2
Element 1
Element 2
Switch 3
Switch 4
IMG-nodes
Package
Kernel-BAdI Technology
Switch Framework
Summary
Summary
The new BAdIs are more flexible and faster than the
classic ones.
Further Information
Help Portal
http://help.sap.com
Documentation SAP Netweaver (04s) Application Platform
ABAP technology ABAP Workbench Enhancement Framework
Ramp-up customers:
Send mail to rkt@sap.com
SDN
http://sdn.sap.com
Questions?
Q&A
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information
contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation.
IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iSeries, pSeries, xSeries, zSeries, z/OS, AFP,
Intelligent Miner, WebSphere, Netfinity, Tivoli, and Informix are trademarks or registered trademarks of IBM Corporation.
UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.
Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc.
HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology.
JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are
trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned
are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.
The information in this document is proprietary to SAP. No part of this document may be reproduced, copied, or transmitted in any form or for any purpose
without the express prior written permission of SAP AG.
This document is a preliminary version and not subject to your license agreement or any other agreement with SAP. This document contains only intended
strategies, developments, and functionalities of the SAP product and is not intended to be binding upon SAP to any particular course of business, product
strategy, and/or development. Please note that this document is subject to change and may be changed by SAP at any time without notice.
SAP assumes no responsibility for errors or omissions in this document. SAP does not warrant the accuracy or completeness of the information, text, graphics,
links, or other items contained within this material. This document is provided without a warranty of any kind, either express or implied, including but not limited
to the implied warranties of merchantability, fitness for a particular purpose, or non-infringement.
SAP shall have no liability for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of
these materials. This limitation shall not apply in cases of intent or gross negligence.
The statutory liability for personal injury and defective products is not affected. SAP has no control over the information that you may access through the use of
hot links contained in these materials and does not endorse your use of third-party Web pages nor provide any warranty whatsoever relating to third-party Web
pages.