SAP Function VIEW_MAINTENANCE - Call Extended Table Maintenance (View Maint.) at Higher Level

Parameter Reference Type Length Default Optional Text
CLIENT_FOR_UPGRADE SYST-MANDT C 3 ' ' X Client for Comparison/Adjustment
COMPLEX_SELCONDS_USED TVDIR-FLAG C 1 ' ' X Flag: DBA_SELLIST Contains Complex Selection Conditions
CORR_NUMBER E070-TRKORR C 20 ' ' X Correction Number for Changes Made
NO_WARNING_FOR_CLIENTINDEP 0 ' ' X Flag: No Warning for Cross-Client Objects
OC_INST REF TO CL_VIEWFIELDS_ORG_CRIT 0 X Object: Organizational Criteria
RFC_DESTINATION_FOR_UPGRADE RFCDES-RFCDEST C 32 ' ' X RFC Dest. of System for Comparison/Adjustment
VIEW_ACTION 0 View Action (Change/Display/Transport)
VIEW_NAME DD02V-TABNAME C 30 Name of the View to be Edited

Parameter Reference Length Optional Text
DBA_SELLIST VIMSELLIST 712 Database Access Selection Conditions
DPL_SELLIST VIMSELLIST 712 X Display Selection Conditions
EXCL_CUA_FUNCT VIMEXCLFUN 23 CUA Functions to be Deactivated Dynamically
X_HEADER VIMDESC 1556 Control Block Table for the Entire View
X_NAMTAB VIMNAMTAB 520 View Fields Control Block Table

Exception Text
MISSING_CORR_NUMBER Correction Number Missing
NO_DATABASE_FUNCTION Data Retrieval Function Module Missing
NO_EDITOR_FUNCTION Editor Function Module Missing
NO_VALUE_FOR_SUBSET_IDENT No Default Value for 'SUBSET' Field


INCLUDE 'DOCU_HAS_TO_BE_ELABORATED' OBJECT DOKU ID TXThe table DBA_SELLIST contains the database access selectionconditions. The following fields must be filled:
Field name Contents
NEGATION NOT, if the condition is to be negated
SPACE otherwise
VIEWFIELD name of the field to which the condition is to apply
OPERATOR logical operator of the condition (e.g. 'EQ','NE',...)
VALUE comparison value of the condition in external format
AND_OR AND, if the next line of the condition is to be linked
to the current line by logical AND
OR , if the next line of the condition is to be linked
to the current line by logical OR
SPACE, if no further line follows
DDIC S, if the view field in DD is flagged as a subsetfield
(PM = 'S')
SPACE otherwise
TABIX Index of the view field in the view nametab
Notes:
Valid operators are: (see also ABAP doc.)
EQ - equals
NE - not equal to
GT - greater than
GE - greater than or equal to
LT - less than
LE - less than or equal to
CA - only for strings: contains at least one character of thecomparison string
CN - only for strings: negation of CA
CO - only for strings: contains only characters from the comparisonstring
NA - only for strings: negation of CO
CP - only for strings: contains the pattern in the comparison string
NP - only for strings: negation of CP
CS - only for strings: contains the string in the comparison string
NS - only for strings: negation of CS
LK - like the LIKE operator in a SELECT ... WHERE clause
The function module does not (yet) check whether the selectionconditions passed here are compatible with any conditions in the DataDictionary view definition. The caller must ensure that this is thecase.
At runtime, the table EXCL_CUA_FUNCT must contain all those functionswhich are not to be callable in data processing , i.e. which are to bedynamically deactivated in the CUA interface at runtime. This isuseful, e.g. for the following functions whose handling in clustermaintenance is ambiguous:
- 'ANZG' --> switch from 'Change' to 'Display' mode,
makes no sense in a maintenance cluster
- 'AEND' --> switch from 'Display' to 'Change' mode
makes no sense in a display cluster
- 'xxxx' --> other functions at the callers discretion.
The table must have the structure VIMEXCLFUN, as follows:
FUNCTION(4) TYPE C, ---> contains the function codes to bedeactivated dynamically
MESSAGE(3) TYPE C. ---> online help auxiliary field (not yetsupported)