Enhancements
Objective
In this Chapter you will learn...
Enhancements
Enhancements to SAP Objects
Advantages of Enhancements
Types Of Exits
Menu Exits
Screen Exits
Function Module Exits
Modifications
Registering the Modifications in SSCR
Modification Adjustment
Rules for Modifications
Enhancements
ADAPTABILITY OF SAP
R/3
Menu Exit Function Exit Screen Exit Field Exit Keyword Exit
Enhancements
There are four different ways of adapting the SAP system to fit
your needs :
Customizing : Configuration of system parameters via a
special user interface, the possible changes are pre planned
and organized. Customizing is required during implementation
of the system.
Modification : Alteration of SAP Repository objects in the form
of custom changes when SAP changes occur, the customer
version and the new SAP version must be reconciled
manually.
Enhancement concept : Changing of SAP Repository objects
by the customer without modification.
Custom development : Creation of custom objects within the
customer name range.
Modification and Customer development involve high
maintenance and costs. Hence use these only when customer
requirements are not met by customizing or by user exits.
Enhancements
Advantages of Enhancements
There are two main reasons why you should use exits
rather than modifying SAP software yourself.
Add-ons attached to exits have the advantage that:
They do not affect standard SAP source code.
They do not affect software updates.
Menu Exits
Screen Exits
Function module Exits
Enhancements
MENU EXITS
Menu exits allow you to attach your own processes to
action menu items. For this, the SAP applications
programmer reserves certain menu entries in the GUI
interface.
The Menu exit entries have function codes that begin
with + (Plus sign).
Once you activate the menu exits, they become visible in
the application. When the menu item is selected, either
the functionality provided by the SAP applications
programmer or your own functionality implemented in
the program exit is processed.
Enhancements
Enter the name of your menu function (such as test menu) in the
field New text.
Screen Exits
old
ZABAP Release
Full version
request
Backward Delta
old Release
ZABAP request
Dictionary objects
Tables, Data Elements, Domains, Matchcodes, Views
ABAP/4 Programs
Reports, Module Pools, Function groups
Screens
Menus
Enterprise Data Models
Modification Adjustment
The modification adjustment for Dictionary objects is
done during the release change. Other Repository
objects are adjusted after the release change.
A Dictionary adjustment after the release change would
result in the loss of new custom fields.
The Dictionary adjustment is done with transaction
SPDD, the adjustment of the remaining Repository
objects with transaction SPAU.
Modifications
Rules for Modifications
Use the following rules when modifying or adjusting:
Try to concentrate the changes in one place ( possibly by
using Includes within the customer name range).
The workbench Organizer does not allow modifications
by DDIC and SAP*.
Release open repairs and open requests containing
repair objects prior to the release change. Such repairs
and requests will be pointed out to your during the
upgrade.
Never create custom programs within the SAP name
range. You will find the customer name range in the SAP
Style Guide.
Avoid modification adjustments by avoiding
modifications.
Modifications
Avoiding the Adjustments
Try to avoid changing SAP objects to prevent the
necessity for modification adjustments.
By using program enhancements and appends for SAP
tables you can enhance SAP object without having
these changes overwritten by SAP during an upgrade.
To avoid manual patches ,SAP offers online correction
services in release 3.0 which allow automatic
implementation and de implementation of hot packages
and patches.
Summary
Summary
There are four ways of modifying the standard system.
Customizing
Modifications
Enhancement Concepts
Custom Development
The advantages of enhancements are
They do not affect standard SAP source code
They do not affect software updates
Enhancements can be achieved by Exits.
There are three types of Exits.
Menu Exits
Screen Exits
Summary
Exercise
Create a menu exit SDW00003 in the area menu
‘TEST’ and add an user-defined report for that
menu exit.
Exercise
Solution
Follow the steps mention in the step-by-step process of
creating the menu exits.
For the menu exits SDW00003, Transaction code +DW3 is
predefined. Now go to transaction SE80 and select the user-
defined report say for example : ZTEST56.
Exercise
For the particular report create the transaction as shown in
the picture.
Exercise
Mention the transaction code that is predefined by the menu
exit and mention the short text, highlight the Program and
selection screen radiobutton and press enter.
Exercise