SAP BBP_PRODUCT_GETLIST Function Module for
BBP_PRODUCT_GETLIST is a standard bbp product 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 product getlist FM, simply by entering the name BBP_PRODUCT_GETLIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: BBP_PRODUCT_PURCHASE_API
Program Name: SAPLBBP_PRODUCT_PURCHASE_API
Main Program: SAPLBBP_PRODUCT_PURCHASE_API
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function BBP_PRODUCT_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_PRODUCT_GETLIST'".
EXPORTING
* IV_MAX_ROWS = 250 "
* IV_READ_DESCRIPTION = "
* IV_READ_CATEGORY_PUR = "
* IV_READ_BASE_UOM = "
* IV_READ_ORDER_UOM = "
* IV_IGNORE_XNOSEARCH = "
* IT_CATEGORY_GUID_RANGE = "
* IT_PRODUCT_TYPE_RANGE = "
* IT_PRODUCT_ID_RANGE = "
* IV_LOGSYS = "
* IT_CATEGORY_RANGE = "
* IV_CATEGORY_HIERARCHY = "
* IT_OBJECT_FAMILY_RANGE = "
* IT_PRSHTEXT_RANGE = "
* IV_LANGU = SY-LANGU "
IMPORTING
ET_PRODUCT = "
EXCEPTIONS
NOT_FOUND = 1 WRONG_CALL = 2
IMPORTING Parameters details for BBP_PRODUCT_GETLIST
IV_MAX_ROWS -
Data type: BAPIMAXROWDefault: 250
Optional: Yes
Call by Reference: Yes
IV_READ_DESCRIPTION -
Data type: XFELDOptional: Yes
Call by Reference: Yes
IV_READ_CATEGORY_PUR -
Data type: XFELDOptional: Yes
Call by Reference: Yes
IV_READ_BASE_UOM -
Data type: XFELDOptional: Yes
Call by Reference: Yes
IV_READ_ORDER_UOM -
Data type: XFELDOptional: Yes
Call by Reference: Yes
IV_IGNORE_XNOSEARCH -
Data type: COMT_PRODUCT_XNOSEARCHOptional: Yes
Call by Reference: Yes
IT_CATEGORY_GUID_RANGE -
Data type: COMT_CATEGORY_GUID_RANGE_TABOptional: Yes
Call by Reference: Yes
IT_PRODUCT_TYPE_RANGE -
Data type: COMT_PRODUCT_TYPE_RANGE_TABOptional: Yes
Call by Reference: Yes
IT_PRODUCT_ID_RANGE -
Data type: COMT_PRODUCT_ID_RANGE_TABOptional: Yes
Call by Reference: Yes
IV_LOGSYS -
Data type: COMT_LOGSYSOptional: Yes
Call by Reference: Yes
IT_CATEGORY_RANGE -
Data type: COMT_PR_CATEGORY_RANGE_TABOptional: Yes
Call by Reference: Yes
IV_CATEGORY_HIERARCHY -
Data type: COMT_HIERARCHY_GUIDOptional: Yes
Call by Reference: Yes
IT_OBJECT_FAMILY_RANGE -
Data type: COMT_PR_OBJ_FAM_RANGE_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_PRSHTEXT_RANGE -
Data type: COMT_PRSHTEXT_RANGE_TABOptional: Yes
Call by Reference: Yes
IV_LANGU -
Data type: SPRASDefault: SY-LANGU
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for BBP_PRODUCT_GETLIST
ET_PRODUCT -
Data type: BBPT_PRODUCT_SELECTION_TABOptional: No
Call by Reference: Yes
EXCEPTIONS details
NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRONG_CALL -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BBP_PRODUCT_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_not_found | TYPE STRING, " | |||
| lv_et_product | TYPE BBPT_PRODUCT_SELECTION_TAB, " | |||
| lv_iv_max_rows | TYPE BAPIMAXROW, " 250 | |||
| lv_iv_read_description | TYPE XFELD, " | |||
| lv_iv_read_category_pur | TYPE XFELD, " | |||
| lv_iv_read_base_uom | TYPE XFELD, " | |||
| lv_iv_read_order_uom | TYPE XFELD, " | |||
| lv_iv_ignore_xnosearch | TYPE COMT_PRODUCT_XNOSEARCH, " | |||
| lv_it_category_guid_range | TYPE COMT_CATEGORY_GUID_RANGE_TAB, " | |||
| lv_wrong_call | TYPE COMT_CATEGORY_GUID_RANGE_TAB, " | |||
| lv_it_product_type_range | TYPE COMT_PRODUCT_TYPE_RANGE_TAB, " | |||
| lv_it_product_id_range | TYPE COMT_PRODUCT_ID_RANGE_TAB, " | |||
| lv_iv_logsys | TYPE COMT_LOGSYS, " | |||
| lv_it_category_range | TYPE COMT_PR_CATEGORY_RANGE_TAB, " | |||
| lv_iv_category_hierarchy | TYPE COMT_HIERARCHY_GUID, " | |||
| lv_it_object_family_range | TYPE COMT_PR_OBJ_FAM_RANGE_T, " | |||
| lv_it_prshtext_range | TYPE COMT_PRSHTEXT_RANGE_TAB, " | |||
| lv_iv_langu | TYPE SPRAS. " SY-LANGU |
|   CALL FUNCTION 'BBP_PRODUCT_GETLIST' " |
| EXPORTING | ||
| IV_MAX_ROWS | = lv_iv_max_rows | |
| IV_READ_DESCRIPTION | = lv_iv_read_description | |
| IV_READ_CATEGORY_PUR | = lv_iv_read_category_pur | |
| IV_READ_BASE_UOM | = lv_iv_read_base_uom | |
| IV_READ_ORDER_UOM | = lv_iv_read_order_uom | |
| IV_IGNORE_XNOSEARCH | = lv_iv_ignore_xnosearch | |
| IT_CATEGORY_GUID_RANGE | = lv_it_category_guid_range | |
| IT_PRODUCT_TYPE_RANGE | = lv_it_product_type_range | |
| IT_PRODUCT_ID_RANGE | = lv_it_product_id_range | |
| IV_LOGSYS | = lv_iv_logsys | |
| IT_CATEGORY_RANGE | = lv_it_category_range | |
| IV_CATEGORY_HIERARCHY | = lv_iv_category_hierarchy | |
| IT_OBJECT_FAMILY_RANGE | = lv_it_object_family_range | |
| IT_PRSHTEXT_RANGE | = lv_it_prshtext_range | |
| IV_LANGU | = lv_iv_langu | |
| IMPORTING | ||
| ET_PRODUCT | = lv_et_product | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| WRONG_CALL = 2 | ||
| . " BBP_PRODUCT_GETLIST | ||
ABAP code using 7.40 inline data declarations to call FM BBP_PRODUCT_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.| DATA(ld_iv_max_rows) | = 250. | |||
| DATA(ld_iv_langu) | = SY-LANGU. | |||
Search for further information about these or an SAP related objects