Fonction SAP VIEW_MAINTENANCE_SINGLE_ENTRY - Extended Table Maintenance: Maintain an Individual Entry

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ACTION VIMTY_TCODE 0 Action (SHOW/UPD/INS/DEL/TRSP)
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
INSERT_KEY_NOT_FIXED TVDIR-FLAG C 1 ' ' X Flag: X - Key for Insert Remains Changeable
NO_TRANSPORT TVDIR-FLAG C 1 ' ' X Flag: X - No Recording of Changes
NO_WARNING_FOR_CLIENTINDEP C C 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
SUPPRESSDIALOG TVDIR-FLAG C 1 ' ' X Flag: X - Suppress Dialog. Only Error Dialogs
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

Paramètre Reférence Type Long. Description
CORR_NUMBER E070-TRKORR C 20 Correction Number for Changes Made

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ENTRY 0 Entry to be Maintained

Paramètre Reférence Long. Facultatif Description
DBA_SELLIST VIMSELLIST 712 X Database Access Selection Conditions
EXCL_CUA_FUNCT VIMEXCLFUN 23 X GUI Functions to be Deactivated Dynamically

Exception Description
CLIENT_REFERENCE View is Chained to Another Client
ENTRY_ALREADY_EXISTS Entry Exists, it Cannot be Created
ENTRY_NOT_FOUND Entry Not Found, it Cannot be Edited
FOREIGN_LOCK View/Table is Locked by Another User
INVALID_ACTION ACTION Contains Invalid Values
NO_CLIENTINDEPENDENT_AUTH No Authorization for Maintaining Cross-Client Tables/Views
NO_DATABASE_FUNCTION Fct. Mod. for Data Capture/Disposal is Missing
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
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
Calls the extended table maintenance (View maintenance).
If the required maintenance modules do not yet exist, they can becreated. Modules created in this way, in contrast to 'normal' modules,i.e. those created with the transaction SE54, can not be enhanced andcan not be transported into other systems.
Selection conditions for the data to be processed, and function codesof unwanted standard functions can be passed.
The exceptions are raised with MESSAGE...RAISING, and thus do not haveto be handled by the caller.
Correction number. Only required for the action Transport (parameterACTION).
If you specify no correction number, the user is prompted for acorrection number when the transport function is called, in a dialogbox.
The parameter ACTION specifies the processing action to be performed.Possible values:
  • S = Display

  • U = Change

  • T = Transport

  • Correction number. Only required for the action Transport (parameterACTION).
    If you specify no correction number, the user is prompted for acorrection number when the transport function is called, in a dialogbox.

    Description
    If data in client-independent tables or views is to be maintained,information is normally issued about the possible effects in otherclients.
    If this is not required in particular cases, this flag suppresses theinformation.

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

    Default
    SPACE - the information is displayed
    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 the field to which the condition applies
    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 conditiong is to be
    linked to the current line by logical AND
    OR , if the next line of the conditiong is to be
    linked to the current line by logical OR
    SPACE, if no further line follows
    Notes:
    Valid 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 in 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.
    When called, the table EXCL_CUA_FUNCT must contain all the functionswhich are not to be callable during editing, i.e. they are to bedeactivated dynamically in the GUI interface at runtime. This can beuseful for e.g. the following functions, which cannot be handledunambiguously in cluster maintenance:
    - 'ANZG' --> Change editing mode from 'Change' to 'Display', which is
    meaningless in a maintenance cluster
    - 'AEND' --> Change editing mode from 'Display' to 'Change', which is
    meaningless in a display cluster
    - 'xxxx' --> other functions.
    The table must have the structure VIMEXCLFUN, as follows:
    FUNCTION(4) TYPE C, ---> contains the function code to bedeactivated dynamically
    MESSAGE(3) TYPE C. ---> online help auxiliary field (not yetsupported)