SAP BBP_PD_SC_REF_GETLIST Function Module for









BBP_PD_SC_REF_GETLIST is a standard bbp pd sc ref 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 pd sc ref getlist FM, simply by entering the name BBP_PD_SC_REF_GETLIST into the relevant SAP transaction such as SE37 or SE38.

Function Group: BBP_PD_SC
Program Name: SAPLBBP_PD_SC
Main Program: SAPLBBP_PD_SC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function BBP_PD_SC_REF_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_PD_SC_REF_GETLIST'"
EXPORTING
* I_ITEM_CREATE_DATE = "
* I_ITEM_NO_IV_VALUE = "
* I_WITH_DELETED = "
* I_READ_ITEM_FIRST = "
* I_LOCK_SC = "
* I_ITEM_CREATE_DATE_FROM = "
* I_ITEM_WITHOUT_FINAL_ENTRY = "
* I_ITEM_IV_OPEN = "
* I_ITEM_CF_OPEN = "
* I_ITEM_NOT_DELETED = "
* I_ITEM_NO_CF_QUANTITY = "
* I_ITEM_NO_CF_VALUE = "
* I_ITEM_NO_IV_QUANTITY = "

TABLES
IT_HEADER_GUIDS = "
* IT_OBJECT_ID = "
* IT_ITEM_STATUS = "
* IT_LOGICAL_SYSTEMS = "
ET_REFDATA = "
* ET_PDITEMLIST = "
* ET_GUID_IGNORE = "
* ET_ENQ_FAILED = "
* ET_LOCKED_SC = "

EXCEPTIONS
NOTHING_FOUND = 1
.



IMPORTING Parameters details for BBP_PD_SC_REF_GETLIST

I_ITEM_CREATE_DATE -

Data type: BBP_CREATE_DATE
Optional: Yes
Call by Reference: Yes

I_ITEM_NO_IV_VALUE -

Data type: XFLAG
Optional: Yes
Call by Reference: Yes

I_WITH_DELETED -

Data type: XFLAG
Optional: Yes
Call by Reference: Yes

I_READ_ITEM_FIRST -

Data type: XFLAG
Optional: Yes
Call by Reference: Yes

I_LOCK_SC -

Data type: XFLAG
Optional: Yes
Call by Reference: Yes

I_ITEM_CREATE_DATE_FROM -

Data type: BBP_CREATE_DATE
Optional: Yes
Call by Reference: Yes

I_ITEM_WITHOUT_FINAL_ENTRY -

Data type: BBP_PDIGP-FINAL_ENTRY
Optional: Yes
Call by Reference: Yes

I_ITEM_IV_OPEN -

Data type: XFLAG
Optional: Yes
Call by Reference: Yes

I_ITEM_CF_OPEN -

Data type: XFLAG
Optional: Yes
Call by Reference: Yes

I_ITEM_NOT_DELETED -

Data type: XFLAG
Optional: Yes
Call by Reference: Yes

I_ITEM_NO_CF_QUANTITY -

Data type: XFLAG
Optional: Yes
Call by Reference: Yes

I_ITEM_NO_CF_VALUE -

Data type: XFLAG
Optional: Yes
Call by Reference: Yes

I_ITEM_NO_IV_QUANTITY -

Data type: XFLAG
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for BBP_PD_SC_REF_GETLIST

IT_HEADER_GUIDS -

Data type: BBP_GUID_TAB
Optional: No
Call by Reference: Yes

IT_OBJECT_ID -

Data type: BBPS_RANGE_OBJECT_ID
Optional: Yes
Call by Reference: Yes

IT_ITEM_STATUS -

Data type: JSTAT
Optional: Yes
Call by Reference: Yes

IT_LOGICAL_SYSTEMS -

Data type: BBPS_RANGE_LOGICAL_SYSTEM
Optional: Yes
Call by Reference: Yes

ET_REFDATA -

Data type: BBPS_SC_REFDATA
Optional: No
Call by Reference: Yes

ET_PDITEMLIST -

Data type: BBP_PDS_PDITEMLIST
Optional: Yes
Call by Reference: Yes

ET_GUID_IGNORE -

Data type: BBP_GUID_TAB
Optional: Yes
Call by Reference: Yes

ET_ENQ_FAILED -

Data type: BBPS_SC_REFUPDATE
Optional: Yes
Call by Reference: Yes

ET_LOCKED_SC -

Data type: BBP_GUID_TAB
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

NOTHING_FOUND -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for BBP_PD_SC_REF_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_nothing_found  TYPE STRING, "   
lt_it_header_guids  TYPE STANDARD TABLE OF BBP_GUID_TAB, "   
lv_i_item_create_date  TYPE BBP_CREATE_DATE, "   
lv_i_item_no_iv_value  TYPE XFLAG, "   
lv_i_with_deleted  TYPE XFLAG, "   
lv_i_read_item_first  TYPE XFLAG, "   
lv_i_lock_sc  TYPE XFLAG, "   
lt_it_object_id  TYPE STANDARD TABLE OF BBPS_RANGE_OBJECT_ID, "   
lv_i_item_create_date_from  TYPE BBP_CREATE_DATE, "   
lt_it_item_status  TYPE STANDARD TABLE OF JSTAT, "   
lv_i_item_without_final_entry  TYPE BBP_PDIGP-FINAL_ENTRY, "   
lv_i_item_iv_open  TYPE XFLAG, "   
lt_it_logical_systems  TYPE STANDARD TABLE OF BBPS_RANGE_LOGICAL_SYSTEM, "   
lt_et_refdata  TYPE STANDARD TABLE OF BBPS_SC_REFDATA, "   
lv_i_item_cf_open  TYPE XFLAG, "   
lt_et_pditemlist  TYPE STANDARD TABLE OF BBP_PDS_PDITEMLIST, "   
lv_i_item_not_deleted  TYPE XFLAG, "   
lt_et_guid_ignore  TYPE STANDARD TABLE OF BBP_GUID_TAB, "   
lv_i_item_no_cf_quantity  TYPE XFLAG, "   
lt_et_enq_failed  TYPE STANDARD TABLE OF BBPS_SC_REFUPDATE, "   
lv_i_item_no_cf_value  TYPE XFLAG, "   
lt_et_locked_sc  TYPE STANDARD TABLE OF BBP_GUID_TAB, "   
lv_i_item_no_iv_quantity  TYPE XFLAG. "   

  CALL FUNCTION 'BBP_PD_SC_REF_GETLIST'  "
    EXPORTING
         I_ITEM_CREATE_DATE = lv_i_item_create_date
         I_ITEM_NO_IV_VALUE = lv_i_item_no_iv_value
         I_WITH_DELETED = lv_i_with_deleted
         I_READ_ITEM_FIRST = lv_i_read_item_first
         I_LOCK_SC = lv_i_lock_sc
         I_ITEM_CREATE_DATE_FROM = lv_i_item_create_date_from
         I_ITEM_WITHOUT_FINAL_ENTRY = lv_i_item_without_final_entry
         I_ITEM_IV_OPEN = lv_i_item_iv_open
         I_ITEM_CF_OPEN = lv_i_item_cf_open
         I_ITEM_NOT_DELETED = lv_i_item_not_deleted
         I_ITEM_NO_CF_QUANTITY = lv_i_item_no_cf_quantity
         I_ITEM_NO_CF_VALUE = lv_i_item_no_cf_value
         I_ITEM_NO_IV_QUANTITY = lv_i_item_no_iv_quantity
    TABLES
         IT_HEADER_GUIDS = lt_it_header_guids
         IT_OBJECT_ID = lt_it_object_id
         IT_ITEM_STATUS = lt_it_item_status
         IT_LOGICAL_SYSTEMS = lt_it_logical_systems
         ET_REFDATA = lt_et_refdata
         ET_PDITEMLIST = lt_et_pditemlist
         ET_GUID_IGNORE = lt_et_guid_ignore
         ET_ENQ_FAILED = lt_et_enq_failed
         ET_LOCKED_SC = lt_et_locked_sc
    EXCEPTIONS
        NOTHING_FOUND = 1
. " BBP_PD_SC_REF_GETLIST




ABAP code using 7.40 inline data declarations to call FM BBP_PD_SC_REF_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 FINAL_ENTRY FROM BBP_PDIGP INTO @DATA(ld_i_item_without_final_entry).
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!