User-exits are generally collected in includes and attached in standard program by SAP.
Finding User Exit
- Go to transaction SE93 and type transaction you want find user exit
Click Display
- Get Package
- Go to transaction SMOD
Here if we enter the enhancement name it results the list of user exit names.
But we don’t known the Enhancement name so press Find Button or press Utilities > Find.
- Write package and press Execute
- List of available User Exit after Execute
Step to Implement User Exit
- Go to transaction CMOD to register user exit and activate it.
Click on save button, define package and define transport request in you want transport to other client
- Input Exit Name which have been found before and click on Components button
- Double Click on Function Exit name
Every Import and Tables parameter can be use according necessary requirements
- Double Click on Include Program.
Warning message means Include Program has not been created.
Press Enter will pop up notify to create object. Click on Yes to create object.
- Write the code and activate
- Back to Project Enhancement Assignments Form
- Click on Activate
Testing User Exit
- Go to transaction XK02 to Change Vendor Master
Press Enter
Choose blank Title and Save
Show Message from User Exit
No comments:
Post a Comment