
Create maintenance view variant
Use
To create a maintenance view variant for an existing maintenance dialog.

When you create a maintenance view variant, no new dialog is generated, i.e. all screens and function modules of the original dialog are used. For this reason, all basis dialog checks are made in view variant maintenance.
Prerequisites
The basis dialog for which the maintenance variant is created already exists.
Procedure
The Generate table maintenance dialog: View variant initial screen appears.
The Dictionary: Maintain view <maintenance view variant name> screen appears.
The dependent subobjects are added in the Tables column.
The basis view key fields are automatically put in the maintenance view variant.

The key fields must not be deleted from the maintenance view variant.

The maintenance view selection conditions and then the maintenance view variant selection conditions apply in data maintenance. The maintenance view selection conditions only apply if they were generated in the maintenance dialog. If, e.g. the selection conditions were put in the ABAP/4 Dictionary later and the maintenance dialog was not regenerated, these selection conditions do not apply in the maintenance view variant.

Maintenance view variant field maintenance attributes must be compatible with the maintenance attributes specified in the basis dialog:
Maintenance attribute definition compatibility
Basis dialog maintenance attribute |
valid variant maintenance attributes |
<space>: |
'R', 'H' |
'R' |
'R', 'H' |
'S' |
'S' |
'H' |
'H' |
The compatibility is not checked when the variant is created. Invalid maintenance attributes are ignored at runtime. The original dialog maintenance attribute is used instead.
Result
The maintenance view variant can now be tested and used.