Entering content frame

Procedure documentation Adding Functions to a Menu Locate the document in its SAP Library structure

Once you have created a menu bar, you enter the individual menu entries. Each menu can contain up to 15 entries.
A menu can contain any of the following:

You may 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.

Example:

This graphic is explained in the accompanying text

 

Defining Menu Functions

To add functions to a menu that is already open in the Menu Painter:

  1. Open a menu list in the menu bar by double-clicking the menu title.
  2. The system opens the menu. The menu entries list contains the two columns Code and Text.

  3. In the Code column, enter a function code (this may be up to 20 characters long).
  4. Note

    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. (Choose Utilities ® Settings ® User-specific.)

  5. Enter the function text in the Text column.
  6. The name you enter here appears in the menu at runtime. You can also determine the contents of function texts at runtime (see Defining Dynamic Function Texts).

  7. Repeat steps 2 and 3 for each item in the menu.

Creating Cascading Menus

To add a cascading menu (sub-menu) to a menu:

  1. Leave the Code column blank.
  2. Enter a menu name in the Text column.
  3. Double-click the cascading menu to open it.
  4. The system opens the menu entry list for the cascading menu.

  5. Complete the menu as you would any other.

Inserting Separators

  1. Place the cursor on a line.
  2. Choose Edit ® Insert ® Separator.

Note

If you want to insert a separator between two existing menu entries, place the cursor on the line before which you want to insert the separator.

Editing Menu Entries

You can cut, copy, paste, and delete menu entries.

  1. Place the cursor on a line.
  2. Choose Edit ® Entry ® Cut (or Copy, or Paste, or Delete).

Note

If you double-click a function code, the Function Attributes dialog box appears. Here you can, for example, change the icon assigned to a function.

Using Style Guide Proposals

Some functions are standard on SAP menus. If you are starting with the SAP standard menus, these standard functions appear on your menus:

This graphic is explained in the accompanying text

 

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.

 

 

Leaving content frame