BBP_PD_INV_GETLIST is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name BBP_PD_INV_GETLIST into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
BBP_PD_INV
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'BBP_PD_INV_GETLIST' "
* EXPORTING
* i_description = " crmd_orderadm_h-description
* i_created_by = " crmd_orderadm_h-created_by
* i_changed_by = " crmd_orderadm_h-changed_by
* i_create_date = " bbp_create_date
* i_create_date_to = " bbp_create_date
* i_change_date = " bbp_change_date
* iv_posting_date = " crmt_posting_date
* iv_posting_date_to = " crmt_posting_date
* i_object_id = " crmd_orderadm_h-object_id
* i_open_date = " bbp_open_date
* i_partner = " crmd_partner-partner_no
* i_partner_fct = " crmd_partner-partner_fct
* i_incomplete = " xfeld
* i_with_closed = " xfeld
* i_subtype = " bbp_h_subtype
* i_for_po_id = " crmd_orderadm_h-object_type
* i_read_status_first = " xflag
* i_read_from_archive = " xflag
* iv_read_product_category_hier = " bbp_read_product_category_hier
* is_read_initial_parameter = " bbps_pdlist_hdr_read_initial
* i_partner_select_or = " xflag
* i_read_orgdata = " xflag
* i_item_description = " crmd_orderadm_i-description
* i_item_product = " crmd_orderadm_i-product
* i_item_ordered_prod = " crmd_orderadm_i-ordered_prod
* i_item_product_src_sys = " bbp_logsys
* i_item_partner_prod = " crmd_orderadm_i-partner_prod
* i_item_category = " bbp_pdigp-category
* i_item_category_id = " bbp_pdigp-category_id
* i_item_accounting = " bbp_pds_search_acc
* i_ref_doc_no = " bbp_xblnr
* i_without_company_check = " xfeld
* iv_currency = " waers
* iv_company_code = " bbp_co_code
TABLES
* i_header_guids = " bbp_guid_tab
* it_src_guids = " bbp_guid_tab
* i_range_cost_ctr = " bbp_pds_range_cost_ctr
* i_range_asset_no = " bbp_pds_range_asset_no
* i_range_order_no = " bbp_pds_range_order_no
* i_range_network = " bbp_pds_range_network
* i_range_wbs_elem_e = " bbp_pds_range_wbs_elem_e
* it_range_sales_ord = " bbp_pds_range_sales_ord
* it_range_fund = " bbp_pds_range_fund
* it_range_funds_ctr = " bbp_pds_range_funds_ctr
* it_range_cmmt_item = " bbp_pds_range_cmmt_item
* it_range_func_area = " bbp_pds_range_func_area
* it_range_g_l_acct = " bbp_pds_range_g_l_acct
* it_range_purchteam = " bbp_pds_range_purchteam
* i_status = " jstat
* i_partners = " bbp_pds_partner_get
* it_company = " bbps_pdlist_company
* it_cuf_search = " bbp_cuf_search_header
* it_item_cuf_search = " bbp_cuf_search_item
* i_item_partners = " bbp_pds_partner_get
* it_range_proc_org = " bbp_pds_range_proc_org
* it_range_proc_group = " bbp_pds_range_proc_group
* i_range_object_id = " bbp_pds_range_object_id
* it_range_gross_amount = " bbp_pds_range_gross_amount
* it_item_range_category_id = " bbp_pds_range_category_id
* it_item_range_ordered_prod = " bbp_pds_range_ordered_prod
* it_range_ref_doc_no = " bbp_pds_range_ref_doc_no
e_pdlist = " bbp_pds_pdlist
* e_status = " bbp_pds_status
e_messages = " bbp_pds_messages
. " BBP_PD_INV_GETLIST
The ABAP code below is a full code listing to execute function module BBP_PD_INV_GETLIST including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| it_i_header_guids | TYPE STANDARD TABLE OF BBP_GUID_TAB,"TABLES PARAM |
| wa_i_header_guids | LIKE LINE OF it_i_header_guids , |
| it_it_src_guids | TYPE STANDARD TABLE OF BBP_GUID_TAB,"TABLES PARAM |
| wa_it_src_guids | LIKE LINE OF it_it_src_guids , |
| it_i_range_cost_ctr | TYPE STANDARD TABLE OF BBP_PDS_RANGE_COST_CTR,"TABLES PARAM |
| wa_i_range_cost_ctr | LIKE LINE OF it_i_range_cost_ctr , |
| it_i_range_asset_no | TYPE STANDARD TABLE OF BBP_PDS_RANGE_ASSET_NO,"TABLES PARAM |
| wa_i_range_asset_no | LIKE LINE OF it_i_range_asset_no , |
| it_i_range_order_no | TYPE STANDARD TABLE OF BBP_PDS_RANGE_ORDER_NO,"TABLES PARAM |
| wa_i_range_order_no | LIKE LINE OF it_i_range_order_no , |
| it_i_range_network | TYPE STANDARD TABLE OF BBP_PDS_RANGE_NETWORK,"TABLES PARAM |
| wa_i_range_network | LIKE LINE OF it_i_range_network , |
| it_i_range_wbs_elem_e | TYPE STANDARD TABLE OF BBP_PDS_RANGE_WBS_ELEM_E,"TABLES PARAM |
| wa_i_range_wbs_elem_e | LIKE LINE OF it_i_range_wbs_elem_e , |
| it_it_range_sales_ord | TYPE STANDARD TABLE OF BBP_PDS_RANGE_SALES_ORD,"TABLES PARAM |
| wa_it_range_sales_ord | LIKE LINE OF it_it_range_sales_ord , |
| it_it_range_fund | TYPE STANDARD TABLE OF BBP_PDS_RANGE_FUND,"TABLES PARAM |
| wa_it_range_fund | LIKE LINE OF it_it_range_fund , |
| it_it_range_funds_ctr | TYPE STANDARD TABLE OF BBP_PDS_RANGE_FUNDS_CTR,"TABLES PARAM |
| wa_it_range_funds_ctr | LIKE LINE OF it_it_range_funds_ctr , |
| it_it_range_cmmt_item | TYPE STANDARD TABLE OF BBP_PDS_RANGE_CMMT_ITEM,"TABLES PARAM |
| wa_it_range_cmmt_item | LIKE LINE OF it_it_range_cmmt_item , |
| it_it_range_func_area | TYPE STANDARD TABLE OF BBP_PDS_RANGE_FUNC_AREA,"TABLES PARAM |
| wa_it_range_func_area | LIKE LINE OF it_it_range_func_area , |
| it_it_range_g_l_acct | TYPE STANDARD TABLE OF BBP_PDS_RANGE_G_L_ACCT,"TABLES PARAM |
| wa_it_range_g_l_acct | LIKE LINE OF it_it_range_g_l_acct , |
| it_it_range_purchteam | TYPE STANDARD TABLE OF BBP_PDS_RANGE_PURCHTEAM,"TABLES PARAM |
| wa_it_range_purchteam | LIKE LINE OF it_it_range_purchteam , |
| it_i_status | TYPE STANDARD TABLE OF JSTAT,"TABLES PARAM |
| wa_i_status | LIKE LINE OF it_i_status , |
| it_i_partners | TYPE STANDARD TABLE OF BBP_PDS_PARTNER_GET,"TABLES PARAM |
| wa_i_partners | LIKE LINE OF it_i_partners , |
| it_it_company | TYPE STANDARD TABLE OF BBPS_PDLIST_COMPANY,"TABLES PARAM |
| wa_it_company | LIKE LINE OF it_it_company , |
| it_it_cuf_search | TYPE STANDARD TABLE OF BBP_CUF_SEARCH_HEADER,"TABLES PARAM |
| wa_it_cuf_search | LIKE LINE OF it_it_cuf_search , |
| it_it_item_cuf_search | TYPE STANDARD TABLE OF BBP_CUF_SEARCH_ITEM,"TABLES PARAM |
| wa_it_item_cuf_search | LIKE LINE OF it_it_item_cuf_search , |
| it_i_item_partners | TYPE STANDARD TABLE OF BBP_PDS_PARTNER_GET,"TABLES PARAM |
| wa_i_item_partners | LIKE LINE OF it_i_item_partners , |
| it_it_range_proc_org | TYPE STANDARD TABLE OF BBP_PDS_RANGE_PROC_ORG,"TABLES PARAM |
| wa_it_range_proc_org | LIKE LINE OF it_it_range_proc_org , |
| it_it_range_proc_group | TYPE STANDARD TABLE OF BBP_PDS_RANGE_PROC_GROUP,"TABLES PARAM |
| wa_it_range_proc_group | LIKE LINE OF it_it_range_proc_group , |
| it_i_range_object_id | TYPE STANDARD TABLE OF BBP_PDS_RANGE_OBJECT_ID,"TABLES PARAM |
| wa_i_range_object_id | LIKE LINE OF it_i_range_object_id , |
| it_it_range_gross_amount | TYPE STANDARD TABLE OF BBP_PDS_RANGE_GROSS_AMOUNT,"TABLES PARAM |
| wa_it_range_gross_amount | LIKE LINE OF it_it_range_gross_amount , |
| it_it_item_range_category_id | TYPE STANDARD TABLE OF BBP_PDS_RANGE_CATEGORY_ID,"TABLES PARAM |
| wa_it_item_range_category_id | LIKE LINE OF it_it_item_range_category_id , |
| it_it_item_range_ordered_prod | TYPE STANDARD TABLE OF BBP_PDS_RANGE_ORDERED_PROD,"TABLES PARAM |
| wa_it_item_range_ordered_prod | LIKE LINE OF it_it_item_range_ordered_prod , |
| it_it_range_ref_doc_no | TYPE STANDARD TABLE OF BBP_PDS_RANGE_REF_DOC_NO,"TABLES PARAM |
| wa_it_range_ref_doc_no | LIKE LINE OF it_it_range_ref_doc_no , |
| it_e_pdlist | TYPE STANDARD TABLE OF BBP_PDS_PDLIST,"TABLES PARAM |
| wa_e_pdlist | LIKE LINE OF it_e_pdlist , |
| it_e_status | TYPE STANDARD TABLE OF BBP_PDS_STATUS,"TABLES PARAM |
| wa_e_status | LIKE LINE OF it_e_status , |
| it_e_messages | TYPE STANDARD TABLE OF BBP_PDS_MESSAGES,"TABLES PARAM |
| wa_e_messages | LIKE LINE OF it_e_messages . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_i_description | TYPE CRMD_ORDERADM_H-DESCRIPTION , |
| it_i_header_guids | TYPE STANDARD TABLE OF BBP_GUID_TAB , |
| wa_i_header_guids | LIKE LINE OF it_i_header_guids, |
| ld_i_created_by | TYPE CRMD_ORDERADM_H-CREATED_BY , |
| it_it_src_guids | TYPE STANDARD TABLE OF BBP_GUID_TAB , |
| wa_it_src_guids | LIKE LINE OF it_it_src_guids, |
| ld_i_changed_by | TYPE CRMD_ORDERADM_H-CHANGED_BY , |
| it_i_range_cost_ctr | TYPE STANDARD TABLE OF BBP_PDS_RANGE_COST_CTR , |
| wa_i_range_cost_ctr | LIKE LINE OF it_i_range_cost_ctr, |
| ld_i_create_date | TYPE BBP_CREATE_DATE , |
| it_i_range_asset_no | TYPE STANDARD TABLE OF BBP_PDS_RANGE_ASSET_NO , |
| wa_i_range_asset_no | LIKE LINE OF it_i_range_asset_no, |
| ld_i_create_date_to | TYPE BBP_CREATE_DATE , |
| it_i_range_order_no | TYPE STANDARD TABLE OF BBP_PDS_RANGE_ORDER_NO , |
| wa_i_range_order_no | LIKE LINE OF it_i_range_order_no, |
| ld_i_change_date | TYPE BBP_CHANGE_DATE , |
| it_i_range_network | TYPE STANDARD TABLE OF BBP_PDS_RANGE_NETWORK , |
| wa_i_range_network | LIKE LINE OF it_i_range_network, |
| ld_iv_posting_date | TYPE CRMT_POSTING_DATE , |
| it_i_range_wbs_elem_e | TYPE STANDARD TABLE OF BBP_PDS_RANGE_WBS_ELEM_E , |
| wa_i_range_wbs_elem_e | LIKE LINE OF it_i_range_wbs_elem_e, |
| ld_iv_posting_date_to | TYPE CRMT_POSTING_DATE , |
| it_it_range_sales_ord | TYPE STANDARD TABLE OF BBP_PDS_RANGE_SALES_ORD , |
| wa_it_range_sales_ord | LIKE LINE OF it_it_range_sales_ord, |
| ld_i_object_id | TYPE CRMD_ORDERADM_H-OBJECT_ID , |
| it_it_range_fund | TYPE STANDARD TABLE OF BBP_PDS_RANGE_FUND , |
| wa_it_range_fund | LIKE LINE OF it_it_range_fund, |
| ld_i_open_date | TYPE BBP_OPEN_DATE , |
| it_it_range_funds_ctr | TYPE STANDARD TABLE OF BBP_PDS_RANGE_FUNDS_CTR , |
| wa_it_range_funds_ctr | LIKE LINE OF it_it_range_funds_ctr, |
| it_it_range_cmmt_item | TYPE STANDARD TABLE OF BBP_PDS_RANGE_CMMT_ITEM , |
| wa_it_range_cmmt_item | LIKE LINE OF it_it_range_cmmt_item, |
| ld_i_partner | TYPE CRMD_PARTNER-PARTNER_NO , |
| it_it_range_func_area | TYPE STANDARD TABLE OF BBP_PDS_RANGE_FUNC_AREA , |
| wa_it_range_func_area | LIKE LINE OF it_it_range_func_area, |
| ld_i_partner_fct | TYPE CRMD_PARTNER-PARTNER_FCT , |
| it_it_range_g_l_acct | TYPE STANDARD TABLE OF BBP_PDS_RANGE_G_L_ACCT , |
| wa_it_range_g_l_acct | LIKE LINE OF it_it_range_g_l_acct, |
| ld_i_incomplete | TYPE XFELD , |
| it_it_range_purchteam | TYPE STANDARD TABLE OF BBP_PDS_RANGE_PURCHTEAM , |
| wa_it_range_purchteam | LIKE LINE OF it_it_range_purchteam, |
| ld_i_with_closed | TYPE XFELD , |
| it_i_status | TYPE STANDARD TABLE OF JSTAT , |
| wa_i_status | LIKE LINE OF it_i_status, |
| ld_i_subtype | TYPE BBP_H_SUBTYPE , |
| it_i_partners | TYPE STANDARD TABLE OF BBP_PDS_PARTNER_GET , |
| wa_i_partners | LIKE LINE OF it_i_partners, |
| ld_i_for_po_id | TYPE CRMD_ORDERADM_H-OBJECT_TYPE , |
| it_it_company | TYPE STANDARD TABLE OF BBPS_PDLIST_COMPANY , |
| wa_it_company | LIKE LINE OF it_it_company, |
| ld_i_read_status_first | TYPE XFLAG , |
| it_it_cuf_search | TYPE STANDARD TABLE OF BBP_CUF_SEARCH_HEADER , |
| wa_it_cuf_search | LIKE LINE OF it_it_cuf_search, |
| ld_i_read_from_archive | TYPE XFLAG , |
| it_it_item_cuf_search | TYPE STANDARD TABLE OF BBP_CUF_SEARCH_ITEM , |
| wa_it_item_cuf_search | LIKE LINE OF it_it_item_cuf_search, |
| ld_iv_read_product_category_hier | TYPE BBP_READ_PRODUCT_CATEGORY_HIER , |
| it_i_item_partners | TYPE STANDARD TABLE OF BBP_PDS_PARTNER_GET , |
| wa_i_item_partners | LIKE LINE OF it_i_item_partners, |
| ld_is_read_initial_parameter | TYPE BBPS_PDLIST_HDR_READ_INITIAL , |
| it_it_range_proc_org | TYPE STANDARD TABLE OF BBP_PDS_RANGE_PROC_ORG , |
| wa_it_range_proc_org | LIKE LINE OF it_it_range_proc_org, |
| ld_i_partner_select_or | TYPE XFLAG , |
| it_it_range_proc_group | TYPE STANDARD TABLE OF BBP_PDS_RANGE_PROC_GROUP , |
| wa_it_range_proc_group | LIKE LINE OF it_it_range_proc_group, |
| ld_i_read_orgdata | TYPE XFLAG , |
| it_i_range_object_id | TYPE STANDARD TABLE OF BBP_PDS_RANGE_OBJECT_ID , |
| wa_i_range_object_id | LIKE LINE OF it_i_range_object_id, |
| ld_i_item_description | TYPE CRMD_ORDERADM_I-DESCRIPTION , |
| it_it_range_gross_amount | TYPE STANDARD TABLE OF BBP_PDS_RANGE_GROSS_AMOUNT , |
| wa_it_range_gross_amount | LIKE LINE OF it_it_range_gross_amount, |
| ld_i_item_product | TYPE CRMD_ORDERADM_I-PRODUCT , |
| it_it_item_range_category_id | TYPE STANDARD TABLE OF BBP_PDS_RANGE_CATEGORY_ID , |
| wa_it_item_range_category_id | LIKE LINE OF it_it_item_range_category_id, |
| ld_i_item_ordered_prod | TYPE CRMD_ORDERADM_I-ORDERED_PROD , |
| it_it_item_range_ordered_prod | TYPE STANDARD TABLE OF BBP_PDS_RANGE_ORDERED_PROD , |
| wa_it_item_range_ordered_prod | LIKE LINE OF it_it_item_range_ordered_prod, |
| ld_i_item_product_src_sys | TYPE BBP_LOGSYS , |
| it_it_range_ref_doc_no | TYPE STANDARD TABLE OF BBP_PDS_RANGE_REF_DOC_NO , |
| wa_it_range_ref_doc_no | LIKE LINE OF it_it_range_ref_doc_no, |
| ld_i_item_partner_prod | TYPE CRMD_ORDERADM_I-PARTNER_PROD , |
| it_e_pdlist | TYPE STANDARD TABLE OF BBP_PDS_PDLIST , |
| wa_e_pdlist | LIKE LINE OF it_e_pdlist, |
| ld_i_item_category | TYPE BBP_PDIGP-CATEGORY , |
| it_e_status | TYPE STANDARD TABLE OF BBP_PDS_STATUS , |
| wa_e_status | LIKE LINE OF it_e_status, |
| ld_i_item_category_id | TYPE BBP_PDIGP-CATEGORY_ID , |
| it_e_messages | TYPE STANDARD TABLE OF BBP_PDS_MESSAGES , |
| wa_e_messages | LIKE LINE OF it_e_messages, |
| ld_i_item_accounting | TYPE BBP_PDS_SEARCH_ACC , |
| ld_i_ref_doc_no | TYPE BBP_XBLNR , |
| ld_i_without_company_check | TYPE XFELD , |
| ld_iv_currency | TYPE WAERS , |
| ld_iv_company_code | TYPE BBP_CO_CODE . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BBP_PD_INV_GETLIST or its description.