CUSTOMER EXIT:
Customer exit is used to adding some additional functionality to the standard functionality is always
through function modules
Customer exit is any one of the following exit
1. Menu exit
2. Screen exit
3. Function exit
4. Field exit.
MENU EXIT
Menu exits are used to adding some additional menu items to standard GUI
Note : Menu exits are not possible for all transaction codes
Some of the standard transactions, which contains menu exit
1. VX11----->Create Financial Document
2. CO01----->Create production order
3. MC94----->Change Flexible LIS Planning
Steps to implement the customer exit
1. Identify the package of the transaction code (SE93)
2. Identify the all the customer exits based on the package (SMOD)
3. Identify the right customer exit, which contains our required exit i.e. menu, screen, function exit
(SMOD)
4. Implement the customer exit through project(CMOD)
Object : Implement the customer exit to add the additional menu items to VX11 Transaction
code
Steps to identify the package of the transaction code
Go to SE93
Provide the transaction code (ex : VX11)
Click on display
Identify the package (VEI)
Steps to Identify the all the customer exits based on the package
Go to SMOD
Click on find function key
Provide the package name (VEI)
Click on execute
Identify the all the customer exits for the package
Steps to Identify the right customer exit, which contains our required menu exit
Double click on each and every customer exit
Identify the right customer exit, which contains our required menu exit (Ex : RVEXAKK2)
Steps open the documentation
Go to SMOD
Provide the enhancement as customer exit name (RVEXAKK2)
Select the radio button documentation
Click on display
Read the documentation and understand the functionality
Steps to Implement the customer exit through project
Go to CMOD
Provide the project name ( ZSP_7ME)
Click on create
Provide short description
Click on save
Click on enhancement assignments in the application tool bar
Provide the enhancement as customer exit name and enter
Click on save
Click on components
Click on back to initial screen of CMOD
Select the radio button components
Click on change
Double click on each menu exit
Provide the function texts ( +CS1 -Go to SE11 and +CS2 -Go to SE93)
Enter
Double click on function exit (EXIT_SAPMV86E_003)
Double click on include in the source code tab
And implement the code as follows
IF SUCOMM = '+CS1'.
CALL TRANSACTION 'SE11'.
ELSEIF SUCOMM = '+CS2'.
CALL TRANSACTION 'SE93'.
ENDIF.
Save, check, activate
Click on back
Activate the function module
Click on back
Activate the components
Click on back
Activate the project
Note : Once implementation done, we go VX11 and check the menu exits under environment
Screen exit
Screen exits are used to adding some additional sub screens to the standard transactions
Note : Screen exits are not possible for all transaction codes
Some of the standard transactions, which contains screen exit
1.VX11----->Create Financial Document
2.CO01----->Create production order
3.CJ01------>Create Work Breakdown Structure
Steps to do the following things before working with screen exit
1. The additional screen fields are added to either standard database table through append structure or
create 'Z' table with those fields
2. Based on the table fields, we design the screen (Screen number is provided by sap)
Steps to implement the customer exit
1. Identify the package of the transaction code (SE93)
2. Identify the all the customer exits based on the package (SMOD)
3. Identify the right customer exit, which contains our required exit i.e. menu, screen, function
exit(SMOD)
4. Implement the customer exit through project (CMOD)
Object : Implement the screen exit to add the following additional screen to VX11 transaction
Steps to identify the package of the transaction code
Go to SE93
Provide the transaction code (ex : VX11)
Click on display
Identify the package (VEI)
Steps to Identify the all the customer exits based on the package
Go to SMOD
Click on find function key
Provide the package name (VEI)
Click on execute
Identify the all the customer exits for the package
Steps to Identify the right customer exit, which contains our required screen exit
Double click on each and every customer exit
Identify the right customer exit, which contains our required menu exit (Ex : RVEXAKK1)
Steps open the documentation
Go to SMOD
Provide the enhancement as customer exit name (RVEXAKK1)
Select the radio button documentation
Click on display
Read the documentation and understand the functionality
Steps to Implement the customer exit through project
Go to CMOD
Provide the project name ( ZSP_7SE)
Click on create
Provide short description
Click on save
Click on enhancement assignments in the application tool bar
Provide the enhancement as customer exit name and enter
Click on components in the application tool bar
Click on back to initial screen of CMOD
Select the radio button components
Click on change
Double click on screen exit
Provide the short description
Select the radio button sub screen
Click on save
Click on layout in the application tool bar
Design the screen
Save, check, activate the screen
Click on back
Click on back
Activate the components
Click on bank
Activate the project
Note : Now we go to VX11 transaction and observe the additional screen