terça-feira, 14 de março de 2017

Create User Exit

 1.  Identify the requirement for which the user exit needs to be created.
   2.  Run that tcode for which user exit needs to be created.
   3.  Get the program name of that tcode and then get the package name of that program.
   4.     Run the tcode smod. Go to Utilitiesz
           Find Enter.
And then enter the package name and press F8.
You will see all the exits present for that particular tcode.
Identify the exits which will satisfy your need.
*     Go to tcode cmod.
*     Enter the Project name for the user exit and press create.
*     Enter the short text for your project and press É.
*     Go to Enhancement assignments.
*     Enter the exits name which you identified and save.
*     Go to Components, Function exit names and Include table names will appear.
*     Double click on the exit name, the function module appears with an include program name.
*     Double click the include program name and write down your code there. 

                                                                             SCREEN SHOTS

*       Tcode cmod. Enter the Project name for the user exit and press create.


*        Enter the short text for your project and press Enter. 

*       Go to Enhancement assignments and press Enter.

*        Enter the exits name which you have identified and save.


*  Go to Components and press Enter.


*     The Function exit names and Include table names will appear.  Double click on the exit name.


*     The function module appears with an include program name.  Double click the include program name


*     Write down your code here and activate the user exit.


Fonte: https://wiki.scn.sap.com/wiki/display/ABAP/Create+User+Exit

Nenhum comentário:

Postar um comentário