menu exits

Post on 11-Apr-2015

1.359 Views

Category:

Documents

12 Downloads

Preview:

Click to see full reader

TRANSCRIPT

1

Menu Exits

2

• Understanding Menu Exits • Create a Menu Exit.• Using a Menu exit along with a Program Exit.

Objectives

3

• Menu enhancements allow customers to link their own processes to menu options. For this purpose, SAP has reserved certain menu options so that customers can define their own text and react to user selections in function exits.

• When the enhancement is included in a project and activated by the customer, menu enhancements are visible in the transaction. If the user chooses this menu option, either the function provided by the applications developer is executed, or the system branches to a function exit and the customer's own function is executed.

Definition

4

Menu Enhancements

5

• Menu Enhancement which are provided by SAP are to be included in a project

Example

For SE38 transaction in the initial screen we have in the UTILITIES menu ‘+CUS’ which is under the enhancement SEU00002 for

which a menu-exit can be created by including it in a project.

Menu - Exit

6

The menu item which u will add will come below the Versions menu item

(snap shot taken before menu item is added)

Menu Exit

7

Transaction Code

‘CMOD’

8

Create a project

9

Enter the short text and select

Enhancement assignment

from the menu or Application Tool Bar

10

Enter the Enhancement Name and save the project.

Note : at any particular point any enhancement can belong to only one Project

11

Select the components from the menu or Application toolbar to view the Exits associated with it

12

Double Click on the function module name

(program exit or Function exit ) for enhancing the code

13

Double click on the include and write your code there

14

Write Your code here and go back to the Components screen

15

Double click on the function code of the Menu exit enhancement

16

Write your

Function text

here this is what appears to you in your Menu, and say copy. (create a transport request if required)

17

Go back to the initial screen of ‘CMOD’ transaction and activate the project

18

The menu item which u added which has come below the Versions menu item

(snap shot taken after menu item is added)

19

The message that is displayed at the bottom of the screen when you select the new menu option.

20

Thank You

top related