SAP Function TABLE_VARIANT_INPUT - Create selection variants for tables/views

Parameter Reference Type Length Default Optional Text
ACTION 0 ' ' X Action: S-display, U-change, A-add, L-delete
NO_DIALOG 0 ' ' X Flag: X-Dialog is suppressed

Parameter Reference Type Length Default Optional Text
CORR_NUMBER E071-TRKORR C 20 ' ' X Change task for logging change
TABLE DD02L-TABNAME C 30 ' ' X Name of the table/view to be processed
VARIANT TVIMV-VARIANT C 14 ' ' X Name of the selection variant to be processed
VARTEXT TVIMVT-TEXT C 60 ' ' X Variant text (for maintenance without dialog)

Parameter Reference Length Optional Text
SELLIST VIMSELLIST 712 X Selection conditions table
X_HEADER VIMDESC 1556 X Control block table for the table/view
X_NAMTAB VIMNAMTAB 520 X Control block table for the table/view fields

Exception Text
CANCELLED_BY_USER Action was cancelled
FOREIGN_LOCK Object is locked by others
INVALID_TABLE The table/view name is not allowed
INVALID_VARIANT The combination table/variant is not allowed
MISSING_CORR_NUMBER Change change task not specified
NO_AUTHORITY No authorization for the requested action
SYSTEM_FAILURE System locking error