Fonction SAP VIEW_MARK_WRITE - Write View Selection to Log Table

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BC_SET SCPR_ID C 32 X Internal
BEGIN C C 0
OBJNAME OB_OBJECT C 30
OBJTYPE C C 0 'T' X Object Type

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CLIDEP CLIDEP C 1 SPACE X

Paramètre Reférence Long. Facultatif Description
DDOBJECTS STPRT_TABLIST 0 X

Functionality
Set of table logs in an aggregated object to analyze changes tocustomizing settings by customizing objects, not only for Dictionarytables.
The range of logs for each change to a customizing object is stored inthe log table DBTABLOG as two marker entries:
1. Entry before the access to the objects belonging to the customizingobject, e.g. Dictionary tables.
2. Entry after.

Example
DATA: ddobjects TYPE stprt_tablist.
* DDobjects with all object list element from the maintenancetransaction
* Fill SOBJ (see table OBJS).
* CUST_OBJ_1 comprises Dictionary tables TABLE1, TABLE2 and TABLE3
...
* User command "Save"
CALL FUNCTION 'VIEW_MARK_WRITE'
EXPORTING
objname = cust_obj_1
begin = 'X'
* OBJTYPE = 'T'
TABLES
ddobjects = ddobjects
EXCEPTIONS
OTHERS = 1.
INSERT / UPDATE / MODIFY / DELETE table2 ... .
* and/or
INSERT / UPDATE / MODIFY / DELETE table1 ... .
* and/or
INSERT / UPDATE / MODIFY / DELETE table3 ... .
CALL FUNCTION 'VIEW_MARK_WRITE'
EXPORTING
objname = cust_obj_1
begin = space
* OBJTYPE = 'T'
TABLES ddobjects = ddobjects
EXCEPTIONS
OTHERS = 1.
...