SAP Reports / Programs

BBP_XP_SUPPLIER_DOWNLOAD SAP ABAP Report - Replication of Suppliers to Supplier Portal







BBP_XP_SUPPLIER_DOWNLOAD 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_XP_SUPPLIER_DOWNLOAD into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

BBP_SP_SUPP_INI - Download Vendors for Service Portal


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 BBP_XP_SUPPLIER_DOWNLOAD. "Basic submit
SUBMIT BBP_XP_SUPPLIER_DOWNLOAD AND RETURN. "Return to original report after report execution complete
SUBMIT BBP_XP_SUPPLIER_DOWNLOAD VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: SUPPLIER = Supplier
Title: Replication of Suppliers to Supplier Portal
Text Symbol: 010 = Selections for Initial Download of Suppliers/Service Providers
Text Symbol: 011 = Additional Settings
Text Symbol: 020 = Download in Background
Text Symbol: 021 = Download in Real Time (Incl. Log)
Text Symbol: 070 = Type
Text Symbol: 071 = Message
Text Symbol: 072 = ID
Text Symbol: 073 = Number
Text Symbol: 090 = Error
Text Symbol: 091 = Warning
Text Symbol: 092 = Info.


INCLUDES used within this REPORT BBP_XP_SUPPLIER_DOWNLOAD

INCLUDE BBP_PD_CON.
INCLUDE BBP_XP_DOWNLOAD_TOP.
INCLUDE BBP_XP_DOWNLOAD_F01.


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:

BUP_BUT100_SELECT_WITH_RLTYP CALL FUNCTION 'BUP_BUT100_SELECT_WITH_RLTYP' EXPORTING i_partner = lt_supplier-partner i_rltyp = lc_role_supplier TABLES t_but100 = lt_roles EXCEPTIONS not_found = 1 OTHERS = 2.

BUP_BUT100_SELECT_WITH_RLTYP CALL FUNCTION 'BUP_BUT100_SELECT_WITH_RLTYP' EXPORTING i_partner = lt_supplier-partner i_rltyp = lc_role_bidder TABLES t_but100 = lt_roles EXCEPTIONS not_found = 1 OTHERS = 2.

BUPA_NUMBERS_GET CALL FUNCTION 'BUPA_NUMBERS_GET' EXPORTING iv_partner = lt_supplier-partner IMPORTING ev_partner_guid = lv_partner_guid EXCEPTIONS OTHERS = 0.

BBP_BUPA_FRG0010_READ CALL FUNCTION 'BBP_BUPA_FRG0010_READ' EXPORTING iv_partner_guid = lt_supplier-partner_guid IMPORTING es_data = ls_bp_settings EXCEPTIONS no_valid_record_found = 1 OTHERS = 2.

BUPA_ADDRESS_READ_DETAIL CALL FUNCTION 'BUPA_ADDRESS_READ_DETAIL' EXPORTING iv_partner_guid = lt_supplier-partner_guid iv_xadsmtp = abap_true TABLES et_adsmtp = lt_adsmtp EXCEPTIONS no_partner_specified = 1 no_valid_record_found = 2 OTHERS = 3.

BBP_BUPA_FRG0060_READ_ALL CALL FUNCTION 'BBP_BUPA_FRG0060_READ_ALL' EXPORTING iv_partner_guid = lt_supplier-partner_guid TABLES et_frg0060 = lt_frg0060 et_frg0061 = lt_frg0061.

BBP_BUPA_FRG0010_READ CALL FUNCTION 'BBP_BUPA_FRG0010_READ' EXPORTING iv_partner_guid = lt_supplier-partner_guid IMPORTING es_data = ls_bp_settings EXCEPTIONS no_valid_record_found = 1 OTHERS = 2.

BUPA_NUMBERS_GET CALL FUNCTION 'BUPA_NUMBERS_GET' EXPORTING iv_partner = lv_partner iv_partner_guid = lv_partner_guid IMPORTING es_but000 = ls_but000.

BUPA_BUT000_MAP_TO_EXTERNAL CALL FUNCTION 'BUPA_BUT000_MAP_TO_EXTERNAL' EXPORTING is_but000 = ls_but000 IMPORTING es_data = ls_central_data es_data_organ = ls_organ_data EXCEPTIONS unknown_language = 1 unknown_country = 2 OTHERS = 3.

BBP_PARTNER_SEND CALL FUNCTION 'BBP_PARTNER_SEND' EXPORTING iv_partner = lt_supplier-partner iv_method = 'C' IV_COMMIT = 'X' TABLES et_messages = lt_return et_control_record = lt_control_record.

CONTROL_RECORD_GET_COMM_ERROR CALL FUNCTION 'CONTROL_RECORD_GET_COMM_ERROR' IMPORTING commerror = lv_commerror TABLES control_record = lt_control_record.

BUPA_ADDRESS_READ_DETAIL * CALL FUNCTION 'BUPA_ADDRESS_READ_DETAIL' * EXPORTING * iv_partner = lv_partner * iv_partner_guid = lv_partner_guid * IV_XADTEL = 'X' * IV_XADFAX = 'X' * IV_XADSMTP = 'X' * IMPORTING * es_address = ls_address * TABLES * et_adtel = lt_telephone * et_adfax = lt_fax * et_adsmtp = lt_email * EXCEPTIONS * OTHERS = 0.

LANGUAGE_CODE_SAP_TO_ISO * CALL FUNCTION 'LANGUAGE_CODE_SAP_TO_ISO' * EXPORTING * sap_code = sy-langu * IMPORTING * iso_code = lv_language * EXCEPTIONS * not_found = 1 * OTHERS = 2.

BUPA_TAX_READ * CALL FUNCTION 'BUPA_TAX_READ' * EXPORTING * IV_PARTNER = lv_partner * IMPORTING * ET_DATA = LT_TAXNUM * EXCEPTIONS * OTHERS = 0.

BBP_USE_AI * CALL FUNCTION 'BBP_USE_AI' * IMPORTING * ev_use_ai = lv_use_ai.

BBP_SP_TRADING_PARTNER_OUT * CALL FUNCTION 'BBP_SP_TRADING_PARTNER_OUT' * EXPORTING * iv_method = 'C' * iv_queue_id = lv_queue_id * is_header = ls_header * is_central = ls_central * is_centralorg = ls_centralorg * is_address = ls_address * iv_msglangu = lv_language * iv_backgrd = 'X' * TABLES * it_addtel = lt_telephone * it_addfax = lt_fax * it_addsmtp = lt_email * it_tax_id = lt_tax_id.

BBP_LOGICAL_SYSTEM_BY_TYPE * CALL FUNCTION 'BBP_LOGICAL_SYSTEM_BY_TYPE' * EXPORTING * iv_systype = 'SUS_1.0'

META_BUSINESS_PARTNER_CREATE * CALL FUNCTION 'META_BUSINESS_PARTNER_CREATE' * EXPORTING * is_header = ls_header * is_central = ls_central * is_centralorg = ls_centralorg * is_address = ls_address * iv_destination = lv_destination * iv_msglangu = lv_language * iv_backgrd = backgrd * TABLES * it_addtel = lt_telephone * it_addfax = lt_fax * it_addsmtp = lt_email * it_tax_id = lt_tax_id * et_return = lt_return * et_control_record = lt_control_record.

CONTROL_RECORD_GET_COMM_ERROR





* CALL FUNCTION 'CONTROL_RECORD_GET_COMM_ERROR' * IMPORTING * commerror = lv_commerror * TABLES * control_record = lt_control_record.



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