User-specific Selection Variables
Use
You can 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 (see
Using default values from SAP memory).DATA: CCODE(6).
...
SELECT-OPTIONS: CC FOR CCODE MEMORY ID BUK.
...
Features
Creating User Values
See
Creating user-specific variables.Changing User Values
You can change the values of an existing user variable in two ways: