SAP BBP_USER_GETLIST Function Module for
BBP_USER_GETLIST is a standard bbp 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 to perform a specific ABAP function and below is the pattern details, 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 bbp user getlist FM, simply by entering the name BBP_USER_GETLIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: BBP_IU_GEN
Program Name: SAPLBBP_IU_GEN
Main Program: SAPLBBP_IU_GEN
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function BBP_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 'BBP_USER_GETLIST'".
EXPORTING
* SEARCH_STRING = "
* FORWARD = "
* START = "
* COUNT = "
* END = "
* NUMBER_OF_ROWS = '0020' "
* SEARCH_FIRSTNAME = "
* SEARCH_LASTNAME = "
IMPORTING
START_NEW = "
COUNT_NEW = "
END_NEW = "
FORWARD_NEW = "
TABLES
USERLIST = "
ADDLIST = "
IMPORTING Parameters details for BBP_USER_GETLIST
SEARCH_STRING -
Data type: XUBNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
FORWARD -
Data type: IOptional: Yes
Call by Reference: No ( called with pass by value option)
START -
Data type: IOptional: Yes
Call by Reference: No ( called with pass by value option)
COUNT -
Data type: IOptional: Yes
Call by Reference: No ( called with pass by value option)
END -
Data type: IOptional: Yes
Call by Reference: No ( called with pass by value option)
NUMBER_OF_ROWS -
Data type: BBPSAPNEW-OBJECT_IDDefault: '0020'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SEARCH_FIRSTNAME -
Data type: ADRP-NAME_FIRSTOptional: Yes
Call by Reference: No ( called with pass by value option)
SEARCH_LASTNAME -
Data type: ADRP-NAME_LASTOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BBP_USER_GETLIST
START_NEW -
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
COUNT_NEW -
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
END_NEW -
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
FORWARD_NEW -
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BBP_USER_GETLIST
USERLIST -
Data type: USR02Optional: No
Call by Reference: Yes
ADDLIST -
Data type: USR03Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for BBP_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: | ||||
| lt_userlist | TYPE STANDARD TABLE OF USR02, " | |||
| lv_start_new | TYPE I, " | |||
| lv_search_string | TYPE XUBNAME, " | |||
| lt_addlist | TYPE STANDARD TABLE OF USR03, " | |||
| lv_forward | TYPE I, " | |||
| lv_count_new | TYPE I, " | |||
| lv_start | TYPE I, " | |||
| lv_end_new | TYPE I, " | |||
| lv_count | TYPE I, " | |||
| lv_forward_new | TYPE I, " | |||
| lv_end | TYPE I, " | |||
| lv_number_of_rows | TYPE BBPSAPNEW-OBJECT_ID, " '0020' | |||
| lv_search_firstname | TYPE ADRP-NAME_FIRST, " | |||
| lv_search_lastname | TYPE ADRP-NAME_LAST. " |
|   CALL FUNCTION 'BBP_USER_GETLIST' " |
| EXPORTING | ||
| SEARCH_STRING | = lv_search_string | |
| FORWARD | = lv_forward | |
| START | = lv_start | |
| COUNT | = lv_count | |
| END | = lv_end | |
| NUMBER_OF_ROWS | = lv_number_of_rows | |
| SEARCH_FIRSTNAME | = lv_search_firstname | |
| SEARCH_LASTNAME | = lv_search_lastname | |
| IMPORTING | ||
| START_NEW | = lv_start_new | |
| COUNT_NEW | = lv_count_new | |
| END_NEW | = lv_end_new | |
| FORWARD_NEW | = lv_forward_new | |
| TABLES | ||
| USERLIST | = lt_userlist | |
| ADDLIST | = lt_addlist | |
| . " BBP_USER_GETLIST | ||
ABAP code using 7.40 inline data declarations to call FM BBP_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.| "SELECT single OBJECT_ID FROM BBPSAPNEW INTO @DATA(ld_number_of_rows). | ||||
| DATA(ld_number_of_rows) | = '0020'. | |||
| "SELECT single NAME_FIRST FROM ADRP INTO @DATA(ld_search_firstname). | ||||
| "SELECT single NAME_LAST FROM ADRP INTO @DATA(ld_search_lastname). | ||||
Search for further information about these or an SAP related objects