BBP_IV_AUTO_COMPLETE_NEW is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter BBP_IV_AUTO_COMPLETE_NEW into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: AutoComplete report for Invoices in 'Waiting for Preceding Doc' Status
Text Symbol: 001 = Auto Complete Invoice
INCLUDE BBP_PD_CON.
INCLUDE BBP_IMS_CONSTANTS.
No SAP DATABASE tables are accessed within this REPORT code!
BBP_IV_HUBREL_RESET_BUFFER CALL FUNCTION 'BBP_IV_HUBREL_RESET_BUFFER'.
BBP_PD_INV_GETDETAIL CALL FUNCTION 'BBP_PD_INV_GETDETAIL' EXPORTING i_guid = iv_inv_guid IMPORTING e_header = ls_inv_header_d et_attach = lt_inv_attach TABLES e_item = lt_inv_item_d e_account = lt_inv_account e_partner = lt_inv_partner e_longtext = lt_inv_longtext e_freight = lt_inv_freight e_tax = lt_inv_tax et_hub_irel = lt_inv_item_rel e_messages = lt_inv_messages.
BBP_IV_REF_OBJ_GET CALL FUNCTION 'BBP_IV_REF_OBJ_GET' EXPORTING it_item = lt_inv_item_d[] it_hub_irel = lt_inv_item_rel[] iv_log_system = ls_inv_header_d-be_log_system IMPORTING et_refobj_keys = lt_refobj_keys[].
BBP_IV_ASSIGNMENT CALL FUNCTION 'BBP_IV_ASSIGNMENT' EXPORTING iv_bypass_buffer = c_on iv_with_unassigned_items = c_on iv_auto_complete = c_on TABLES it_po_selection = lt_refobj_keys et_iv_item = lt_inv_item_prop et_account = lt_inv_account_prop et_partner = lt_inv_partner_prop et_longtext = lt_inv_longtext_prop et_messages = lt_inv_messages.
BBP_PD_INV_RESET_BUFFER CALL FUNCTION 'BBP_PD_INV_RESET_BUFFER'.
BBP_PD_INV_GETDETAIL CALL FUNCTION 'BBP_PD_INV_GETDETAIL' EXPORTING i_guid = ls_inv_header_ic-guid IMPORTING e_header = ls_inv_header_d TABLES e_item = lt_inv_item_d e_partner = lt_inv_partner e_status = et_inv_status e_messages = lt_inv_messages.
GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_16 = ls_inv_item_icu-guid.
GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_16 = ls_inv_item_icu-guid.
GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_16 = ls_inv_item_icu-guid.
BBP_CFIV_NO_INT_GET CALL FUNCTION 'BBP_CFIV_NO_INT_GET' EXPORTING iv_mode = 'E' is_header = ls_inv_header_u iv_read_data = 'X' iv_object_type = 'BUS2205' TABLES ct_item = lt_inv_item_icu.
BBP_PD_INV_UPDATE CALL FUNCTION 'BBP_PD_INV_UPDATE' EXPORTING i_header = ls_inv_header_u IMPORTING e_changed = lv_changed TABLES i_item = lt_inv_item_icu_del e_messages = lt_inv_messages.
BBP_ITMPLN_GETDETAIL CALL FUNCTION 'BBP_ITMPLN_GETDETAIL' EXPORTING iv_header_guid = ls_inv_header_u-guid iv_object_type = 'BUS2205' iv_src_object_type = ls_inv_item_icu-src_object_type iv_src_guid = ls_inv_item_icu-src_guid iv_itm_type = ls_inv_item_icu-itm_type iv_subdcind = ls_inv_item_icu-subdcind is_itmbei = ls_itmbei iv_be_log_system = ls_inv_header_u-be_log_system iv_itm_guid = ls_inv_item_icu-guid TABLES et_itmpln = lt_itmpln[]. "iv_subtype = ls_inv_header_u-subtype
BBP_ITMPLN_RESET_DBBUFFER_SNGL CALL FUNCTION 'BBP_ITMPLN_RESET_DBBUFFER_SNGL' TABLES it_itmpln_guids = lt_itmpln_guids.
BBP_PD_INV_UPDATE CALL FUNCTION 'BBP_PD_INV_UPDATE' EXPORTING i_header = ls_inv_header_u IMPORTING e_changed = lv_changed TABLES i_item = lt_inv_item_icu i_account = lt_inv_account_upd i_partner = lt_inv_partner_upd i_longtext = lt_inv_longtext_upd.
BBP_PD_INV_UPDATE CALL FUNCTION 'BBP_PD_INV_UPDATE' EXPORTING i_header = ls_inv_header_u i_save = gc_yes i_park = gc_yes TABLES e_messages = lt_inv_messages.
BBP_IV_STATUS_UPDATE CALL FUNCTION 'BBP_IV_STATUS_UPDATE' EXPORTING iv_header_guid = ls_inv_header_u-guid.
BBP_PD_INV_GETDETAIL CALL FUNCTION 'BBP_PD_INV_GETDETAIL' EXPORTING i_guid = ls_inv_header_u-guid IMPORTING e_header = ls_inv_header_d TABLES e_item = lt_inv_item_d e_status = et_inv_status.
BBP_PD_INV_SAVE CALL FUNCTION 'BBP_PD_INV_SAVE' EXPORTING iv_header_guid = ls_inv_header_u-guid.
CALL FUNCTION 'BBP_PDH_LOCK_CONTROL' EXPORTING i_unlock = c_on.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.
This will then be available for everyone to easily find by simply searching on the report name BBP_IV_AUTO_COMPLETE_NEW or its description.
BBP_IV_AUTO_COMPLETE_NEW - AutoComplete report for Invoices in 'Waiting for Preceding Doc' Status BBP_IV_AUTO_COMPLETE_NEW - AutoComplete report for Invoices in 'Waiting for Preceding Doc' Status BBP_IV_AUTO_COMPLETE_I06 - BBPIVAUTOCOMPLETEI06 BBP_IV_AUTO_COMPLETE_I05 - BBPIVAUTOCOMPLETEI05 BBP_IV_AUTO_COMPLETE_I04 - BBPIVAUTOCOMPLETEI04 BBP_IV_AUTO_COMPLETE_I03 - BBPIVAUTOCOMPLETEI03