Start of Content Area

Event RE/VC: Define a Read Routine  Locate the document in its SAP Library structure

 

You can use your own routine instead of the standard read routine, which uses the function module VIEW_MAINTENANCE_LOW_LEVEL with the parameter FCODE = 'READ' per subobject. This routine is always called when you go to an object which has not yet been read in. The object name is in VCL_AKT_VIEW. The internal table VCL_STRUC_TAB component ISREAD states whether the object has already been read (ISREAD = 'X') or not (ISREAD = SPACE).

Note

The data for each view cluster object must be read in to the internal table TOTAL.

You must set the internal table VCL_STRUC_TAB component ISREAD to 'X' in the event after reading the data in, to prevent rereading.

You can end the maintenance dialog by setting VCL_AKT_VIEW = SPACE in the event.