SAP Reports / Programs

/SAPSRM/REPLICATE_BIDDERS SAP ABAP Report - Program to replicate bidders and contact persons to external system







/SAPSRM/REPLICATE_BIDDERS 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 /SAPSRM/REPLICATE_BIDDERS 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

/SAPSRM/REPL_BIDDER - Replicate Bidders


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 /SAPSRM/REPLICATE_BIDDERS. "Basic submit
SUBMIT /SAPSRM/REPLICATE_BIDDERS AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPSRM/REPLICATE_BIDDERS 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: P_PRTNER = Bidder Number
Title: Program to replicate bidders and contact persons to external system
Text Symbol: 002 = System Specified is not the Decoupled System
Text Symbol: 003 = Vendor Root is not Maintained
Text Symbol: 004 = Need to Analyse Further
Text Symbol: 005 = Bidder
Text Symbol: 006 = Created Successfully
Text Symbol: 007 = Contact Person


INCLUDES used within this REPORT /SAPSRM/REPLICATE_BIDDERS

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:

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = lv_logsys EXCEPTIONS own_logical_system_not_defined = 1 OTHERS = 2.

ADDR_MEMORY_CLEAR CALL FUNCTION 'ADDR_MEMORY_CLEAR'.

BUPA_NUMBERS_GET CALL FUNCTION 'BUPA_NUMBERS_GET' EXPORTING iv_partner = IMPORTING ev_partner_guid = lv_bidder_guid es_but000 = ls_but000 TABLES et_return = lt_return.

BBP_PARTNER_SEND * CALL FUNCTION 'BBP_PARTNER_SEND' * EXPORTING * iv_partner = ** IV_METHOD = 'U' ** IV_COMPANY = ** IS_DESTINATION = * iv_commit = 'X' * TABLES * et_messages = lt_message ** ET_CONTROL_RECORD = lt_control_record * .

BUPA_RELATIONSHIPS_READ CALL FUNCTION 'BUPA_RELATIONSHIPS_READ' EXPORTING iv_partner_guid = lv_bidder_guid iv_reltyp = 'BUR001' " Contact person relationships TABLES et_relationships = lt_relations EXCEPTIONS OTHERS = 0.

BUPA_NUMBERS_GET CALL FUNCTION 'BUPA_NUMBERS_GET' EXPORTING iv_partner = -cp_number IMPORTING ev_partner_guid = lv_cp_guid es_but000 = ls_cp_but000 TABLES et_return = lt_return.

BUPA_BUT000_MAP_TO_EXTERNAL CALL FUNCTION 'BUPA_BUT000_MAP_TO_EXTERNAL' EXPORTING is_but000 = ls_cp_but000 IMPORTING es_data = -gen_data es_data_person = -central_person EXCEPTIONS unknown_language = 1 unknown_country = 2 OTHERS = 3.

BUPA_ADDRESS_READ_DETAIL CALL FUNCTION 'BUPA_ADDRESS_READ_DETAIL' EXPORTING iv_partner = -cp_number iv_partner_guid = lv_cp_guid iv_xadtel = 'X' iv_xadfax = 'X' iv_xadsmtp = 'X' IMPORTING es_address = -pers_addr TABLES et_adtel = -adtel et_adfax = -adfax et_adsmtp = -adsmtp EXCEPTIONS no_partner_specified = 1 no_valid_record_found = 2 OTHERS = 3.

BAPI_USER_GET_DETAIL CALL FUNCTION 'BAPI_USER_GET_DETAIL' EXPORTING username = -uname IMPORTING logondata = -logon_data defaults = -user_defaults address = ls_su01_addr TABLES activitygroups = -activity return = lt_return.

BUPA_ROLES_GET_2 CALL FUNCTION 'BUPA_ROLES_GET_2' EXPORTING iv_partner = -cp_number TABLES et_partnerroles = -roles et_return = lt_return.

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = lv_logsys EXCEPTIONS own_logical_system_not_defined = 1 OTHERS = 2.

/SAPSRM/REPLICATE_BIDDERS_CP CALL FUNCTION '/SAPSRM/REPLICATE_BIDDERS_CP' DESTINATION ls_destination-dest EXPORTING it_bidder_data = lt_bidder_data iv_source_logsys = lv_logsys IMPORTING et_messages = lt_messages et_bidders = lt_bidders et_contact_persons = lt_contact_persons et_users = lt_users TABLES et_return = lt_return_final et_cp_mapping = lt_cp_mapping EXCEPTIONS system_failure = 1 MESSAGE msg communication_failure = 2 illegal_sys_type = 3 vendor_root_not_maintained = 4 OTHERS = 5.

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

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_log IMPORTING e_log_handle = ls_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = ls_log_handle i_s_msg = l_s_msg EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING i_client = sy-mandt i_t_log_handle = lt_log_handles EXCEPTIONS OTHERS = 0.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_t_log_handle = lt_log_handles.



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 /SAPSRM/REPLICATE_BIDDERS or its description.