In this blog, we will discuss the different techniques which are used to enhance SAP code and standard functionality. It is often required to modify the standard SAP code in order to match customer’s requirement to suit the business functionalities. SAP itself provides scope for the enhancements, like the user-exits, enhancement-spots, append structures, BADIs etc. These enhancements are retained even after an upgrade. Choice of the technique to be used depends upon the requirement, maintenance and suitability.
Following are the enhancement techniques used to modify standard SAP functionality:
Business data toolset in a new functionality provided by SAP to modify screen i.e. standard screens. If the requirement is to add new fields, shift fields from one tab to another tab, add field groups, create views, and create sections in a screen BDT helps you to do that.
Transaction FQEVENTS is meant to maintain FI-CA events and some specific events which are used by the mass activities. For this method to be used for enhancement we have to find out events for the transaction and check the documentation for the function modules available for those events. The functionality which is provided by these function modules can only be used for enhancement.
As part of the extension concept, SAP allows you to install a field exit for each screen field. Similar to the conversion exit, the system branches at the field exit at DCI (DATA COMMUNICATIONS INPUT) to a function module, if the field is an input field and a function code was triggered. FIELD EXITS are available for all domains.
They are the hooks provided by SAP where we can add logic to enhance the transaction. For this method to be used for enhancement we have to find out User Exits for the transaction and check the functionality provided. The functionality which is provided can only be used for enhancement.
They are the hooks provided by SAP where we can add logic to enhance the transaction. Here approach is object oriented. For this method to be used for enhancement we have to find out BADI for the transaction and check the functionality provided. The functionality which is provided can only be used for enhancement.
The aim of the Modification Assistant is to make modification adjustments easier.
You can add, replace, or comment out source code, all under the control of the Modification Assistant. Changes to layout and flow logic in the Screen Painter are also recorded. The Modification Assistant also records changes in the Menu Painter and to text elements, as well as the addition of new function modules to an existing function group if you want to change an SAP object, you must provide the following information: SSCR key, Change request.
This is Modification-free enhancement of source code.
Available Modifications are:
- Implicit Enhancement Option
- Explicit Enhancement Option
- Function Group enhancement
- Class enhancement
BTE(Business Transaction Event):
The enhancement technique (Open FI) that was developed for Financial Accounting component.Open FI assumes that enhancement will only take place on three levels (SAP – partners – customers)
Open FI uses function modules for program enhancements.
Types of Interfaces
There are two types of interface available
- Publish and Subscribe Interface
- Process Interface
For this method to be used for enhancement we have to find out BTE for the transaction and check the functionality provided. The functionality which is provided can only be used for enhancement.
Technique: Append Structure
Append structures are used for enhance tables or structures.
We can add more than one append structures for a table or structure.
The following enhancements can be made to a table or structure TAB with an append structure:
- We can insert new fields in TAB
- We can define foreign keys for fields of TAB that already exist
- We can attach search helps to fields of TAB that already exist.
Please send us your questions, comments or assistance, and our team would be glad to assist you.
By Moreshwar Thawkar (on behalf of SAP Consulting Team)
SAP :: Streamlined
We offer variety of services including SAP ECC ,SAP HR,SAP BW,SAP CRM, SAP SCM,SAP BPM, Business Objects, SAP ABAP Development, SAP BASIS and SAP NetWeaver consulting. We have expertise in providing implementation,development, SAP Migration and SAP support services to SAP customers across diverse industries at a global level.
Have a question on SAP? Write to our SAP Architect.
(We promise a no-obligation consulting reply)