Destroying Visit Plans
Use
You can destroy visit plan header and item data using the data destruction object CRM_TOUR_DESTRUCTION.
The visit plans must have the status Released and Archived.
Data Destruction Object
The destruction program CRM_TOUR_DES is assigned to the destruction object CRM_TOUR_DESTRUCTION.
The complete data in the tables CRMM_TOUR_H and CRMM_TOUR_I is destroyed.
In the program CRM_TOUR_DES, you can specify the visit plan ID, the validity start and end date, and the employee responsible. All visit plans based on these parameters are destroyed when you launch the destruction object CRM_TOUR_DESTRUCTION.
SAP Information Lifecycle Management
The SAP Information Lifecycle Management (SAP ILM) object CRM_TOUR_DESTRUCTION is assigned to the destruction object CRM_TOUR_DESTRUCTION. You can define the employee responsible for the visit plan and the category that is linked to the transaction type, in the rule policy in SAP ILM.
Authorizations
In the context of data destruction, you can use the authorization object S_ARCD_OBJ.
More Information
For more information, see SAP Library for SAP ERP on SAP Help Portal at http://help.sap.com/erp
.

