!--a11y-->
Defining CPM Variables: Cockpit 
Use
Based on the variable definitions for the characteristics of a frame, you determine the concrete value assignment of the CPM variables for the cockpit presentation at the level of the cockpit itself. If, in the context of a frame, a CPM variable is defined for values of a specific characteristic, then the variable is automatically added to the variable lists of all cockpits where the frame appears. You can determine if the CPM variable is to be replaced in the same way for all frames where it is used, or if you will specify the value to be used for each individual frame.

You can also maintain CPM variables in the SEM menu by choosing Strategic Enterprise Management ® Performance Measurement ® Design ® Various ® Variables (see
CPM variables).
Prerequisites
If you want to edit the variable assignment of a cockpit, the cockpit must contain frames where CPM variables are used to restrict characteristic values. If, for all characteristics that are assigned to the frames of a cockpit, the only value restrictions that have been made are to fixed values, then this step is not applicable.
Procedure
With customizing variables, the following objects are listed hierarchically:
Business Information Warehouse system (SAP BW System) that supplies the data for the current cockpit
In the case of runtime variables, only CPM variables in use are listed.
The following steps apply exclusively to the processing of customizing variables:

Strictly speaking, the frame-dependent assignment is a "frame- and position-dependent assignment": Since you can use any frame several times in the same cockpit, its unique identification consists not only of its name but also of the position where it is used in the cockpit.
The system displays a dialog box where you can enter the desired settings. These may differ depending on the definition of the CPM variables. You may be able to select a single characteristic value, make a complex selection, or select a hierarchy.

Each change to the cockpit definition or to the elements of a cockpit results in a change of the cockpit’s status to "inactive". If you wish to display a cockpit with the presentation module or configure the status of the frame elements contained in the cockpit, you therefore have to release it again after making changes to the variable assignment.

In contrast to all other steps for the different element types of the Management Cockpit, you can save the cockpit definition even if you have not completed the variable assignment. In the presentation, only those frames are displayed whose selection criteria are stored in full.
When editing runtime variables, in addition to the value assignment, you can also determine whether the variable value is to be visible in the main window of the presentation module or not. You can show a maximum of two CPM variables in the presentation module. In the context menu of the CPM variables whose value you wish to display, choose 1st Std Runtime Variable or 2nd Std Runtime Variable to display the CPM variable in first or second position.
Result
The restriction of characteristic values for the cockpit is now completed. You can present the released cockpit using the presentation module, provided it is also arranged in the cockpit list (see
Editing the Cockpit List).
See also:
CPM Variables
CPM Variables for Characteristic Value Restriction
Defining CPM Variables: Frame