SAP Function VIEW_MAINTENANCE_CALL - Call Extended Table Maintenance (View Maint) Highest Level

Parameter Reference Type Length Default Optional Text
ACTION 0 Action (Display/Maintain/Transport)
CHECK_DDIC_MAINFLAG 0 ' ' X Flag: Check Whether Maintenance is Allowed
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
GENERATE_MAINT_TOOL_IF_MISSING 0 ' ' X Flag: Create Maint. Mods. if They do Not Exist
NO_WARNING_FOR_CLIENTINDEP 0 ' ' X Flag: No Warning for Cross-Client Objects
RFC_DESTINATION_FOR_UPGRADE RFCDES-RFCDEST C 32 ' ' X RFC Dest. of System for Comparison/Adjustment
SHOW_SELECTION_POPUP 0 ' ' X Flag: Display Selection Conditions Dialog Box
SUPPRESS_WA_POPUP XFELD C 1 SPACE X Flag: Suppress "Specify Work Area" Dialog Box
VARIANT_FOR_SELECTION TVIMV-VARIANT C 14 ' ' X Selection Conditions Variant
VIEW_NAME DD02V-TABNAME C 30 Name of the View/Table to be Edited

Parameter Reference Length Optional Text
DBA_SELLIST VIMSELLIST 712 X Database Access Selection Conditions
EXCL_CUA_FUNCT VIMEXCLFUN 23 X GUI Functions to be Deactivated Dynamically

Exception Text
CLIENT_REFERENCE View is Chained to Another Client
FOREIGN_LOCK View/Table is Locked by Another User
INVALID_ACTION ACTION Contains Invalid Values
MAINTENANCE_PROHIBITED View/Table Cannot be Maintained acc. to DDIC
NO_CLIENTINDEPENDENT_AUTH No Authorization for Maintaining Cross-Client Tables/Views
NO_DATABASE_FUNCTION No Data Capture/Disposal Function Module
NO_EDITOR_FUNCTION Editor Function Module Missing
NO_SHOW_AUTH No Display Authorization
NO_TVDIR_ENTRY View/Table is Not in TVDIR
NO_UPD_AUTH No Maintenance or Display Authorization
ONLY_SHOW_ALLOWED Display but Not Maintenance Authorization
SYSTEM_FAILURE System Lock Error
UNKNOWN_FIELD_IN_DBA_SELLIST Selection Table Contains Unknown Fields
VIEW_NOT_FOUND View/Table Not Found in DDIC


INCLUDE 'DOCU_HAS_TO_BE_ELABORATED' OBJECT DOKU ID TX
The function module calls the extended table maintenance(View maintenance).
If the required maintenance modules do not yet exist, they can becreated for you. Modules created in this way, in contrast to'regulär' modules, which were created by the transaction SE54,can not be extended, and can not be transported into other systems.
Selection conditions for the data to be processed, andfunction codes of the standard functions which are not required, can bepassed.
Exceptions are raised with MESSAGE...RAISING, and therefore need not beprocessed by the caller.
With the parameter ACTION, you specify the processing action to beperformed. Possible actions are:
  • S = Display

  • U = Change

  • T = Transport

  • You can pass a correction number with the parameter CORR_NUMBER.This correction number is only required in connection with thetransport action (parameter ACTION).
    If you have passed a correction number, the user is prompted for acorrection number in a dialog box when he or she calls the transportfunction.
    Do not use any more
    You can either create a maintenance dialog with the table maintenancegenerator (transaction SE54) or use the transaction SE16 for quick,temporary access to a table.

    Description
    Information about the possible effects in other clients is normalllydisplayed when data in client-independent tables or views is to bemaintained.
    If this is not desired in particular cases, this flag can suppress theinformation.

    Value range
    SPACE - the information is displayed (default)
    <> SPACE - the information is not displayed

    Default
    SPACE - the information is displayed
    If the flag is not set (' ') during the call, the user may no
    The 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 for 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 in the condition is to be linked
    with the current one by a logical AND
    OR , if the next line in the condition is to be linked
    with the current one by a logical OR
    SPACE, if no line follows
    Notes:
    Allowed operators are: (see also ABAP doc.)
    EQ - equals
    NE - not equal
    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 - corresponds to the LIKE operator in a SELECT ... WHERE clause
    No check is (yet) made in the function module, whether the selectionconditions pased here are compatible with conditions which may bespecified in the view definition in the Data Dictionary. It is thus theresponsibility of the caller only to pass conditions which arecompatible with the Data Dictionary.
    When the table EXCL_CUA_FUNCT is called, it must contain all thefunctions which should not be able to be executed during the dataprocessing, i.e. which should be dynamically deactivated in the GUIinterface at run time. This is the case, e.g. for the followingfunctions, which can not be performed unambiguously in clustermaintenance:
    - 'ANZG' --> Change processing mode from 'Change' to 'Display', which
    is meaningless in a maintenance cluster
    - 'AEND' --> Change processing mode from 'Display' to 'Change', which
    is meaningless in a display cluster
    - 'xxxx' --> other functions identified by the caller.
    The table must have the structure VIMEXCLFUN, as follows:
    FUNCTION(4) TYPE C, ---> contains the function codes which are to bedynamically deactivated
    MESSAGE(3) TYPE C. ---> Online help auxiliary field (not yetsupported)

642828Customizing transactions deleted in R3E (cleanup)