SAP Function G_SET_MAINTENANCE - Call Set Maintenance Transaction to Display or Change

Parameter Reference Type Length Default Optional Text
CLASS_MASK RGSBS-CLASS C 4 SPACE X Set Class (Mask is possible)
CO_SET_ACCMODE C C 0 SPACE X
FUNCTION C C 0 'DISPLAY' to Display or 'MODIFY' to Change
MASTER_FLAG C C 0 SPACE X 'X': Change to FI-SL Sets not allowed
SET_NAME_MASK C C 0 Set ID (not Set Name) (Mask is possible)
SHOW_GROUP_VALUE SETVAL C 24 SPACE X For Group Maint.: Expand Hierarchy for this Value
TABLE_MASK RGSBS-TABLE C 30 SPACE X Set Table (Generic Spec. possible)
USE_GROUP_MAINTENANCE SYST-DATAR C 1 SPACE X 'X': Use Group Maintenance for CO Groups

Parameter Reference Type Length Text
CLASS RGSBS-CLASS C 4 Set Class (if nec. use Selection)
SET RGSBS-SETNR C 34 Set Name (not ID) (if nec. use Selection)
TABLE RGSBS-TABLE C 30 Set Table (if nec. use Selection)

Exception Text
DYNAMIC_SET_ERROR Error During Maintenance of Dynamic Set
GROUP_MAINTENANCE_ERROR Error Occurred During Group Maintenance
ILLEGAL_FUNCTION Value for FUNCTION is not allowed
NO_AUTHORITY No authorization for chosen action
NO_SETS No Appropriate Sets Exist
NO_SET_PICKED Selection Canceled by User
OBJECT_CREATED_BY_SAP Object was Delivered or Generated by SAP -->
SET_NOT_FOUND Set does not exist


This function modules calls, depending on the 'FUNCTION' parameter, theset maintenance transaction GS02 (change) or GS03 (display) for the setdetermined by the parameters 'CLASS_MASK' 'SET_NAME_MASK' and'TABLE_MASK'.
If set determination is not unique a dialog box appears. The functionmodule can be called with both the "new" set ID (and then blank classand table parameters) and the old set name and the table names.