Ansicht
Dokumentation

BADI_EAM_MSAM_INVENT - BAdI: Inventory Object

BADI_EAM_MSAM_INVENT - BAdI: Inventory Object

General Data in Customer Master   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

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 Mobilefunctionality 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 Mobiledata 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 Mobilefunctionality 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 PREPROCESSare 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.

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.

BAdI interface IF_EX_EAM_MSAM_INVENTORY






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   General Material Data  
This documentation is copyright by SAP AG.

Length: 3908 Date: 20240523 Time: 225147     sap01-206 ( 70 ms )