SAP ABAP IMG Activity ARC_SCMG_WRITE_BC (BAdI: Extend Archiving of Case Data)
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_WRITE_BC BAdI: Extend Archiving of Case Data  
Transaction Code S_YI2_53000004   (empty) 
Created on 20090514    
Customizing Attributes ARC_SCMG_WRITE_BC   BAdI: Extend Archiving of Case Data 
Customizing Activity ARC_SCMG_WRITE_BC   BAdI: Extend Archiving of Case Data 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SCMG_ARC_WRITE_BC    

Use

This Business Add-In (BAdI) can be used in the component Case Management to write add-on-specific table entries to an archive. It contains the method IF_EX_ARC_SCMG_WRITE~WRITE. This method is called within the write program for each case between the call function ARCHIVE_NEW_OBJECT and ARCHIVE_SAVE_OBJECT.

This method must use the function modules ARCHIVE_PUT_RECORD or ARCHIVE_PUT_TABLE in order to write all the data to the archive that was passed in the importing parameter.

Parameters

The importing parameter IM_HANDLE must be used to allow the add-on to use the function ARCHIVE_PUT_RECORD or ARCHIVE_PUT_TABLE. Additional header information for the archiving object being processed has to be passed to the method.

Changing parameters include a flag that enables a case to not be archived, and a text providing the reason for this. If a VETO is given from the exit, the text can be passed to the function module ARCHIVE_PROTOCOL_COLLECT.

IM_HANDLE: Archive handle

IM_TEST_MODE

IM_CASE_ATTR: Access attributes of a Case.

CH_VETO: Flag error

CH_TEXT: Text error

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