Functionality
This method provides a generic search for users, depending on the different user attributes. It supports the most important user attributes delivered by the function module BAPI_USER_GET_DETAIL: PARAMETER,,FIELD,,permitted LOW values USERNAME,,,, LOGONDATA ,,GLTGV, GLTGB, USTYP, CLASS, ACCNT, TZONE, CODVN, UFLAG (not in BAPI_USER_GET_DETAIL, that shows this information in parameter ISLOCKED),,(in accordance with the field type) DEFAULTS,,SPLD, SPLG, SPDB, SPDA, DATFM, DCPFM, LANGU, KOSTL, START_MENU,,(in accordance with the field type) REF_USER,,REF_USER,, ALIAS,,USERALIAS,, PROFILES,,BAPIPROF,, LOCPROFILES,,SUBSYSTEM, PROFILE,,(in accordance with the field type) ACTIVITYGROUPS ,,AGR_NAME, FROM_DAT, TO_DAT,,(in accordance with the field type) LOCACTGROUPS,,SUBSYSTEM, AGR_NAME, FROM_DAT, TO_DAT,,(in accordance with the field type) ADDRESS,,FIRSTNAME, LASTNAME, DEPARTMENT, INHOUSE_ML, FUNCTION, BUILDING_P, BUILDING, ROOM_NO_P, TEL1_EXT, TEL1_NUMBR, FAX_EXTENS, FAX_NUMBER, E_MAIL,,(in accordance with the field type) COMPANY,,COMPANY,, LASTMODIFIED,,MODDATE, MODTIME,,(in accordance with the field type) ISLOCKED,,LOCAL_LOCK, GLOB_LOCK, WRNG_LOGON, NO_USER_PW,,'L' SYSTEM,,SUBSYSTEM,,
Pattern:
CALL FUNCTION 'BAPI_USER_GETLIST'
" EXPORTING
" MAX_ROWS = 0
" WITH_USERNAME = ' '
" IMPORTING
" ROWS =
" TABLES
" SELECTION_RANGE =
" SELECTION_EXP =
" USERLIST =
" RETURN =
.