SAP ABAP IMG Activity BADI_CCM_R_STATS_CHK (BAdI:Perform Stock Check for Part Condition When Dismantling)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   PM-EQM-CC (Application Component) Configuration Control
     DI_CCM (Package) Configuration Control
IMG Activity
ID BADI_CCM_R_STATS_CHK BAdI:Perform Stock Check for Part Condition When Dismantling  
Transaction Code S_KA5_12001083   (empty) 
Created on 20010903    
Customizing Attributes BADI_CCM_R_STATS_CHK   BAdI:Perform Stock Check for Part Condition When Dismantling 
Customizing Activity BADI_CCM_R_STATS_CHK   BAdI:Perform Stock Check for Part Condition When Dismantling 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_CCM_R_STATS_CHK    

This BAdI is used to implement the inventory-based checks regarding the part conditions. As import parameter you receive the material, serial number to be removed, and the MM document item. This includes the target stock data for the MM posting, such as plant, storage location, or batch. The aim of this exit is to validate the selected inventory unit in comparison to the selected part condition.

Example

The user selects part condition "unserviceable" on the removal screen. Furthermore, the selected inventory movement receives the part into storage location SRVC. In 'Rotables Management' Customizing you have defined that storage location SRVC should only be used for serviceable parts. Therefore, this removal should not be allowed.

Requirements

You must maintain a valid rotable inventory model in CMC profile 'SAP_01'. Furthermore, You must maintain the storage locations or valuation types in the inventory group Customizing of 'Rotables Management' (only if you work with inventory model storage locations or valuation types).

Standard settings

The default implementation uses the settings from 'Rotables Management' Customizing to detect which inventory model you use (either storage location, batches, or split valuation) and, if possible, which units belong to which type. It then checks whether the movement data (item) that is used for the receipt posting uses a valid inventory unit based on the desired target part condtion (import parameter). If the MM document item does not fit to the target part condition, a corresponding customizeable message is stored in the application log. If the 'Rotables Management' Customizing settings are not complete / valid, the check is skipped.

Recommendation

If you are using rotables management in your system you should not change the default implementation.

Activities

Further notes

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG BADI_CCM_R_STATS_CHK 0 PLN0000023 Configuration Control 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20050624 
SAP Release Created in 46C2