Professional Documents
Culture Documents
Enhancement Intro
• The R/3 Enhancements concepts allows us to add
your own functionality to SAP’s stand applications
with out modify the original applications.
• SAP creates enhancements for specific programs,
screens and menus within R/3 applications.
• These enhancements acts as hooks where we can
HANG our own add-on functionality onto these
hooks.
Approaches
Enhancement Approaches
Screens Programs
Tables
• SAP creates menu exits by defining special menu items in the Menu
Painter. These special entries have function codes that begin with + sign.
Screen Exits
• Screen exits add fields to screens in R/3
Applications.
• SAP creates Screen exits by placing sub screen area
on a standard R/3 screen.
Function Exits
• Function module exits add functionality to
R/3 applications. Function module exits play
a role in both menu and screen exits.
Locate the Exits for Any Transaction
1. Find out the development class/Package for a transaction
a. Execute T. Code SE 93 and click on Display
Click on Attributes
Package
Locate the Exits for Any Transaction
2. Find out Enhancements
a. Execute T. Code SMOD
Click on Execute
Enhancement Name
Locate the Exits for Any Transaction
3. Find out Exits
a.
b.
Execute T. Code SMOD
Enter Enhancement
c. Select Components
d. Click on Display
Exit Name
Implementing Function Module Exits
1. Create the Project and link the enhancement
a. Execute CMOD transaction and enter the project name : ZProj
b. Click on Create push button.
c. Enter Short description. : project for enhancement
d. Click on Enhancement assignments
e. Enter SAP Enhancement : SAPMF02D
Note:- Once the project linked with enhancement we can implement the customer
functionality through SMOD or CMOD.
Implementing Function Module Exits
Lets continue with CMOD only.
a. Place the cursor on enhancement SAPMF02D
b. Click on Components
d. Double click on Include ZXF04U01 and you will This is the place where we
below message and again press enter key can ADD our functionality
Implementing Function Module Exits
e. Select YES to create object and SAVE.
Activate
Testing
Execute T. Code XD01
Enter Account Group: Bill-to-party
Enter Customer: 11111
Click on Next
Click on Attributes
Package
Locate the Exits Enhancement Name
2. Find out Enhancements
a. Execute T. Code SMOD
Note:- Once the project linked with enhancement we can implement the customer
functionality through SMOD or CMOD.
Implementing MENU Exits
Lets continue with CMOD only.
a. Place the cursor on enhancement SAPMF02D
b. Click on Components d. Enter function text: Create Program and click on COPY
button
f. Double click on Include ZXSOPU03 and you will This is the place where we
below message and again press enter key can ADD our functionality
Implementing Function Module Exits
g. Select YES to create object and SAVE.
Activate
Testing
Execute T. Code MC94
Enter planning Type: REPL
Enter
Click on Attributes
Package
Locate the Exits Enhancement Name
2. Find out Enhancements
a. Execute T. Code SMOD
Click on F4 function Key
Note:- Once the project linked with enhancement we can implement the customer
functionality through SMOD or CMOD.
Implementing SCREEN Exits
Lets continue with CMOD only.
a. Place the cursor on enhancement CNEX0006
b. Click on Components d. Continue with this message
j. Click on Change mode an place the cursor you wanted to add the code and
click on Insert Button
k. Add code: Move-corresponding sap_proj_imp to proj
l. Save and Activate
Implementing SCREEN Exits
M. we need to transfer the data from Screen to program (PAI)
R. Activate a Proj
Testing
Execute T. Code CJ01
Enter Project Def.. : P-0020
Enter Project Profile: Cost Projects
Enter