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 |
To include these function modules in your program, choose Edit ® Insert statement ® CALL FUNCTION from the ABAP Editor.