This event occurs before calling the view maintenance module for a subdialog. The selection table " DPL_SELLIST ", which determines the maintainable sub-work area of the object, is filled appropriately: When you go to a dependent object, it has the conditions determined from the selected entries in the previous object. You can perform checks and/or activities here which refer specifically to the object and its entries. Examples:
Perform entry-dependent authorization checks.
Change the target object maintenance mode. The maintenance mode change applies to the entire view cluster. If you want to change only one object, you must reset the maintenance mode at Event 07 .
To change the maintenance mode, set the global variable VCL_ACTION to:
U: Change
S: Display
T: Transport
The object whose view maintenance module is to be called is in the global variables VCL_AKT_VIEW and VCL_NEXT_VIEW.
The last object maintained is in the global variable VCL_LAST_VIEW.
End maintenance by initializing VCL_AKT_VIEW in the event.
You can, for example, prevent navigation to the target object in the event, as follows:
VCL_NEXT_VIEW = VCL_LAST_VIEW.
VCL_AKT_VIEW = VCL_LAST_VIEW.
CLEAR VCL_FUNCTION.