Customer Exit-Menu Exit with Example
Menu Exit:
- Menu exit allows us to add menu items to the menu of SAP programs.
- These menu items have function code that begins eith "+"(a plus sign)
- We can perform customer specific functionalities on these menu items.
Ways to find Menu Exit:
1.Check for Menu items starting with "+" (a plus sign) in the menu bar.(system-status-GUI Status-menu bar)
2.put the package name of the program in 'SMOD' T-code(Utilities-find-package name)
3.Go to t-code se84(Enhancements-customer exits)
Example: Finding the Menu Exit to Add 'Approve Timesheet' button in menu bar.
Way-1: Check for Menu items starting with "+" (a plus sign) in the menu bar
1.Go to t-code 'CAT2'.
2.Click on 'System' and then 'status'.
3.Double click on 'GUI Status'.
4.Expand Menu bar and double click on 'goto'.(+CU6 and +CU7 are available)
Way-2: Put the package name of the program in SMOD T-code(Utilities-find-package name-Execute)
Double click on required customer exit.
Way-3: Go to t-code se84(Enhancements-customer exits- Enter package-Execute)
Example: Adding Approve Timesheet button in menu bar.
2.Provide project name and click create.
3.click on 'enhancements assignments' button and provide custome exit name(eg:)
4.click on 'components' button.(it shows the menu exits available)
5.Double click on required menu exit.
6.Provide the various information like - function text,icon,icon text and information text.
7.click on copy.
8.Double click on Function module exit.(Function module exit is used to add functionalities to this button)
9.Double click on include 'ZXCATU12' .
10.Write the below code.
11.click on 'activate' and click on back.
12.activate project.
Result:
1.Go to t-code 'CAT2' and fill mandatory fields,click on goto-approve timesheet.
it will navigate to 'CAT4' screen.
If you want to delete button.
1.Goto se38-Enter include name(ZXCATU12) -delete.
2.then goto 'CMOD--Enter project name - deactivate- delete.
Comments
Post a Comment