Start of Content Area

Event SV/VC: Define a Data Save Routine  Locate the document in its SAP Library structure

 

You can use your own routine instead of the standard data save routine, which uses the function module VIEW_MAINTENANCE_LOW_LEVEL with the parameter FCODE = 'SAVE' per subobject.

Note

Use the internal table VCL_STRUC_TAB UPD_REQU field to find the modified view cluster objects which must be saved. If this field is not initial, the object VCL_STRUC_TAB-OBJECT has been changed, and the changed values must be saved.

Use the internal table TOTAL ACTION processing flag to determine the modified entries of an object.

After you have saved the data, you must reinitialize the internal table VCL_STRUC_TAB UPD_REQU field and the internal table "TOTAL" ACTION field.

If entries are deleted, they must also be deleted in the internal tables "TOTAL" and "EXTRACT".

The standard routines or generated view maintenance routines can be a template per subobject for the realization of the user routine . (see view maintenance event AB).