Inicio del área de contenido

ProcedimientoDefining Global Variables Localizar documento en árbol de navegación

Use

If you use a variable frequently, you should define it globally rather than in the context of a report or a form. This makes it possible to use the variable in all your forms and reports. This is particularly useful for characteristics which commonly figure in the general report selection, such as period, business area etc.

Another reason for creating global variables is that it is only when using this type of variable that you can perform a multiple selection. This means that you can include or exclude freely selectable values or ranges of values when executing reports. The features available in multiple selection can vary from application to application. When using local variables, you cannot use multiple selection.

Procedure

  1. Call up the initial screen for maintaining variables.
  2. In most applications, you define global variables by selecting Information System in the application in question. The component EC-EIS is an exception. Here, you define global variables by choosing Information System ® Variables ® Define Variables in the application menu.

  3. To define a new variable, choose Edit ® New Entries.
  4. Enter the required variable type, a name and the replacement type.
  5. Note that the name you choose for a global variable must always begin with &. Depending on the variable type and replacement type you choose, the system will prompt you to make various entries in additional fields.

  6. If you want to use the variable for general report selections, enter S in the field Parameter/Selectopt.
  7. Make all necessary entries and save the variable.

Result

You can use the variable in forms or reports. In fields where it is technically possible to use the variable, it will be offered to you via possible entries (F4).

 

 

 

Fin del área de contenido