Once you have created a menu bar, you have to enter the individual menu entries. Each menu can contain up to 15 entries.
A menu can contain the following:
You are allowed to include submenus up to three levels deep.
Menu functions that logically belong together are grouped together using separators. This makes the menu easier to use. Separators also make long menus easier to read by dividing them into smaller parts.
The following procedures describe how to create and maintain menu entries.
Defining Menu Functions
To add functions to a menu that is already opened in the Menu Painter, proceed as follows:
The system opens the menu. The menu entries list contains two columns Codeand Text.
Function codes can be up to 20 characters long.
If you want to enter a function code that is longer than the input field, you must first change the displayed length of the field in the user settings. To do this, choose Utilities →Settings →User-specificand set the new length.
The name that you enter here appears in the menu at runtime. You can also determine the contents of function texts at runtime. Fore more information, see Defining Dynamic Function Texts.
Using a Switch
You can assign a menu to a switch of the Switch Framework. Using a switch you can define whether the relevant menu should be displayed or hidden, when the switch is either in state ON orSTAND-BY.
To assign a menu to a switch, proceed as follows:
The Menu Attributesscreen appears.
Creating Cascading Menus
To add a cascading menu (sub-menu) to a menu, proceed as follows:
The system opens the menu entry list for the cascading menu.
Inserting Separators
If you want to insert a separator between two existing menu entries, position the cursor on the line before which you want to insert a separator.
Editing Menu Entries
The Menu Painter allows you to cut, copy, paste, and delete menu entries. To do this, proceed as follows:
If you double-click a function code, the Function Attributesdialog box appears. There you can maintain, for example, the Functional Type, the Icon name
(define the icon assigned to a function), the Icon Text, and an Info Text (tooltip).
Using Style Guide Proposals
Some functions are standard on SAP menus. If you are starting with the SAP standard menus, the standard functions appear on your menus. To use a standard function, activate it by entering a function code next to it. If you do not enter a function code, the function remains inactive, and is not displayed at runtime.