SAP ABAP IMG Activity BADI_EAM_MSAM_USER_P (BAdI: User-Relevant Profiles)
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_USER_P BAdI: User-Relevant Profiles  
Transaction Code S_EB5_05000316   (empty) 
Created on 20090324    
Customizing Attributes BADI_EAM_MSAM_USER_P   Customer BAdI for User Relevant Profiles 
Customizing Activity BADI_EAM_MSAM_USER_P   Customer BAdI for User Relevant Profiles 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_EAM_MSAM_USER_P    

Use

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 wrapper 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 is provided to retrieve the Service and Asset management for Mobile user lists and the details of the profiles assigned to the users:

  •     MSAM10_USERPRF_GETLIST- Get the list of users for whom MSAM-specific profiles are maintained
  •     MSAM10_USERPRF_GETDETAIL - Get the details of profiles assigned to users

   

Implementing Business Add-In BADI_EAM_MSAM_USER_PROFILE allows you to either enhance the standard functionality for user-relevant data profiles or replace it with your own functionality.

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

  • USERPRF_GETLIST_PREPROCESS
  • USERPRF_GETDETAIL_PREPROCESS
  • USERPRF_GETLIST_OUTBOUND
  • USERPRF_GETDETAIL_OUTBOUND

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.

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

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_USER_PROFILE

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_USER_P 0 HLA0009595 O  
SIMG BADI_EAM_MSAM_USER_P 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