Show TOC Start of Content Area

Function documentation User-Specific Selection Variables  Locate the document in its SAP Library structure

Use

You use user-specific selection variables to make input values in a variant user-dependent. The values are saved in tables for all authorized users and retrieved when the user starts a program using the corresponding variable.

This means that you can create variants in which users do not constantly have to enter static values such as their personnel number or company code whenever they run the program. Instead, they only have to fill out the fields whose values change each time they run the program. As a result, several users can benefit from a single variant.

Prerequisites

To place user-specific values in a field, the master record of the relevant user must contain the corresponding user parameter with a parameter ID <pid>.

In an executable program (report), you must create a parameter or selection option using the addition...MEMORY ID <pid> with the correct parameter ID. For more information, see Using default values from SAP memory.

Example

DATA: CCODE(6).

...

SELECT-OPTIONS: CC FOR CCODE MEMORY ID BUK.

...

Features

Creating User Values

For more information, see Creating user-specific variables.

Changing User Values

You can change the values of an existing user variable in two ways:

      Using the function module VARI_USER_VARS_*.

For more information, see Changing values from the program.

      From the selection screen (changed by the user himself or herself).

For more information, see Changing values interactively.

 

 

End of Content Area