SAP BBP_PD_SC_GETLIST Function Module for









BBP_PD_SC_GETLIST is a standard bbp pd sc 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 getlist FM, simply by entering the name BBP_PD_SC_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_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_GETLIST'"
EXPORTING
* I_SUBTYPE = "
* I_PARTNER_FCT = "
* I_WITH_CLOSED = "
* I_CF_OPEN = "
* I_IV_OPEN = "
* I_INCOMPLETE = "
* I_READ_STATUS_FIRST = "
* I_READ_ITEM_FIRST = "
* I_READ_FROM_ARCHIVE = "
* IV_READ_PRODUCT_CATEGORY_HIER = "
* IS_READ_INITIAL_PARAMETER = "
* I_DESCRIPTION = "
* I_ITEM_ORDERED_PROD = "
* I_ITEM_PRODUCT_SRC_SYS = "
* I_ITEM_DESCRIPTION = "
* I_ITEM_PRODUCT = "
* I_ITEM_PARTNER_PROD = "
* IV_ITEM_MANU_PROD = "
* IV_ITEM_MFR_NO_EXT = "
* I_ITEM_CATEGORY = "
* I_ITEM_CATEGORY_ID = "
* I_ITEM_ACCOUNTING = "
* I_CREATED_BY = "
* I_ITEM_OPEN_FOR_STATUS = "
* I_ITEM_WITHOUT_LIMIT = "
* I_ITEM_WITHOUT_FINAL_ENTRY = "
* I_ITEM_SOURCE_REL_IND = "
* I_ITEM_EXT_DEMID = "
* I_ITEM_NOT_DELETED = 'X' "
* I_PARTNER_SELECT_OR = "
* I_PURCHTEAM = "
* I_CHANGED_BY = "
* I_CREATE_DATE = "
* I_CREATE_DATE_TO = "
* I_CHANGE_DATE = "
* I_OBJECT_ID = "
* I_PARTNER = "

TABLES
* I_STATUS = "
* IT_RANGE_PURCHTEAM = "
* I_RANGE_OBJECT_ID = "
* IT_ITEM_RANGE_CATEGORY_ID = "
* IT_ITEM_RANGE_PROC_ORG = "
* IT_ITEM_RANGE_PROC_GROUP = "
* IT_ITEM_RANGE_DOC_PRIORITY = "
* IT_ITEM_RANGE_ORDERED_PROD = "
* IT_ITEM_RANGE_SOURCE_REL_IND = "
E_PDLIST = "
* E_STATUS = "
* I_PARTNERS = "
E_MESSAGES = "
* IT_CUF_SEARCH = "
* IT_ITEM_CUF_SEARCH = "
* I_ITEM_PARTNERS = "
* I_ITEM_STATUS = "
* I_HEADER_GUIDS = "
* IT_RANGE_PROC_ORG = "
* IT_RANGE_PROC_GROUP = "
.



IMPORTING Parameters details for BBP_PD_SC_GETLIST

I_SUBTYPE -

Data type: BBP_H_SUBTYPE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PARTNER_FCT -

Data type: CRMD_PARTNER-PARTNER_FCT
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_WITH_CLOSED -

Data type: XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CF_OPEN -

Data type: XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_IV_OPEN -

Data type: XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_INCOMPLETE -

Data type: XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_READ_STATUS_FIRST -

Data type: XFLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_READ_ITEM_FIRST -

Data type: XFLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_READ_FROM_ARCHIVE -

Data type: XFLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_READ_PRODUCT_CATEGORY_HIER -

Data type: BBP_READ_PRODUCT_CATEGORY_HIER
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_READ_INITIAL_PARAMETER -

Data type: BBPS_PDLIST_HDR_READ_INITIAL
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DESCRIPTION -

Data type: CRMD_ORDERADM_H-DESCRIPTION
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ITEM_ORDERED_PROD -

Data type: CRMD_ORDERADM_I-ORDERED_PROD
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ITEM_PRODUCT_SRC_SYS -

Data type: BBP_LOGSYS
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ITEM_DESCRIPTION -

Data type: CRMD_ORDERADM_I-DESCRIPTION
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ITEM_PRODUCT -

Data type: CRMD_ORDERADM_I-PRODUCT
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ITEM_PARTNER_PROD -

Data type: CRMD_ORDERADM_I-PARTNER_PROD
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_ITEM_MANU_PROD -

Data type: BBP_MFRPN
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_ITEM_MFR_NO_EXT -

Data type: EMNFR
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ITEM_CATEGORY -

Data type: BBP_PDIGP-CATEGORY
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ITEM_CATEGORY_ID -

Data type: BBP_PDIGP-CATEGORY_ID
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ITEM_ACCOUNTING -

Data type: BBP_PDS_SEARCH_ACC
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CREATED_BY -

Data type: CRMD_ORDERADM_H-CREATED_BY
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ITEM_OPEN_FOR_STATUS -

Data type: XFLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ITEM_WITHOUT_LIMIT -

Data type: XFLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ITEM_WITHOUT_FINAL_ENTRY -

Data type: BBP_PDIGP-FINAL_ENTRY
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ITEM_SOURCE_REL_IND -

Data type: BBP_SOURCE_REL_IND
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ITEM_EXT_DEMID -

Data type: BBP_EXT_DEMID
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ITEM_NOT_DELETED -

Data type: XFELD
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PARTNER_SELECT_OR -

Data type: XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PURCHTEAM -

Data type: BBP_PURCHTEAM
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CHANGED_BY -

Data type: CRMD_ORDERADM_H-CHANGED_BY
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CREATE_DATE -

Data type: BBP_CREATE_DATE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CREATE_DATE_TO -

Data type: BBP_CREATE_DATE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CHANGE_DATE -

Data type: BBP_CHANGE_DATE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_OBJECT_ID -

Data type: CRMD_ORDERADM_H-OBJECT_ID
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PARTNER -

Data type: CRMD_PARTNER-PARTNER_NO
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for BBP_PD_SC_GETLIST

I_STATUS -

Data type: JSTAT
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_RANGE_PURCHTEAM -

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

I_RANGE_OBJECT_ID -

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

IT_ITEM_RANGE_CATEGORY_ID -

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

IT_ITEM_RANGE_PROC_ORG -

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

IT_ITEM_RANGE_PROC_GROUP -

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

IT_ITEM_RANGE_DOC_PRIORITY -

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

IT_ITEM_RANGE_ORDERED_PROD -

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

IT_ITEM_RANGE_SOURCE_REL_IND -

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

E_PDLIST -

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

E_STATUS -

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

I_PARTNERS -

Data type: BBP_PDS_PARTNER_GET
Optional: Yes
Call by Reference: No ( called with pass by value option)

E_MESSAGES -

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

IT_CUF_SEARCH -

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

IT_ITEM_CUF_SEARCH -

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

I_ITEM_PARTNERS -

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

I_ITEM_STATUS -

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

I_HEADER_GUIDS -

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

IT_RANGE_PROC_ORG -

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

IT_RANGE_PROC_GROUP -

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

Copy and paste ABAP code example for BBP_PD_SC_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_i_status  TYPE STANDARD TABLE OF JSTAT, "   
lv_i_subtype  TYPE BBP_H_SUBTYPE, "   
lv_i_partner_fct  TYPE CRMD_PARTNER-PARTNER_FCT, "   
lt_it_range_purchteam  TYPE STANDARD TABLE OF BBP_PDS_RANGE_PURCHTEAM, "   
lv_i_with_closed  TYPE XFELD, "   
lt_i_range_object_id  TYPE STANDARD TABLE OF BBP_PDS_RANGE_OBJECT_ID, "   
lv_i_cf_open  TYPE XFELD, "   
lt_it_item_range_category_id  TYPE STANDARD TABLE OF BBP_PDS_RANGE_CATEGORY_ID, "   
lv_i_iv_open  TYPE XFELD, "   
lt_it_item_range_proc_org  TYPE STANDARD TABLE OF BBP_PDS_RANGE_PROC_ORG, "   
lv_i_incomplete  TYPE XFELD, "   
lt_it_item_range_proc_group  TYPE STANDARD TABLE OF BBP_PDS_RANGE_PROC_GROUP, "   
lv_i_read_status_first  TYPE XFLAG, "   
lt_it_item_range_doc_priority  TYPE STANDARD TABLE OF BBP_PDS_RANGE_DOC_PRIORITY, "   
lv_i_read_item_first  TYPE XFLAG, "   
lt_it_item_range_ordered_prod  TYPE STANDARD TABLE OF BBP_PDS_RANGE_ORDERED_PROD, "   
lv_i_read_from_archive  TYPE XFLAG, "   
lt_it_item_range_source_rel_ind  TYPE STANDARD TABLE OF BBP_PDS_RANGE_SOURCE_REL_IND, "   
lt_e_pdlist  TYPE STANDARD TABLE OF BBP_PDS_PDLIST, "   
lv_iv_read_product_category_hier  TYPE BBP_READ_PRODUCT_CATEGORY_HIER, "   
lt_e_status  TYPE STANDARD TABLE OF BBP_PDS_STATUS, "   
lv_is_read_initial_parameter  TYPE BBPS_PDLIST_HDR_READ_INITIAL, "   
lt_i_partners  TYPE STANDARD TABLE OF BBP_PDS_PARTNER_GET, "   
lv_i_description  TYPE CRMD_ORDERADM_H-DESCRIPTION, "   
lt_e_messages  TYPE STANDARD TABLE OF BBP_PDS_MESSAGES, "   
lv_i_item_ordered_prod  TYPE CRMD_ORDERADM_I-ORDERED_PROD, "   
lv_i_item_product_src_sys  TYPE BBP_LOGSYS, "   
lv_i_item_description  TYPE CRMD_ORDERADM_I-DESCRIPTION, "   
lv_i_item_product  TYPE CRMD_ORDERADM_I-PRODUCT, "   
lv_i_item_partner_prod  TYPE CRMD_ORDERADM_I-PARTNER_PROD, "   
lv_iv_item_manu_prod  TYPE BBP_MFRPN, "   
lv_iv_item_mfr_no_ext  TYPE EMNFR, "   
lv_i_item_category  TYPE BBP_PDIGP-CATEGORY, "   
lv_i_item_category_id  TYPE BBP_PDIGP-CATEGORY_ID, "   
lv_i_item_accounting  TYPE BBP_PDS_SEARCH_ACC, "   
lv_i_created_by  TYPE CRMD_ORDERADM_H-CREATED_BY, "   
lt_it_cuf_search  TYPE STANDARD TABLE OF BBP_CUF_SEARCH_HEADER, "   
lv_i_item_open_for_status  TYPE XFLAG, "   
lv_i_item_without_limit  TYPE XFLAG, "   
lv_i_item_without_final_entry  TYPE BBP_PDIGP-FINAL_ENTRY, "   
lv_i_item_source_rel_ind  TYPE BBP_SOURCE_REL_IND, "   
lv_i_item_ext_demid  TYPE BBP_EXT_DEMID, "   
lv_i_item_not_deleted  TYPE XFELD, "   'X'
lv_i_partner_select_or  TYPE XFELD, "   
lv_i_purchteam  TYPE BBP_PURCHTEAM, "   
lv_i_changed_by  TYPE CRMD_ORDERADM_H-CHANGED_BY, "   
lt_it_item_cuf_search  TYPE STANDARD TABLE OF BBP_CUF_SEARCH_ITEM, "   
lv_i_create_date  TYPE BBP_CREATE_DATE, "   
lt_i_item_partners  TYPE STANDARD TABLE OF BBP_PDS_PARTNER_GET, "   
lt_i_item_status  TYPE STANDARD TABLE OF JSTAT, "   
lv_i_create_date_to  TYPE BBP_CREATE_DATE, "   
lv_i_change_date  TYPE BBP_CHANGE_DATE, "   
lt_i_header_guids  TYPE STANDARD TABLE OF BBP_GUID_TAB, "   
lv_i_object_id  TYPE CRMD_ORDERADM_H-OBJECT_ID, "   
lt_it_range_proc_org  TYPE STANDARD TABLE OF BBP_PDS_RANGE_PROC_ORG, "   
lv_i_partner  TYPE CRMD_PARTNER-PARTNER_NO, "   
lt_it_range_proc_group  TYPE STANDARD TABLE OF BBP_PDS_RANGE_PROC_GROUP. "   

  CALL FUNCTION 'BBP_PD_SC_GETLIST'  "
    EXPORTING
         I_SUBTYPE = lv_i_subtype
         I_PARTNER_FCT = lv_i_partner_fct
         I_WITH_CLOSED = lv_i_with_closed
         I_CF_OPEN = lv_i_cf_open
         I_IV_OPEN = lv_i_iv_open
         I_INCOMPLETE = lv_i_incomplete
         I_READ_STATUS_FIRST = lv_i_read_status_first
         I_READ_ITEM_FIRST = lv_i_read_item_first
         I_READ_FROM_ARCHIVE = lv_i_read_from_archive
         IV_READ_PRODUCT_CATEGORY_HIER = lv_iv_read_product_category_hier
         IS_READ_INITIAL_PARAMETER = lv_is_read_initial_parameter
         I_DESCRIPTION = lv_i_description
         I_ITEM_ORDERED_PROD = lv_i_item_ordered_prod
         I_ITEM_PRODUCT_SRC_SYS = lv_i_item_product_src_sys
         I_ITEM_DESCRIPTION = lv_i_item_description
         I_ITEM_PRODUCT = lv_i_item_product
         I_ITEM_PARTNER_PROD = lv_i_item_partner_prod
         IV_ITEM_MANU_PROD = lv_iv_item_manu_prod
         IV_ITEM_MFR_NO_EXT = lv_iv_item_mfr_no_ext
         I_ITEM_CATEGORY = lv_i_item_category
         I_ITEM_CATEGORY_ID = lv_i_item_category_id
         I_ITEM_ACCOUNTING = lv_i_item_accounting
         I_CREATED_BY = lv_i_created_by
         I_ITEM_OPEN_FOR_STATUS = lv_i_item_open_for_status
         I_ITEM_WITHOUT_LIMIT = lv_i_item_without_limit
         I_ITEM_WITHOUT_FINAL_ENTRY = lv_i_item_without_final_entry
         I_ITEM_SOURCE_REL_IND = lv_i_item_source_rel_ind
         I_ITEM_EXT_DEMID = lv_i_item_ext_demid
         I_ITEM_NOT_DELETED = lv_i_item_not_deleted
         I_PARTNER_SELECT_OR = lv_i_partner_select_or
         I_PURCHTEAM = lv_i_purchteam
         I_CHANGED_BY = lv_i_changed_by
         I_CREATE_DATE = lv_i_create_date
         I_CREATE_DATE_TO = lv_i_create_date_to
         I_CHANGE_DATE = lv_i_change_date
         I_OBJECT_ID = lv_i_object_id
         I_PARTNER = lv_i_partner
    TABLES
         I_STATUS = lt_i_status
         IT_RANGE_PURCHTEAM = lt_it_range_purchteam
         I_RANGE_OBJECT_ID = lt_i_range_object_id
         IT_ITEM_RANGE_CATEGORY_ID = lt_it_item_range_category_id
         IT_ITEM_RANGE_PROC_ORG = lt_it_item_range_proc_org
         IT_ITEM_RANGE_PROC_GROUP = lt_it_item_range_proc_group
         IT_ITEM_RANGE_DOC_PRIORITY = lt_it_item_range_doc_priority
         IT_ITEM_RANGE_ORDERED_PROD = lt_it_item_range_ordered_prod
         IT_ITEM_RANGE_SOURCE_REL_IND = lt_it_item_range_source_rel_ind
         E_PDLIST = lt_e_pdlist
         E_STATUS = lt_e_status
         I_PARTNERS = lt_i_partners
         E_MESSAGES = lt_e_messages
         IT_CUF_SEARCH = lt_it_cuf_search
         IT_ITEM_CUF_SEARCH = lt_it_item_cuf_search
         I_ITEM_PARTNERS = lt_i_item_partners
         I_ITEM_STATUS = lt_i_item_status
         I_HEADER_GUIDS = lt_i_header_guids
         IT_RANGE_PROC_ORG = lt_it_range_proc_org
         IT_RANGE_PROC_GROUP = lt_it_range_proc_group
. " BBP_PD_SC_GETLIST




ABAP code using 7.40 inline data declarations to call FM BBP_PD_SC_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 PARTNER_FCT FROM CRMD_PARTNER INTO @DATA(ld_i_partner_fct).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single DESCRIPTION FROM CRMD_ORDERADM_H INTO @DATA(ld_i_description).
 
 
"SELECT single ORDERED_PROD FROM CRMD_ORDERADM_I INTO @DATA(ld_i_item_ordered_prod).
 
 
"SELECT single DESCRIPTION FROM CRMD_ORDERADM_I INTO @DATA(ld_i_item_description).
 
"SELECT single PRODUCT FROM CRMD_ORDERADM_I INTO @DATA(ld_i_item_product).
 
"SELECT single PARTNER_PROD FROM CRMD_ORDERADM_I INTO @DATA(ld_i_item_partner_prod).
 
 
 
"SELECT single CATEGORY FROM BBP_PDIGP INTO @DATA(ld_i_item_category).
 
"SELECT single CATEGORY_ID FROM BBP_PDIGP INTO @DATA(ld_i_item_category_id).
 
 
"SELECT single CREATED_BY FROM CRMD_ORDERADM_H INTO @DATA(ld_i_created_by).
 
 
 
 
"SELECT single FINAL_ENTRY FROM BBP_PDIGP INTO @DATA(ld_i_item_without_final_entry).
 
 
 
DATA(ld_i_item_not_deleted) = 'X'.
 
 
 
"SELECT single CHANGED_BY FROM CRMD_ORDERADM_H INTO @DATA(ld_i_changed_by).
 
 
 
 
 
 
 
 
"SELECT single OBJECT_ID FROM CRMD_ORDERADM_H INTO @DATA(ld_i_object_id).
 
 
"SELECT single PARTNER_NO FROM CRMD_PARTNER INTO @DATA(ld_i_partner).
 
 


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!