Middle Level Entry

Procedure

At this entry level, you call function modules to control table maintenance.

Call the function module VIEW_MAINTENANCE_.

It only needs to know the table or view name. The name of the control function module for the maintenance dialog is put together and called.

The function module selects, processes and saves the data, and creates the interface. You must have performed the following activities before you call VIEW_MAINTENANCE:

  • Table/view authorization check

    The function module VIEW_AUTHORITY_CHECK does this.

  • Lock table/view

    The function module VIEW_ENQUEUE does this.

  • Get and format Dictionary data

    The function module VIEW_GET_DDIC_INFO does this.

  • Restrict data range in dialog

    The function module TABLE_RANGE_INPUT does this.

Interface Description

Import Parameters
CORR_NUMBER The documentation of function module VIEW_MAINTENANCE_CALL contains the number of the change task for changes made
VIEW_ACTION Action (display, maintain, or transport), see documentation of function module VIEW_MAINTENANCE_CALL
VIEW_NAME Name of the table/view to be processed
Export Parameters
None
Tables
DBA_SELLIST
  • Database access selection conditions

    Structure: INCLUDE STRUCTURE VIMSELLIST, see documentation of function module VIEW_MAINTENANCE_CALL.

    All data which was read in in table processing, or created in maintenance, is saved in the internal table TOTAL, at runtime.

    The table TOTAL has the structure:

    • INCLUDE STRUCTURE <view name> or <table name>
    • INCLUDE STRUCTURE VIMFLAGTAB
DPL_SELLIST
  • Selection conditions to display part of a work area in the maintenance screens.

    Structure and documentation as DBA_SELLIST.

    The data is saved in the internal table EXTRACT, at runtime. The table EXTRACT always contains only the table rows which were filtered out from the table TOTAL by a user action.

    The table EXTRACT has the same structure as the table TOTAL.

EXCL_CUA_FUNCT

Dynamically deactivated interface functions.

Structure: INCLUDE STRUCTURE VIMEXCLFUN, see documentation of function module VIEW_MAINTENANCE_CALL.

X_HEADER

Control block table for the view/table.

Structure: INCLUDE STRUCTURE VIMDESC.

The table contains the header information from the dictionary for the table or view, such as subset, selection conditions, maintenance status, and delivery class. The table still contains information about the generation time and time points for your own form routines of the table or view. You can fill this table with function module VIEW_GET_DDIC_INFO.

X_NAMTAB

Control block table for the tables/view fields.

Structure: INCLUDE STRUCTURE VIMDESC.

The table contains the field information from the dictionary for the table or view, such as position of the fields in the structure, key information and field maintenance attributes. You can fill this table with the function module VIEW_GET_DDIC_INFO.

Exceptions
MISSING_CORR_NUMBER No correction number
NO_DATABASE_FUNCTION No data processing module
NO_EDITOR_FUNCTION No control module
NO_VALUE_FOR_SUBSET_IDENT No subset field value