SAP ABAP IMG Activity WRF_ART_DISC_BADI_02 (BAdI: Automatic Follow-Up Processing)
Hierarchy
EA-RETAIL (Software Component) SAP Enterprise Extension Retail
   LO-MD-MM (Application Component) Material Master
     WRF_ART_DISCONTINUATION_DDIC (Package) Material Master Discontinuation (Dictionary)
IMG Activity
ID WRF_ART_DISC_BADI_02 BAdI: Automatic Follow-Up Processing  
Transaction Code S_XB4_60000132   (empty) 
Created on 20040511    
Customizing Attributes WRF_ART_DISC_BADI_02   BAdI: Automatic Follow-Up Processing 
Customizing Activity WRF_ART_DISC_BADI_02   BAdI: Automatic Follow-Up Processing 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name WRF_DISCONT_FACT_I_E    

Use

In "Subsequent Processing" (WRF_DISCONT_FACT_ E), the external BAdI in material discontinuation, you can carry out cleanups immediately after executing the standard checks, in other words, during the first check. In contrast to BADI_MM_MATNR, you can change the error log for the check.

The BAdI is a multiple-use BAdI. The Fashion Add-On delivery includes, among other things, an implementation for executing automatic subsequent processing. If, for example, active listing conditions still exist for a material that is to be discontinued, you can delete these in subsequent processing (function module). If subsequent processing is executed successfully, the relevant error message is removed from the check log.

You can carry out customer-specific cleanup activities in the BAdI in a similar manner. With customer-specific implementation of methods of the BAdI, however, you cannot ensure that the standard implementation will run before the customer implementation. The implementations should not be based on each other.

Requirements

The external BAdI "Subsequent Processing" is only activated if there is an active implementation for the internal BAdI "check parameter" (WRF_DISCONT_PARAMS _I). During runtime, this BAdI determines whether the check routines will be run during the discontinuation run of material discontinuation.

If they are run, the methods of the BAdI "Subsequent Processing" are called from the function modules REORGANISATION_MATERIAL (material or material/plant discontinuation) and CHECK_REORG_MATERIAL_LIFNR (vendor/material discontinuation).

The methods of the "Subsequent Processing" BAdI are not called during the archivation or deletion of materials.

Standard settings

Methods:

PROCESS_MARD    Execute Follow Up Actions for Discontinuation of MARD Segment

PROCESS_MARC    Execute Follow Up Actions for Discontinuation of MARC Segment

PROCESS_MBEW    Execute Follow Up Actions for Discontinuation of MBEW Segment

PROCESS_MVKE    Execute Follow Up Actions for Discontinuation of MVKE Segment

PROCESS_MLGN    Execute Follow Up Actions for Discontinuation of MLGN Segment

PROCESS_MLGT    Execute Follow Up Actions for Discontinuation of MLGT Segment

PROCESS_MARA    Follow Up Actions in Client-Wide Material Discontinuation

PROCESS_EINA    Follow Up Actions in Vendor/Material Discontinuation

Activities

Example

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  20040914 
SAP Release Created in 111