SAP ABAP IMG Activity BADI_EAM_MSAM_INVENT (BAdI: Inventory Object)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   PM-WOC (Application Component) Maintenance Processing
     MSAM_MOREP (Package) MSAM for Handheld - Data Replication
IMG Activity
ID BADI_EAM_MSAM_INVENT BAdI: Inventory Object  
Transaction Code S_EB5_05000304   (empty) 
Created on 20090323    
Customizing Attributes BADI_EAM_MSAM_INVENT   Customer BAdI for Inventory object 
Customizing Activity BADI_EAM_MSAM_INVENT   Customer BAdI for Inventory Object 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_EAM_MSAM_INVENT    

Use

This Business Add-In (BAdI) is used in the Maintenance Processing (PM-WOC) component.

For Service and asset management for Mobile, standard remote-enabled BAPI wrappers in the ERP backend are provided to communicate with the middleware and the mobile client. Within these BAPI wrappers, the standard Service and asset management for Mobile functionality is provided and additionally the Business Add-In calls are provided to facilitate enhancement or replacement.

The following BAPI wrappers have been provided for the Service and asset management for Mobile data object for Inventory:

  • MSAM10_INVENTORY_GETLIST - Get the list of inventory item
  • MSAM10_INVENTORY_GETDETAIL - Get the detail of inventory item

Implementing Business Add-In BADI_EAM_MSAM_ INVENTORY not only allows you to enhance the standard Service and asset management for Mobile functionality for inventory data object, but also to replace it with your own functionality if you choose to.

The BAdI uses the following methods. Call to these BAdI methods is in their respective BAPI wrappers.

  • INVENTORY_GETLIST_OUTBOUND
  • INVENTORY_GETDETAIL_OUTBOUND
  • INVENTORY_GETLIST_PREPROCESS
  • INVENTORY_GETDETAIL_PREPROCESS

All methods having the suffix PREPROCESS are called before SAP standard code and can be used for inbound mapping and/or to skip the standard EAM logic. The user can skip the SAP standard code provided inside the BAPI wrapper by filling the X value for field EV_SKIP_STANDARD. In this case customer can decide to have his own implementation through the outbound methods in each BAPI wrapper.

All methods having the suffix OUTBOUND are called after the SAP standard code and can be used for outbound mapping and/or to enhance standard EAM logic.

INVENTORY_BTE_PUSH : This BAdI method can be used to have any enhancements before calling the middleware.

This Business Add-In has been incorporated in the enhancement spot ES_MSAM.

Requirements

Standard settings

Activities

Following are the steps invovled:

  1. Go to transaction SE19
  2. Create an enhancement implementation for the enhancement spot ES_MSAM and subsequently create an implementing class for the Business Add-In BADI_EAM_MSAM_ INVENTORY .

Information about the implementation of BAdIs in the context of the Enhancement Concept is available in the SAP Library for SAP NetWeaver under BAdIs -> Implementation.

For more information about the procedure, see the SAP Library under Enhancement Framework -> Business Add-Ins (BAdIs) -> BAdIs Concept -> Screen Enhancements.

When the BAPI wrappers are executed, the code you created in the Business Add-In implementation is run through.

Example

See also

BAdI interface IF_EX_EAM_MSAM_INVENTORY

Requirements

Standard settings

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 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG BADI_EAM_MSAM_INVENT 0 HLA0009595 O  
SIMG BADI_EAM_MSAM_INVENT 1 HLA0009533 Maintenance Processing 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20091202 
SAP Release Created in 605