Show TOC

Event 03/VC: Before Calling View Maint Module for a SubdialogLocate this document in the navigation structure

Use
Process

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:

  • Deactivate Menu Functions

  • 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

    Note

    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.

    Note

    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.