SAP MEMGMT_USER_GETLIST Function Module for ME: Get a list of Mmobile Users









MEMGMT_USER_GETLIST is a standard memgmt user getlist SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for ME: Get a list of Mmobile Users processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for memgmt user getlist FM, simply by entering the name MEMGMT_USER_GETLIST into the relevant SAP transaction such as SE37 or SE38.

Function Group: MEMGMT_USER
Program Name: SAPLMEMGMT_USER
Main Program: SAPLMEMGMT_USER
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function MEMGMT_USER_GETLIST pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'MEMGMT_USER_GETLIST'"ME: Get a list of Mmobile Users
EXPORTING
* USER = "User Name in User Master Record
* FIRST_NAME = "User Name in User Master Record
* LAST_NAME = "User Name in User Master Record
* NODE_DESCRIPTION = "ME: Hierarchy node description

TABLES
EX_USERS = "ME: Table type for user list
RETURN = "Return Parameter
.



IMPORTING Parameters details for MEMGMT_USER_GETLIST

USER - User Name in User Master Record

Data type: XUBNAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

FIRST_NAME - User Name in User Master Record

Data type: AD_NAMEFIR
Optional: Yes
Call by Reference: No ( called with pass by value option)

LAST_NAME - User Name in User Master Record

Data type: AD_NAMELAS
Optional: Yes
Call by Reference: No ( called with pass by value option)

NODE_DESCRIPTION - ME: Hierarchy node description

Data type: MENODE_TEXT
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for MEMGMT_USER_GETLIST

EX_USERS - ME: Table type for user list

Data type: USGRPS_USR_TT
Optional: No
Call by Reference: Yes

RETURN - Return Parameter

Data type: BAPIRET2
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for MEMGMT_USER_GETLIST Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_user  TYPE XUBNAME, "   
lt_ex_users  TYPE STANDARD TABLE OF USGRPS_USR_TT, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_first_name  TYPE AD_NAMEFIR, "   
lv_last_name  TYPE AD_NAMELAS, "   
lv_node_description  TYPE MENODE_TEXT. "   

  CALL FUNCTION 'MEMGMT_USER_GETLIST'  "ME: Get a list of Mmobile Users
    EXPORTING
         USER = lv_user
         FIRST_NAME = lv_first_name
         LAST_NAME = lv_last_name
         NODE_DESCRIPTION = lv_node_description
    TABLES
         EX_USERS = lt_ex_users
         RETURN = lt_return
. " MEMGMT_USER_GETLIST




ABAP code using 7.40 inline data declarations to call FM MEMGMT_USER_GETLIST

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!