Hierarchy

⤷

⤷

IMG Activity
ID | MMDA_IM_STOCK_INT | BAdI: Stock Initialization in Inventory Analysis |
Transaction Code | S_EBS_44000389 | (empty) |
Created on | 20110209 | |
Customizing Attributes | MMDA_IM_STOCK_INT | BAdI: Stock Initialization in Inventory Analysis |
Customizing Activity | MMDA_IM_STOCK_INT | BAdI: Stock Initialization in Inventory Analysis |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | MMDA_IM_STOCK_INT |
Use
This Business Add-In (BAdI) is used in Inventory Analysis to enhance the features in the extraction of current stock details in the Materials Management (MM) component. You can use this BAdI to enhance the functionality of the Stock Initialization for Inventory Management (0MM_IM_BX) DataSource by adding new fields to the MMDA_IM_S_BX_BF_UM extract structure.
You must carry out the following steps if you want to enhance the business use in the BAdI implementation:
- Add new custom-defined fields to the MMDA_IM_S_BX_BF_UM extract structure
- In transaction RSA2, change the 0MM_IM_BX DataSource and specify the new custom fields as input (X) or display fields (blank)
- Save the DataSource
- Use the BAdI method EXTRACT_STOCK of interface IF_EX_MMDA_IM_STOCK_INT to enhance the business use in the BAdI implementation
The BAdI method EXTRACT_STOCK is associated with this BAdI. The following are the parameters that are transferred with this method that require additional information:
Import Parameters
- IT_MCMSEG: Table type: Material documents
Changing Parameters
- CT_BX_BF_UM: Table Type: Common structure, such as structures for BX, BF, and UM
Standard settings
For more information about the standard settings (filters, single or multiple uses), see the Enh. Spot Element Definitions tab in the BAdI Builder (transaction SE18).
Activities
Information about the implementation of BAdIs in the context of the enhancement concept is available in the SAP Library (help.sap.com) for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.
Example
You can find example implementations in the BAdI Builder on the Enhancement Spot Element Definitions tab in the Implementation Example Classes section.
The following example implementation is available:
- CL_EXM_MMDA_IM_ STOCK_INT
This example implementation class is designed to show how to change the output of the DataSource using the EXTRACT_ STOCK BAdI method.
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 |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | MMDA_IM_STOCK_INT | 0 | HLA0009512 | Purchasing |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20110210 |
SAP Release Created in | 606 |