SAP ABAP IMG Activity ARC_SCMG_DELETE_BC (BAdI: Extend Case Data Deletion)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-CM (Application Component) Case Management
     SCMG_ARCHIVE (Package) Package for Archiving Interfaces/Classes
IMG Activity
ID ARC_SCMG_DELETE_BC BAdI: Extend Case Data Deletion  
Transaction Code S_YI2_53000005   (empty) 
Created on 20090514    
Customizing Attributes ARC_SCMG_DELETE_BC   BAdI: Extend Case Data Deletion 
Customizing Activity ARC_SCMG_DELETE_BC   BAdI: Extend Case Data Deletion 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SCMG_ARC_DELETE_BC    

Use

This Business Add-In (BAdI) can be used in the component Case Management to delete add-on-specific table entries from the database. It contains the method IF_EX_ARC_SCMG_DELET~DELETE.

This method is called within the delete program for each case after the call function ARCHIVE_GET_NEXT_OBJECT and after the delete program have read all the required data from the archive. This ensures that the exit does not interfere with the data being read.

This method must use the function module ARCHIVE_GET_TABLE , including the parameter ALL_RECORDS_OF_OBJECT = "X", to read the add-on data that was written to the archive. This ensures that other exits and/or the standard program do not interfere with the data being read.

Parameters

The importing parameter must be the archive handle, which allows the add-on component to use the function ARCHIVE_GET_TABLE, in order to check the archived data before deleting the table entries. The test flag is required to tell the exit whether the data is actually deleted (Production Mode) or whether the deletion is just simulated (Test Mode).

Requirements

Standard settings

This BAdI is not activated in the standard system.

Recommendation

Activities

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

Further notes

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20090514 
SAP Release Created in