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
| FCODE |
|
| 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 |
| 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:
|
| UPDATE_REQUIRED |
Flag: Entries changed, save required. The user has made a change, you must save the data before leaving the maintenance dialog. |
| 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:
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:
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. |
| MISSING_CORR_NUMBER | No correction number |
| SAVING_CORRECTION_FAILED | Error saving entries in a change task. |

