LIST_USER_DATA_WITH_PARAM is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name LIST_USER_DATA_WITH_PARAM into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
SUSR
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'LIST_USER_DATA_WITH_PARAM' "
* EXPORTING
* listtype = 'A' " List which is to be displayed: U,
* paraktpas = " Specif. whether only active ones o
* parauth = " usr12-auth Specification of the authorization
* parobj = " usr12-objct Specification of the authorization
* parprof = " usr10-profn Specification of the authorization
* partype = " Specification of whether only coll
* paruser = " usr04-bname Specification of the user ID
* selectflag = 'X' " Should debit selection from the li
IMPORTING
selauth = " usr12-auth During selection: authorization na
selected = " = 'X' if values were selected
selobj = " usr12-objct During selection: object name
selprof = " usr10-profn During selection: profile name
seluser = " usr04-bname During selection: user ID
EXCEPTIONS
NO_AUTHORISATION = 1 " No authorization to display the li
. " LIST_USER_DATA_WITH_PARAM
The ABAP code below is a full code listing to execute function module LIST_USER_DATA_WITH_PARAM including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_selauth | TYPE USR12-AUTH , |
| ld_selected | TYPE STRING , |
| ld_selobj | TYPE USR12-OBJCT , |
| ld_selprof | TYPE USR10-PROFN , |
| ld_seluser | TYPE USR04-BNAME . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_selauth | TYPE USR12-AUTH , |
| ld_listtype | TYPE STRING , |
| ld_selected | TYPE STRING , |
| ld_paraktpas | TYPE STRING , |
| ld_selobj | TYPE USR12-OBJCT , |
| ld_parauth | TYPE USR12-AUTH , |
| ld_selprof | TYPE USR10-PROFN , |
| ld_parobj | TYPE USR12-OBJCT , |
| ld_seluser | TYPE USR04-BNAME , |
| ld_parprof | TYPE USR10-PROFN , |
| ld_partype | TYPE STRING , |
| ld_paruser | TYPE USR04-BNAME , |
| ld_selectflag | TYPE STRING . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name LIST_USER_DATA_WITH_PARAM or its description.