Show TOC

 The Dialog StatusLocate this document in the navigation structure

Note

The information below applies not only to dialog statuses but also, with some restrictions, to statuses for dialog boxes. A status of a dialog box contains only a toolbar and the standard function codes of the toolbar and function codes which are linked with function keys but not with the application toolbar are available using the keyboard.

Use

A dialog status consists of a menu bar, a standard toolbar, an application toolbar, and a function key setting. When you define a dialog status in the Menu Painter, every function code is assigned to a menu entry in a menu bar or to a freely-assignable function key on the keyboard. Function codes that are assigned to a function key can also be assigned to an icon in the standard toolbar or a pushbutton in the application toolbar. For each function code, there is a static or dynamic function text. Dynamic function texts allow you to use context-sensitive texts in your ABAP program.

For more information, see Defining Dynamic Function Texts .

The user interface is a visualization of all possible functions, and is meant to make programs easier to use. From a technical point of view, you could just enter the function code in the command field and trigger the PAI event by pressing ENTER .

Caution

A dialog status must contain all possible function codes as menu entries.

The most important functions should also be assigned to function keys, and the most important of these should also be assigned to icons in the standard toolbar or the application toolbar.

In the Menu Painter, the functions that you assign to icons in the standard toolbar must also be assigned to particular function keys. You cannot assign them freely. When you assign a function code to an icon, the system automatically assigns the relevant function to the corresponding function key.

Note

You should always activate at least one of the Back  (F3), Exit  (Shift+F3), or Cancel  (F12) functions, so that the user can always leave the screen in the normal fashion. The assignment of function keys to pushbuttons in the application toolbar is not fixed.

The Menu Painter provides you with help when you assign function codes to interface elements, since you can use the Display standards function in the menu bar and corresponding checks.

As well as the function codes for Normal Application Functions which trigger the PAI event, you can create function codes in the Menu Painter with other functions (for example, to call another transaction or trigger a system functions). Such function codes can also be assigned to pushbuttons, checkboxes, or radio buttons on screens. To do this, you must assign a different function type to the function code in either the Menu Painteror the Screen Painter.