Changing Values from a Program
- To include one of the function modules listed below in your program, open the program using the ABAP Editor.
- Choose Edit → Pattern.
The Ins. Statement (Insert Statement) screen appears.
- Select the CALL FUNCTION radio button.
- In the CALL FUNCTION field, enter the name of the function module.
There is a range of function modules that allow you to work with user variables in your program:
| Function module | Function |
|---|---|
|
VARI_USER_VARS_GET |
Reads existing variable values |
|
VARI_USER_VARS_SET |
Changes existing variable values |
|
VARI_USER_VARS_COPY |
Copies variable values |
|
VARI_USER_VARS_DELETE |
Deletes variable values |
|
VARI_USER_VARS_RENAME |
Renames variable values |
|
VARI_USER_VARS_DIALOG |
Dialog for entering variable values |