Programme SAP CRM_DEDUP_DELETE_DUP_BY_CREATE - Program CRM_DEDUP_DELETE_DUP_BY_CREATE

Purpose
This program deletes all OneOrder documents that have system status
I1097 (GC_STATUS-DUPLICATE_BAY_CREATE in include CRM_STATUS_CON)
active.
If selection parameter LV_LOG is set, a log is written in BAL and can beretrieved via transaction SLG1 with OBJECT = CRM_DEDUP and subobject =DELETE_DUP_BY_CREATE.
A variant of the program may be scheduled as a periodic background job(transaction SM36 or SM36WIZ) if it is desired that newly createdOneOrder documents that have been detected as duplicates are to bedeleted from the database.

Example
A customer has maintained customizing settings for OneOrderdeduplication and does not want newly created OneOrder documents thathave been identified as duplicates to stay in the system's database. Inthis event, the customer would schedule programCRM_DEDUP_DELETE_DUP_BY_CREATE as a periodic background job intransaction SM36WIZ to delete any such OneOrder documents every night as23:00.