SAP Reports / Programs | Supplier Relationship Management | Enterprise Buyer | Invoicing(SRM-EBP-INV) SAP SRM

BBPERS_F0C SAP ABAP INCLUDE - Include BBPERS_F0C







BBPERS_F0C is a standard ABAP INCLUDE 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 BBPERS_F0C into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT BBPERS_F0C. "Basic submit
SUBMIT BBPERS_F0C AND RETURN. "Return to original report after report execution complete
SUBMIT BBPERS_F0C VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include BBPERS_F0C


INCLUDES used within this REPORT BBPERS_F0C

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

BBP_IV_PARAMETERS_GET CALL FUNCTION 'BBP_IV_PARAMETERS_GET' IMPORTING parameter = parameter TABLES return = return.

BBP_MS_C_SELECT_STATUS_GET CALL FUNCTION 'BBP_MS_C_SELECT_STATUS_GET' IMPORTING ev_marketset = lv_marketset ev_multicompany = lv_multicompany.

BUPA_NUMBERS_GET CALL FUNCTION 'BUPA_NUMBERS_GET' EXPORTING iv_partner_guid = tab_vendor-guid IMPORTING ev_partner = lv_vendor_id.

BBP_BUPA_FRG0060_READ_ALL CALL FUNCTION 'BBP_BUPA_FRG0060_READ_ALL' EXPORTING iv_partner_guid = tab_vendor-guid TABLES et_frg0061 = t_frg0061 et_sendmedium = t_smedium.

BBP_PD_PO_GETLIST CALL FUNCTION 'BBP_PD_PO_GETLIST' EXPORTING i_partner = guid32 i_partner_fct = parameter-vendor i_iv_possible = 'X' i_iv_open = 'X' i_ers_flag = 'X' TABLES e_pdlist = tab_po_list e_messages = tab_messages.

BBP_PD_CONF_GETLIST CALL FUNCTION 'BBP_PD_CONF_GETLIST' EXPORTING i_subtype = c_subtype_rt i_partner = guid32 i_partner_fct = parameter-vendor TABLES e_pdlist = tab_cf_rt_list e_messages = tab_messages.

BBP_PD_PO_GETLIST CALL FUNCTION 'BBP_PD_PO_GETLIST' EXPORTING i_object_id = tab_cf_rt_list-po_id i_ers_flag = 'X' TABLES e_pdlist = tab_po_list_single e_messages = tab_messages.

BBP_PD_CONF_GETLIST CALL FUNCTION 'BBP_PD_CONF_GETLIST' EXPORTING i_partner = guid32 i_partner_fct = parameter-vendor * i_iv_possible = 'X' TABLES e_pdlist = tab_cf_list e_messages = tab_messages.

BBP_IV_PARAMETERS_GET CALL FUNCTION 'BBP_IV_PARAMETERS_GET' IMPORTING parameter = parameter TABLES return = return.

BBP_IV_ASSIGNMENT_LEAN CALL FUNCTION 'BBP_IV_ASSIGNMENT_LEAN' EXPORTING is_parameter = parameter iv_subtype = tab_po_list_single-assignment iv_inp_type = c_inp_type_ers IMPORTING es_iv_header = s_iv_header TABLES it_po_selection = tab_selection_single et_iv_item = tab_iv_item et_account = tab_iv_account_temp et_partner = tab_iv_partner_temp et_messages = tab_messages et_longtext = tab_longtext.

BBP_CFIV_WFL_CREATOR_TYPE_GET CALL FUNCTION 'BBP_CFIV_WFL_CREATOR_TYPE_GET' EXPORTING iv_object_type = c_invoice iv_inp_type = c_inp_type_ers IMPORTING ev_wfl_creator_type = s_pds_header-wfl_creator_type EXCEPTIONS OTHERS = 0.

BBP_PROCDOC_LOCK CALL FUNCTION 'BBP_PROCDOC_LOCK' EXPORTING i_header_guid = tab_po_list_single-guid i_object_type = tab_po_list_single-object_type TABLES e_messages = tab_messages.

BBP_PD_INV_CREATE CALL FUNCTION 'BBP_PD_INV_CREATE' EXPORTING i_header = s_pds_header IMPORTING e_header = e_iv_header TABLES i_item = tab_pds_item_create i_account = tab_iv_account_temp i_partner = tab_iv_partner_temp i_longtext = tab_longtext_temp i_tax = tab_iv_tax e_account = tab_e_iv_account e_partner = tab_e_iv_partner e_tax = tab_e_iv_tax e_messages = tab_messages.

BBP_CFIV_MSG_SCENARIO_GET CALL FUNCTION 'BBP_CFIV_MSG_SCENARIO_GET' EXPORTING iv_object_type = c_invoice iv_object_id = e_iv_header-object_id IMPORTING ev_msg_scenario = lv_msg_scenario.

BBP_PD_INV_UPDATE CALL FUNCTION 'BBP_PD_INV_UPDATE' EXPORTING i_save = c_on i_header = ls_header iv_msg_scenario = lv_msg_scenario TABLES e_messages = tab_messages.

BBP_PD_INV_RESET_BUFFER CALL FUNCTION 'BBP_PD_INV_RESET_BUFFER'.

BBP_PROCDOC_UNLOCK CALL FUNCTION 'BBP_PROCDOC_UNLOCK' EXPORTING i_header_guid = tab_po_list_single-guid i_object_type = tab_po_list_single-object_type.

BBP_PD_INV_SAVE CALL FUNCTION 'BBP_PD_INV_SAVE' EXPORTING iv_header_guid = e_iv_header-guid.

BBP_PD_INV_RESET_BUFFER





CALL FUNCTION 'BBP_PD_INV_RESET_BUFFER'.

BBP_PARTNER_TYPE_SELECT CALL FUNCTION 'BBP_PARTNER_TYPE_SELECT' EXPORTING partner_ftyp = c_vendor TABLES i_partner = tab_e_iv_partner e_partner = lt_vendor.

BBP_OUTPUT_ERS_CREATE CALL FUNCTION 'BBP_OUTPUT_ERS_CREATE' EXPORTING is_vendor = ls_vendor iv_printer = printer it_inv = lt_docs iv_medium = medium iv_none_sus_supplier = inv_ok iv_sngl_out_per_inv = sng_out EXCEPTIONS noinvoices = 1 OTHERS = 2.

BBP_PD_LOG_INITIALIZE CALL FUNCTION 'BBP_PD_LOG_INITIALIZE'.

BBP_TAX_CALCULATE_TAXES CALL FUNCTION 'BBP_TAX_CALCULATE_TAXES' EXPORTING iv_tab_per_guid = ' ' TABLES ct_item = lt_item it_partner = it_partner it_tax = it_tax et_tax = lt_tax CHANGING cs_header = ls_header.

BBP_PD_LOG_GET_MESSAGES CALL FUNCTION 'BBP_PD_LOG_GET_MESSAGES' TABLES e_messages = et_messages.

BBP_PD_LOG_DELETE CALL FUNCTION 'BBP_PD_LOG_DELETE'.

DD_GET_NAMETAB CALL FUNCTION 'DD_GET_NAMETAB' EXPORTING TABNAME = 'BBP_IV_SPLIT_CRITERIA_LEAN' TABLES X031L_TAB = lt_X031L_TAB EXCEPTIONS NOT_FOUND = 1 NO_FIELDS = 2 OTHERS = 3 .

BBP_IV_MULTI_PO_SPLIT CALL FUNCTION 'BBP_IV_MULTI_PO_SPLIT' IMPORTING es_split_criteria = ev_split_crit TABLES it_po = lt_po EXCEPTIONS no_single_invoice = 1 backend_communication_error = 2 OTHERS = 3.

BBP_PD_PO_GETDETAIL CALL FUNCTION 'BBP_PD_PO_GETDETAIL' EXPORTING I_GUID = tab_po_list-guid IMPORTING E_HEADER = ls_POheader.



Contribute (Add Comments)

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 BBPERS_F0C or its description.