sap enhancement techniques - 21 october 2010
TRANSCRIPT
SAP Enhancement Techniques“There is no such thing as Vanilla SAP”
October 21, 2010
M em ber o f the Group
Objectives
At the end of this presentation, you will know:
• Different SAP Enhancement Techniques• When to Apply the Technique• Which Technique to Apply
M em ber o f the Group
Topics
• BDT• FQEVENTS• Field Exits• User Exits• BADI• Modification Assistant• Enhancement Spots• BTE• Append Structure
M em ber o f the Group
BDT
BDT stands for Business Data Toolset• BDT is a central control tool for maintaining SAP dialog
programs.
• It is used at SAP for maintaining application transaction. • SAP extended this tool for use by development partners and
customers. • BDT is used to:
• add new custom fields • hide standard fields • move standard fields from one screen to another • add new menu options • add custom validations all without modifying the underlying transaction
Please Note: A transaction must be BDT enabled!
M em ber o f the Group
FQEVENTS
Transaction FQEVENTS is meant to maintain FI-CA events and some specific events which are used by the mass activities.
• To use FQEVENTS, you need to:
• find out events for the transaction • check the documentation for the function modules available
Please Note: Function modules can only be used for enhancement!
M em ber o f the Group
Field Exits
A field exit is an old enhancement technology linked to a screen input field.
• Field exit can be used to:• change the value of the field
• trigger an error message on that field • A field exit applies to a given data element and a given dynpro
or all dynpros, and is active for all clients.• It is called just after the user has pressed a key.• It calls a function module with a special name that needs to be
registered via program RSMODPRF.
NB: Field exit technology is deactivated by default since NetWeaver 6.10 and is obsolete since SAP Basis 4.6a !
M em ber o f the Group
User Exits
User exits are the hooks provided by SAP where we can add logic to enhance the transaction .
• To use this method, you need to:• to find out user exits for the transaction• check the functionality provided
• The exit is implemented as a call to a function module.
• The developer writes the code in the include that is implemented in the function module.
NB: The functionality which is provided can only be used for enhancement!
M em ber o f the Group
BADI
BADI stands for Business Add-In.
• To use this method, you need to:• to find out BADI for the transaction• check the functionality provided
• The exit is implemented in an implementing class of an interface.
• The developer writes the code in the method of an interface.
NB: The functionality which is provided can only be used for enhancement!
M em ber o f the Group
Modification Assistant
Modification assistant is a tool that is intended to make modifications easier to execute, record, and adjust.
• You can us modification assistant to.• add new code• replace existing code• Comment out code
• The developer writes the code in the method of an interface.
NB: To change SAP standard code, you need SSCR key!
M em ber o f the Group
Enhancement Spots
Modification spots are modification-free enhancements of source code.
• Available modifications• Implicit Enhancement Option • Explicit Enhancement Option • Function Group enhancement • Class enhancement
M em ber o f the Group
BTE
BTE stands for business transaction event.
• The enhancement technique (Open FI) that was developed for Financial Accounting component.
• The Open FI assumes that enhancement will only take place on three levels (SAP – partners – customers)
• Open FI uses function modules for program enhancements.• To use this method, you need to:
• find out BTE for the transaction
• check the functionality provided
M em ber o f the Group
Append Structures
Append structures are used for enhancing tables or structures.
• The following enhancements can be made to a table or structure Financial Accounting component
• insert new fields in tables• define foreign keys for fields of tables that already exist
• attach search helps to fields of tables that already exist.
M em ber o f the Group
Questions