Professional Documents
Culture Documents
New Way To Enhance Your ABAP Systems PDF
New Way To Enhance Your ABAP Systems PDF
New Way To Enhance Your ABAP Systems PDF
Oliver J. Mayer
Product Manager SAP NetWeaver
Learning Objectives
mySAP CRM
mySAP SRM
mySAP SCM
mySAP PLM
Mobilizing Enterprise
User Productivity Running an Enabling User Business Task
Business Knowledge Enterprise Search
Enablement Enterprise Portal Collaboration Management
Processes Management
Central Master-Data
Data Unification Master-Data Harmonization Master-Data Consolidation Enterprise Data Warehousing
Management
Business Information Enterprise Reporting, Business Planning and Enterprise Data Enterprise Knowledge
Enterprise Search
Management Query, and Analysis Analytical Services Warehousing Management
Business Event
Business Activity Monitoring Business Task Management
Management
Enabling Application-
End-to-End Process Enabling Business-to- Business Process Enabling Platform Business Task
to-Application
Integration Business Processes Management Interoperability Management
Processes
Custom Development Developing, Configuring, and Adapting Applications Enabling Platform Interoperability
Unified Life-Cycle
Software Life-Cycle Management SAP NetWeaver Operations
Management
Application
Governance and Authentication and Single Sign-On Integrated User and Access Management
Security Management
Ways of adaptation:
Customizing
Enhancement
Modification
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)
Application
User Business
Exits Transaction
Events
Form
Industries
routines
Workbench
Filters
Classes
Business
Add Ins
Enhancement Framework
Function
modules
Customer Kernel based
Business
Exits Add Ins
Kernel
n m
[Simple] Enhancement Spot [Simple] Enhancement Implementation
n n
1 1
n
n
Composite Enhancement Spot Composite Enhancement Implementation
1 1
Definition Implementation
SD SD
Composite Enhancement Spot Composite Enhancement Impl.
Invoice Invoice
Enhancement Spot Enhancement Impl.
Pricing Pricing
Search for
Enhancements possibilities (Definitions typically provided by SAP)
Enhancement Implementations (typically done by Customer)
ENHANCEMENT 1.
PROGRAM p1. WRITE Hello
Paris.
WRITE Hello World. ENDENHANCEMENT.
ENHANCEMENT 2.
ENHANCEMENT-POINT ep1 SPOTS WRITE Hello
s1. London.
ENDENHANCEMENT.
..
..
..
ENHANCEMENT 3.
ENHANCEMENT-SECTION ep2 WRITE Enhanced.
SPOTS s1. ENDENHANCEMENT.
WRITE Original.
END-ENHANCEMENT-SECTION.
Demo
Source Code Plugin
Transaction: SE37
Demo
Function Group Enhancement
Call method instance->hugo( ).
Demo
Class Enhancement
flt-lang = `D`.
Active implementations are evaluated at compile time
CALL METHOD bd->method
EXPORTING and included in the load of the BAdI-handle.
x = 10
flt_val = flt.
Switch_1
Definition Implementation
Simple Enhancement Spot
Spot_1 BAdI Implementation 1
Simple Enhancement Implementation SEI1
Package A
BAdI Implementation 2
BAdI BADI_A
Switch_2
SAP AG 2006, Enhancement Framework, Oliver J. Mayer / 32
Creating BADI in SE80
Demo
Kernel-BAdI
Automatic migration
Automatic migration by selecting
by selecting migrate
utilities
migration
utilities from BAdI
from BAdI
Builder Builder (SE18)
(se18)
Specify
Specify Enhancement
Enhancement Spot
Spot for for
BAdI BAdI Definition
Defintion
Specify
Specify Enhancement
Enhancement Implementation
Implementation for BAdIfor BAdI
Implementation
Implementation
no special knowledge necessary
no special knowledge necessary
effort: 5 minutes per BAdI (with some implementations). The migration
effort: approximately 5 minutes per BAdI.
can be automated.
1 2-27 40-600
x faster as classic BAdI x faster as classic BAdI
200%-2600% 4000%-60000%
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
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
Business Function
n
m
Switch
Business Function
Represents a piece of
business functionality
Business Function Set
Contains switches
n Transaction SFW2
m
Business Function
n
m
Switch
Switch
SFW3 SFW5
SAP AG 2006, Enhancement Framework, Oliver J. Mayer / 43
Switch Framework: Architecture
BusBus Fct F1
Bus FctFct
F4 F2 Switch 2 Element 1
BusBus
FctFct
F4 F2 Element 2
Switch 3
IMG-nodes
Bus Fct F4 Switch 4 Package
The new BAdIs are more flexible and faster than the
classic ones.
Help Portal
http://help.sap.com
Documentation SAP Netweaver (04s) Application Platform
ABAP technology ABAP Workbench Enhancement Framework
SDN
http://sdn.sap.com
Q&A
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.