SAP ABAP IMG Activity W_WLFA_0027 (BAdI: Archiving in Agency Business)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-AB (Application Component) Agency Business (Global Trade)
     WZRE (Package) Agency Business
IMG Activity
ID W_WLFA_0027 BAdI: Archiving in Agency Business  
Transaction Code S_AL0_96000606   (empty) 
Created on 20020107    
Customizing Attributes W_WLFA_00EX   BAdI: Add-Ons in Agency Business 
Customizing Activity W_WLFA_0027   BAdI: Archiving in Agency Business 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name WLF_ARCHIVE    

Use

Enhanced Archiving in Agency Business. The archiving object has been selected as a filter.

  • Method can_doc_be_archived:
  • Use this method to include additional tests when determining if a document is to be archived. If a document with the document header i_wbrk is not to be archived, parameter p_error must be set to four. As this method can be called more than once, the parameter value should always be set from zero to the error value. Never leave the value as zero. This means that a single error in an implementation prevents archiving. Messages added to table t_emsg are displayed in the log.
  • Method can_reglst_wbrk_be_archived:
  • Use this method as an archiving test for the settlement requests in your settlement request list. The settlement request list can only be archived when all documents in the list are ready for archiving. Parameter i_wbrk contains the settlement request header and i_wbeln is the document number for the settlement request list. If error variable e_error is set to 4, archiving is prevented.
  • Method del:
  • This method is called during the deletion run after the agency document data whose header table is transferred to it_wbrk has been deleted from the database. This method can be used to delete enhancement data that is no longer required. Note that this data is irrevocably lost. It is therefore important that only technical data that contains no business information be deleted. Unless your data fulfills this condition, it must be archived. Then create your own archiving reports.
  • Method Check Archiving of Cancellation Document to Follow-On Document

Requirements

Standard settings

Activities

Example

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