Ansicht
Dokumentation

ARC_SCMG_WRITE - BAdI: Archive Case Table Entries

ARC_SCMG_WRITE - BAdI: Archive Case Table Entries

Vendor Master (General Section)   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) can be used in 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 business object between the call function ARCHIVE_NEW_OBJECTand ARCHIVE_SAVE_OBJECT.

This method mustuse the function modules ARCHIVE_PUT_RECORDor ARCHIVE_PUT_TABLE to write all the data about the business object to the archive that was passed in the importing parameter.

The importing parameter IM_HANDLEmust 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 must be passed to the method.

Additional information, for example, positioning information that helps the add-on component locate its data, can be included if it is required for SAP add-on components.

Changing parameters include a flag that enables a business object 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 Test mode
IM_CASE_ATTR: Access attributes of a case
CH_VETO Error Indicator

CH_TEXT Text error

CH_TEXT

CH_TEXT

This BAdI is not activated in the standard system.

CH_TEXT

You must add the table name to the structure information of the archiving object using transaction AOBJ. If you do not, the Archive Development Kit will not be able to write ABAP Dictionary information for these tables and it will not accept the data.

Additional data structures may be registered dynamically by implementing the BAdI definition ARC_OBJECT_ADD_TABLE. Dynamically registered structures can then be written to the archive.

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

CH_TEXT






Addresses (Business Address Services)   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 4500 Date: 20240523 Time: 223304     sap01-206 ( 97 ms )