SAP ABAP IMG Activity BADI_EAM_MSAM_ATTCH (BAdI: Attachment Creation)
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_ATTCH BAdI: Attachment Creation  
Transaction Code S_EB5_05000296   (empty) 
Created on 20090323    
Customizing Attributes BADI_EAM_MSAM_ATTCH   Customer BAdI for attachment creation 
Customizing Activity BADI_EAM_MSAM_ATTCH   Customer BAdI for attachment creation 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_EAM_MSAM_ATTCH    

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 back end 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 are provided for the Service and asset management for Mobile data object for Attachment:

MSAM_ATTACH_UPLOAD - MSAM create attachment functionality

MSAM_ATTACH_DOWNLOAD - MSAM attachment read functionality

The following CALL TO BAdI method is provided to the BAPI wrappers of the data objects which supports the attachment functionality.

CREATE_ATTACHMENT - Create the Attachment

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

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_EQUIPMENT.

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.

l

Example

See also

BAdI interface IF_EX_EAM_MSAM_ATTCH_CREATE

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_ATTCH 0 HLA0009533 O  
SIMG BADI_EAM_MSAM_ATTCH 1 HLA0009595 Service Processing 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20091202 
SAP Release Created in 605