Ansicht
Dokumentation
VIEW_MARK_WRITE - Write View Selection to Log Table
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up PERFORM Short ReferenceThis documentation is copyright by SAP AG.
Functionality
Set of table logs in an aggregated object to analyze changes to customizing settings by customizing objects, not only for Dictionary tables.
The range of logs for each change to a customizing object is stored in the log table DBTABLOG as two marker entries:
1. Entry before the access to the objects belonging to the customizing object, e.g. Dictionary tables.
2. Entry after.
Example
DATA: ddobjects TYPE stprt_tablist.
* DDobjects with all object list element from the maintenance transaction
* 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.
...
Parameters
BC_SETBEGIN
CLIDEP
DDOBJECTS
IV_ACTIVITY_ID
IV_PROJECT_ID
OBJNAME
OBJTYPE
Exceptions
Function Group
SVPRABAP Short Reference SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up
This documentation is copyright by SAP AG.
Length: 2890 Date: 20240523 Time: 130104 sap01-206 ( 26 ms )