Start of Content Area

Event 03/VC: Before Calling View Maint Module for a Subdialog  Locate the document in its SAP Library structure

 

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. For example:

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, e.g. 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.