Start of Content Area

Function documentation Calling the Variable Editor  Locate the document in its SAP Library structure

Use

The variable editor is a context-sensitive editor that is accessible in the Query Designer from various places.

Features

This editor appears in all places where you can enter constants (values). You see the following symbol next to such input fields: This graphic is explained in the accompanying text. When you click the arrow, the following options for using a variable appear, instead of a fixed value, in the context menu:

      Entry of Variables: The input help dialog appears, in which you can select a variable.

      New Variable: The variable editor appears, in which you can create a new variable.

      Change Variable: You have chosen a variable from the dropdown box and now choose Change Variable. The variable editor appears, in which you can change the variable.

      Remove: You have chosen a variable from the dropdown box and choose this option to remove this variable from the query.

Example

When defining conditions, you can enter formula variables as well as fixed values for the threshold value of a condition. Click the This graphic is explained in the accompanying text symbol and use the variables options described above. The settings are context-sensitive, so only those formula variables that are available appear in the dropdown box. The variable editor is set up automatically for entering formula variables.

You can also reach the variable editor from the context menu of those objects for whose values you can define variable placeholders. In the context menu, choose New Variable. The new variable is displayed. To define the variable, call the variable editor from the context menu of the new variable by choosing Edit.

Example

In the InfoProvider screen area, you expand a characteristic (for example, Order), select the Characteristic Value Variables entry and choose New Variable from the context menu. The new variable is displayed. In the context menu of the new variable, choose Edit. The variable editor appears, which is already set up for you to enter a characteristic value variable.

In the InfoProvider screen area, you select a characteristic value variable and choose Edit from the context menu. The variable editor appears, which shows all the settings for the variable. You can make changes to the variable here.

 

End of Content Area