Lowest-Level Entry

Procedure

The generated function data processing modules are available for this entry level.

Call the function module VIEW_MAINTENANCE_LOW_LEVEL. You do not need to know the view and table-specific function module names for the data processing, the system constructs and calls them.

Pass the name of the table or view and the function, in the call. You must interpret the returned user commands.

You must also perform all activities that the maintenance dialog usually performs, yourself:

  • Authorization check

  • Locks

  • Get and format Dictionary data

  • Select, process and save data

  • Restrict data selection in the subset fields dialog

  • Dynamically adapt the user interface (menus and functions)

Interface Description

Import Parameters
FCODE
  • READ

    Read data from DB

  • EDIT

    Process data

  • RDED

    Read and edit

  • SAVE

    Write data to DB

  • ORGL

    Reset all selected entries

  • ORGD

    Reset an entry

VIEW_ACTION Action (Display, Maintain or Transport) see documentation of function module VIEW_MAINTENANCE_CALL.
VIEW_NAME Name of the table or view.
CORR_NUMBER The documentation of function module VIEW_MAINTENANCE_CALL contains the number of the change task for changes made
Export Parameter
LAST_ACT_ENTRY Index of the entry in table EXTRACT on which the cursor is.
UCOMM Last user command in the maintenance dialog. You must handle the following commands yourself at this entry level:
  • SAVE

    Save data in DB

  • ORGL

    Reset all selected entries in display table (EXTRACT). If this command is returned, you must call the function module of the lowest entry level, again, with this command, and then again, with the previous command. You do not need to write your own reset program.

  • ORGD

    Reset the entry in the display table EXTRACT header, process command, see command ORGL.

  • ANZG

    Change action: Start of the navigation pathChange Next navigation step DisplayEnd of the navigation path

  • AEND

    Change action: Start of the navigation pathDisplay Next navigation step ChangeEnd of the navigation path

  • END

    End processing

  • BACK

    Go back to call

  • ATAB

    Fetch a different table or view. This field also contains commands which were realized in user modules in the maintenance screens.

UPDATE_REQUIRED

Flag: Entries changed, save required. The user has made a change, you must save the data before leaving the maintenance dialog.

Tables
CORR_KEYTAB

Table with the keys of the entries to be transported. Table is only used in transport mode.

Structure: INCLUDE STRUCTURE E071K

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 >
  • INCLUDE STRUCTURE VIMFLAGTAB

See also the documentation of function module VIEW_MAINTENANCE_CALL.

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, see the documentation of function module VIEW_MAINTENANCE_CALL.

EXCL_CUA_FUNCT Dynamically deactivated interface functions.

Structure: INCLUDE STRUCTUREVIMEXCLFUN, see documentation of function module VIEW_MAINTENANCE_CALL.

TOTAL

Data table, contains all data read in or changed, deleted or added in processing.

Structure:
  • INCLUDE STRUCTURE <view name> or <table name>

  • INCLUDE STRUCTURE VIMFLAGTAB

All data which was read in in table processing, or created in maintenance, is saved in the internal table TOTAL, at runtime. When the function has been performed, the table contains processing flags for each record processed.

EXTRACT

Work table for data display.

Structure as table TOTAL.

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. When the function has been performed, the table contains all data from the last display selection.

X_HEADER

Control block table for the table or view.

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 the generation information and time point information of the table or view. You can fill this table with function module VIEW_GET_DDIC_INFO.

X_NAMTAB

Control block table for the table or 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 field 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
SAVING_CORRECTION_FAILED Error saving entries in a change task.