SAP ABAP IMG Activity /IWBEP/MGW_ROLE_MAP (Create BAdI Implementation to Fetch List of Users for Roles)
Hierarchy
SAP_GWFND (Software Component) SAP Gateway Foundation
   OPU-BSE-SDE (Application Component) Gateway SAP Data Enablement
     /IWBEP/MGW_PUSH (Package) OData Channel - Push
IMG Activity
ID /IWBEP/MGW_ROLE_MAP Create BAdI Implementation to Fetch List of Users for Roles  
Transaction Code /IWBEP/92000007   (empty) 
Created on 20120403    
Customizing Attributes /IWBEP/MGW_ROLE_MAP   OData Channel: Fetch Users from Roles 
Customizing Activity /IWBEP/MGW_ROLE_MAP   OData Channel: BAdI for Role-User Resolution 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /IWBEP/MGW_ROLE_MAP_BADI_DOCU    

Use

A user can get a list of roles (role user resolution) from either the backend or from the SAP NetWeaver Gateway Hub system. In case the role user mapping is on Gateway Hub, implement the BAdI /IWBEP/BD_MGW_PUSH_ROL_MAP_PRV and use the class /IWBEP/CL_MGW_PUSH_ROL_MAP_RMT as the implementation.

Requirements

Standard settings

A fall-back class is delivered by SAP for the BAdI definition which would take care for role to user resolution in the SAP backend system.

The BAdI is a single use BAdI without any filters.

Activities

The BAdI is executed by the GET_USERS_FROM_ROLE method of the utility class /IWBEP/CL_MGW_PUSH_UTIL for fetcing the list of users for a role or list of roles.

Example

Business Attributes
ASAP Roadmap ID 105   Define functions and processes 
Mandatory / Optional 3   Nonrequired activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20120403 
SAP Release Created in 200