SAP BBP_ENTRYSHEET_GETLIST_40B Function Module for List of Entry Sheets
BBP_ENTRYSHEET_GETLIST_40B is a standard bbp entrysheet getlist 40b SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for List of Entry Sheets 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 bbp entrysheet getlist 40b FM, simply by entering the name BBP_ENTRYSHEET_GETLIST_40B into the relevant SAP transaction such as SE37 or SE38.
Function Group: BBP_SE
Program Name: SAPLBBP_SE
Main Program: SAPLBBP_SE
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function BBP_ENTRYSHEET_GETLIST_40B 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_ENTRYSHEET_GETLIST_40B'"List of Entry Sheets.
EXPORTING
* PURCH_ORG = "Purchasing Organization
* REL_GROUP = "Release Group
* REL_CODE = "Release Code
* PUR_GROUP = "Purchasing Group
* DOC_TYPE = "Document Category
* DOC_DATE = "As of PO date
* VENDOR = "Vendor
* PO_NUMBER = "Purchase Order Number
* PLANT = "Plant
* MAT_GRP = "Material Group
* ENTRYSHEET_DATE = "From creation date of entry sheet
TABLES
* ENTRYSHEET_HEADER = "Header Data of Entry Sheet
* RETURN = "Processing Errors That Occurred
IMPORTING Parameters details for BBP_ENTRYSHEET_GETLIST_40B
PURCH_ORG - Purchasing Organization
Data type: BAPIEKKO-PURCH_ORGOptional: Yes
Call by Reference: No ( called with pass by value option)
REL_GROUP - Release Group
Data type: BAPIMMPARA-REL_GROUPOptional: Yes
Call by Reference: No ( called with pass by value option)
REL_CODE - Release Code
Data type: BAPIMMPARA-REL_CODEOptional: Yes
Call by Reference: No ( called with pass by value option)
PUR_GROUP - Purchasing Group
Data type: BAPIEKKO-PUR_GROUPOptional: Yes
Call by Reference: No ( called with pass by value option)
DOC_TYPE - Document Category
Data type: BAPIEKKO-DOC_TYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
DOC_DATE - As of PO date
Data type: BAPIEKKO-DOC_DATEOptional: Yes
Call by Reference: No ( called with pass by value option)
VENDOR - Vendor
Data type: BAPIEKKO-VENDOROptional: Yes
Call by Reference: No ( called with pass by value option)
PO_NUMBER - Purchase Order Number
Data type: BAPIEKKO-PO_NUMBEROptional: Yes
Call by Reference: No ( called with pass by value option)
PLANT - Plant
Data type: BAPIEKPO-PLANTOptional: Yes
Call by Reference: No ( called with pass by value option)
MAT_GRP - Material Group
Data type: BAPIEKPO-MAT_GRPOptional: Yes
Call by Reference: No ( called with pass by value option)
ENTRYSHEET_DATE - From creation date of entry sheet
Data type: BAPIESSR-CREATED_ONOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BBP_ENTRYSHEET_GETLIST_40B
ENTRYSHEET_HEADER - Header Data of Entry Sheet
Data type: BAPIESSROptional: Yes
Call by Reference: No ( called with pass by value option)
RETURN - Processing Errors That Occurred
Data type: BAPIRETURN1Optional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BBP_ENTRYSHEET_GETLIST_40B 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_purch_org | TYPE BAPIEKKO-PURCH_ORG, " | |||
| lt_entrysheet_header | TYPE STANDARD TABLE OF BAPIESSR, " | |||
| lv_rel_group | TYPE BAPIMMPARA-REL_GROUP, " | |||
| lv_rel_code | TYPE BAPIMMPARA-REL_CODE, " | |||
| lt_return | TYPE STANDARD TABLE OF BAPIRETURN1, " | |||
| lv_pur_group | TYPE BAPIEKKO-PUR_GROUP, " | |||
| lv_doc_type | TYPE BAPIEKKO-DOC_TYPE, " | |||
| lv_doc_date | TYPE BAPIEKKO-DOC_DATE, " | |||
| lv_vendor | TYPE BAPIEKKO-VENDOR, " | |||
| lv_po_number | TYPE BAPIEKKO-PO_NUMBER, " | |||
| lv_plant | TYPE BAPIEKPO-PLANT, " | |||
| lv_mat_grp | TYPE BAPIEKPO-MAT_GRP, " | |||
| lv_entrysheet_date | TYPE BAPIESSR-CREATED_ON. " |
|   CALL FUNCTION 'BBP_ENTRYSHEET_GETLIST_40B' "List of Entry Sheets |
| EXPORTING | ||
| PURCH_ORG | = lv_purch_org | |
| REL_GROUP | = lv_rel_group | |
| REL_CODE | = lv_rel_code | |
| PUR_GROUP | = lv_pur_group | |
| DOC_TYPE | = lv_doc_type | |
| DOC_DATE | = lv_doc_date | |
| VENDOR | = lv_vendor | |
| PO_NUMBER | = lv_po_number | |
| PLANT | = lv_plant | |
| MAT_GRP | = lv_mat_grp | |
| ENTRYSHEET_DATE | = lv_entrysheet_date | |
| TABLES | ||
| ENTRYSHEET_HEADER | = lt_entrysheet_header | |
| RETURN | = lt_return | |
| . " BBP_ENTRYSHEET_GETLIST_40B | ||
ABAP code using 7.40 inline data declarations to call FM BBP_ENTRYSHEET_GETLIST_40B
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 PURCH_ORG FROM BAPIEKKO INTO @DATA(ld_purch_org). | ||||
| "SELECT single REL_GROUP FROM BAPIMMPARA INTO @DATA(ld_rel_group). | ||||
| "SELECT single REL_CODE FROM BAPIMMPARA INTO @DATA(ld_rel_code). | ||||
| "SELECT single PUR_GROUP FROM BAPIEKKO INTO @DATA(ld_pur_group). | ||||
| "SELECT single DOC_TYPE FROM BAPIEKKO INTO @DATA(ld_doc_type). | ||||
| "SELECT single DOC_DATE FROM BAPIEKKO INTO @DATA(ld_doc_date). | ||||
| "SELECT single VENDOR FROM BAPIEKKO INTO @DATA(ld_vendor). | ||||
| "SELECT single PO_NUMBER FROM BAPIEKKO INTO @DATA(ld_po_number). | ||||
| "SELECT single PLANT FROM BAPIEKPO INTO @DATA(ld_plant). | ||||
| "SELECT single MAT_GRP FROM BAPIEKPO INTO @DATA(ld_mat_grp). | ||||
| "SELECT single CREATED_ON FROM BAPIESSR INTO @DATA(ld_entrysheet_date). | ||||
Search for further information about these or an SAP related objects