Entering content frame

Procedure documentation Defining Restricted Key Figures Locate the document in its SAP Library structure

Use

You can restrict the key figures of an InfoProvider for reuse by selecting one or more characteristics. The key figures that are restricted by one or more characteristic selections can be basic key figures, calculated key figures, or key figures that are already restricted.

Procedure

Defining a new restricted key figure

...

       1.      In the InfoProvider screen area, select the Key Figures entry and choose New Restricted Key Figure from the context menu (secondary mouse button).

If a restricted key figure has already been defined for this InfoProvider, you can also select the Restricted Key Figures entry and then choose New Restricted Key Figure from the context menu.

The entry New Restricted Key Figure is inserted and the properties for the restricted key figure are displayed in the Properties screen area.

       2.      Select the New Restricted Key Figure entry and choose Edit from the context menu (secondary mouse button.

The Change Restricted Key Figure dialog box appears.

Make the basic settings on the General tab page.

The text field, in which you can enter a description of the restricted key figure, is found in the upper part of the screen.

Note

You can use text variables in the description.

Next to that, you can enter a technical name in the Technical Name field.

Underneath the text field, on the left of the Detail View, is the directory of all the objects available in the InfoProvider. The empty field for defining the restricted key figure (Details of the Selection) is on the right-hand side of the screen.

       3.      Using Drag&Drop, choose a key figure from the InfoProvider and restrict it by selecting one or more characteristic values. See Restricting Characteristics.

Note

You can also use variables in place of characteristic values. However, note that you cannot use the following variable types in restricted key figures for technical reasons:

     Variables with the process type Replacement with Query (see also Replacement Path: Replacement with Query

     Variables that represent a precalculated value set (see also Details)

You can use these variable types to restrict characteristics in the rows, columns or in the filter.

       4.      Make any necessary settings for the properties of the restricted key figure on the other tab pages. See Selection/Formula Properties.

       5.      Choose OK. The new restricted key figure is defined for the InfoProvider.

Editing restricted key figures

Caution

Note that when you change a restricted key figure, these changes are effective in all queries that use this restricted key figure.

Note

You can see where the restricted key figure is used. Choose Where-used List from the context menu of the restricted key figure (secondary mouse click).

...

       1.      In the InfoProvider screen area, select the restricted key figure and choose Edit from the context menu (secondary mouse button).

       2.      Make the required changes to the definition and, if required, in the properties on the associated tab page.

       3.      Choose OK.

Determining properties for the restricted key figure

...

       1.      Select the restricted key figure. The Properties dialog box is displayed in the Properties screen area.

       2.      Make the required settings for the description, number format, and currency translation for the restricted key figure. See Selection/Formula Properties.

Result

You have defined a restricted key figure for reuse. You can now use this restricted key figure in all queries based on this InfoProvider by moving the key figure into the rows or columns of the query using Drag&Drop. The restricted key figure is not an actual element in this query, but a placeholder referenced to the restricted key figure in the InfoProvider.

 

 

Leaving content frame