CL_CRM_TERRMAN_LOG_API - API class to read/write data from CRMD_TERRMAN_DATA_LOG

CL_GUI_FRONTEND_SERVICES - Frontend Services   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Functionality

The class, CL_CRM_TERRMAN_LOG_API is the API class to read and write data to the database table, CRMD_TERRMAN_LOG.The Database table, CRMD_TERRMAN_LOG stores the details about the BP, BPH, Product Category and ProductHierarchy objects being modified. If any modification is done to a BP or BPH or Product Category orProduct Hierarchy, such that the modification affects the Territories association, then the details of the BP or BPH or Product Category or Product Hierarchy is stored in this table.

The class, CL_CRM_TERRMAN_LOG_API, provides the utility methods to read data from and write data to the CRMD_TERRMAN_LOG database table.

The table contents are not buffered. And it holds the application data.

The supported methods are READ_ALL, WRITE, DELETE and CLEAR.

READ_ALL Method: The READ_ALL method reads and returns all the records present in the database table, CRMD_TERRMAN_LOG. The Returning parameter, RT_LOG_DATA, holds all the data read from the DB table.

WRITE Method: The WRITE method writes the specified data to the DB table. It generates a unique GUIDto uniquely identify each row and then uses the GUID value and the specified attributes as keys to write the data to the DB table.

The import parameter, IV_OBJECT_TYPE specifies whether the object is BP or BPH or Product Category or Product Hierarchy.

The import parameter, IV_OBJECT_GUID holds the GUID of the object.

The import parameter, IV_CHANGE_DATE, specifies the date on which the changes are made.

The return parameter, RV_STATUS, mentions whether the data is written to be log table successfully.

CLEAR Method: The CLEAR method removes all the entries from the log table.

The return parameter, RV_STATUS, mentions whether all the entries are removed from the log table.

DELETE Method: The DELETE method deletes entries with the specified key from the log table.

The import parameter, IV_OBJECT_TYPE, specifies whether the object is BP or BPH or Product Category or Product Hierarchy.

The import parameter, IV_OBJECT_GUID holds the GUID of the object.

The import parameter, IV_CHANGE_DATE, specifies the date on which the changes are made.

The import parameter, IV_ROW_GUID, specifies the GUID to uniquely identify a row to be deleted.

The return parameter, RV_STATUS, mentions whether the specified entry is removed from the log table.

Relationships

Example

Notes

Further information



CL_GUI_FRONTEND_SERVICES - Frontend Services   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.


Length: 2584 Date: 20120526 Time: 132318     triton ( 111 ms )