Ansicht
Dokumentation

BADI_CCM_I_STATS_CHK - BAdI: Check Part Condition at Installation

BADI_CCM_I_STATS_CHK - BAdI: Check Part Condition at Installation

BAL Application Log Documentation   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used for the implementation of the stock checks. As importing parameter you receive the material, serial number to be installed, 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 check whether the selected inventory unit has type 'serviceable' (in the default implementation).

The selected inventory movement issues the part from storage location UNSV. In 'Rotables Management' Customizing you have defined that storage location UNSV should only be used for unserviceable parts. Therefore, this installation should not be allowed.

Maintain a valid rotable inventory model in CMC profile 'SAP_01'. Furthermore, 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).

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 (equals serviceable). If the part condition of the MM document item is not 'serviceable', a corresponding customizeable message is stored in the application log. If the rotables management Customizing settings are not complete or are not valid, the check is skipped.






rdisp/max_wprun_time - Maximum work process run time   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 1676 Date: 20240524 Time: 011244     sap01-206 ( 50 ms )