BUPA_BIP_FILE_IMPORT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Data Cleansing Using a Business Information Provider: Data Import This report allows you to use the data cleansing services of a business information provider (BIP) (for example Dun & Bradstreet, Buergel, Schober, Hoppenstedt, Creditreform) in an integrated data cleansing scenario for the SAP Business Partner...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter BUPA_BIP_FILE_IMPORT into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
BUPA_BIP_FILE_IMPORT - BIP: Cleansing - Import
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.
Selection Text: P_SIMU = Simulation Mode
Selection Text: P_PCFILE = Local File
Selection Text: P_IFILEA = Import File
Selection Text: P_IFILE = Import File
Selection Text: P_ENRICH = Data Enrichment
Selection Text: P_EFILEA = Error File
Selection Text: P_EFILE = Error File
Selection Text: P_DETAIL = Detailed Logging
Selection Text: P_CWSIZE = Size of Commit Work Package
Selection Text: P_CLEAN4 = In Master Data
Selection Text: P_CLEAN3 = By Compar. File w. Master Data
Selection Text: P_CLEAN2 = In Import File
Selection Text: P_CLEAN = Data Cleansing
Selection Text: P_APFILE = Server File
Title: Business Info. Provider: Data Cleansing and Enrichment Import
Text Symbol: TEC = Program Execution Parameters
Text Symbol: SIM = Test of Ext. Import File: Simulation, No Updates !
Text Symbol: SI1 = Simulation:
Text Symbol: SEA = Searching duplicates
Text Symbol: PRO = Saving products to the BP master data set
Text Symbol: OPE = Reading import file
Text Symbol: NEX = Unknown !
Text Symbol: LOG = Writing logs
Text Symbol: LOC = Local
Text Symbol: IDS = Saving identification numbers
Text Symbol: ERR = Writing error file
Text Symbol: CLE = Create Cleansing Cases for Duplicate BPs Found:
Text Symbol: BAL = File Import Log:
Text Symbol: APP = Server
Text Symbol: 003 = Type of Import Data
Text Symbol: 002 = File Attributes
Text Symbol: 001 = Data Cleansing or Enrichment from Import File
INCLUDE BUPA_BIP_CLEANSING_COMM_DATA.
INCLUDE BUPA_BIP_CLEANSING_COMM_FORMS.
No SAP DATABASE tables are accessed within this REPORT code!
SDIXML_XML_TO_DOM CALL FUNCTION 'SDIXML_XML_TO_DOM' EXPORTING xml = l_xml size = l_size IMPORTING document = l_document EXCEPTIONS OTHERS = 99.
BUPA_BIP_SDIXML_DOM_TO_DATA CALL FUNCTION 'BUPA_BIP_SDIXML_DOM_TO_DATA' EXPORTING data_as_dom = l_dom control = l_dom_to_data_control IMPORTING dataobject = p_wa_xmlstru problems = l_problems EXCEPTIONS illegal_object = 1 OTHERS = 99.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 20 text = text-ope.
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = ls_file filetype = 'BIN' IMPORTING filelength = p_flen TABLES data_tab = p_itab EXCEPTIONS OTHERS = 17.
AUTHORITY_CHECK_DATASET CALL FUNCTION 'AUTHORITY_CHECK_DATASET' EXPORTING activity = gc_act_read filename = lv_filename EXCEPTIONS no_authority = 1 activity_unknown = 2 OTHERS = 3.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 95 text = text-err.
AUTHORITY_CHECK_DATASET CALL FUNCTION 'AUTHORITY_CHECK_DATASET' EXPORTING activity = gc_act_write filename = lv_filename EXCEPTIONS no_authority = 1 activity_unknown = 2 OTHERS = 3.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 75 text = text-log.
BUP_PARTNER_DESCRIPTION_GET CALL FUNCTION 'BUP_PARTNER_DESCRIPTION_GET' EXPORTING i_partner = lv_bpartner IMPORTING e_description = lv_descrip EXCEPTIONS OTHERS = 4.
BUP_PARTNER_DESCRIPTION_GET CALL FUNCTION 'BUP_PARTNER_DESCRIPTION_GET' EXPORTING i_partner = lv_bpartner IMPORTING e_description = lv_descrip EXCEPTIONS OTHERS = 4.
BUP_PARTNER_DESCRIPTION_GET CALL FUNCTION 'BUP_PARTNER_DESCRIPTION_GET' EXPORTING i_partner =
-bpartner IMPORTING e_description = lv_descrip EXCEPTIONS OTHERS = 4.
BUP_PARTNER_DESCRIPTION_GET CALL FUNCTION 'BUP_PARTNER_DESCRIPTION_GET' EXPORTING i_partner =
-bpartner IMPORTING e_description = lv_descrip EXCEPTIONS OTHERS = 4.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 20 text = text-sea.
BUPA_BIP_BUT0ID_SELECT_ALL CALL FUNCTION 'BUPA_BIP_BUT0ID_SELECT_ALL' EXPORTING i_type = gv_idtype TABLES et_but0id = lt_but0id " output table it_but0id = lt_but0id_temp " input for for all entrie select EXCEPTIONS no_entries = 1 OTHERS = 2.
BUPA_BIP_BUT0ID_SELECT_ALL CALL FUNCTION 'BUPA_BIP_BUT0ID_SELECT_ALL' TABLES et_but0id = lt_but0id.
BUPA_BIP_BUT0ID_SELECT_ALL CALL FUNCTION 'BUPA_BIP_BUT0ID_SELECT_ALL' EXPORTING i_type = gv_idtype TABLES et_but0id = lt_but0id.
BAPI_BUPA_EXISTENCE_CHECK CALL FUNCTION 'BAPI_BUPA_EXISTENCE_CHECK' EXPORTING businesspartner =
-bpartner TABLES return = lt_return.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 40 text = text-cle.
CALL FUNCTION 'BAPI_CLEAR_CASE_CREATE_MULTI' EXPORTING acceptduplicates = lv_acceptduplicates TABLES clearingcasedata = lt_clearingcasedata targetlist = lt_targetlist clearingcasenumbers = lt_clearingcasenumbers return = lt_return.
BAPI_CLEAR_CASE_CREATE_MULTI CALL FUNCTION 'BAPI_CLEAR_CASE_CREATE_MULTI' EXPORTING acceptduplicates = lv_acceptduplicates TABLES clearingcasedata = lt_clearingcasedata targetlist = lt_targetlist clearingcasenumbers = lt_clearingcasenumbers return = lt_return.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 50 text = text-ids.
BUPA_BIP_NOHIT_MODIFY CALL FUNCTION 'BUPA_BIP_NOHIT_MODIFY' IN UPDATE TASK TABLES t_but0id_bip_nohit = lt_but0id_bip_nohit.
BUPA_BIP_NOHIT_SELECT_SINGLE CALL FUNCTION 'BUPA_BIP_NOHIT_SELECT_SINGLE' EXPORTING i_partner = ls_but0id_bip_nohit-partner i_id_type = ls_but0id_bip_nohit-type EXCEPTIONS notfound = 1 OTHERS = 2.
BUPA_BIP_NOHIT_DELETE CALL FUNCTION 'BUPA_BIP_NOHIT_DELETE' IN UPDATE TASK TABLES t_but0id_bip_nohit = lt_but0id_bip_nohit.
BAPI_IDENTIFICATION_ADD CALL FUNCTION 'BAPI_IDENTIFICATION_ADD' EXPORTING businesspartner = lv_partner identificationcategory = lv_identificationcategory identificationnumber = lv_identificationnumber identification = ls_identification TABLES return = lt_return_add.
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = gs_log EXCEPTIONS OTHERS = 1.
BAL_LOG_MSG_ADD * CALL FUNCTION 'BAL_LOG_MSG_ADD' * EXPORTING * i_s_msg = l_s_msg * EXCEPTIONS * log_not_found = 0 * OTHERS = 1.
BAL_DSP_PROFILE_DETLEVEL_GET CALL FUNCTION 'BAL_DSP_PROFILE_DETLEVEL_GET' IMPORTING e_s_display_profile = ls_display_profile EXCEPTIONS OTHERS = 1.
BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = ls_display_profile EXCEPTIONS OTHERS = 1.
BAPI_TRANSACTION_COMMIT CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
BAPI_TRANSACTION_ROLLBACK CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK' .
SDIXML_DATA_TO_DOM CALL FUNCTION 'SDIXML_DATA_TO_DOM' EXPORTING name = l_name dataobject = p_itab control = l_control IMPORTING data_as_dom = l_xml_element CHANGING document = l_xml_document EXCEPTIONS illegal_name = 1 OTHERS = 2.
SDIXML_DOM_TO_XML CALL FUNCTION 'SDIXML_DOM_TO_XML' EXPORTING document = l_xml_document pretty_print = l_pretty_print IMPORTING xml_as_string = l_xml_string size = p_xml_size TABLES xml_as_table = p_xml_doc EXCEPTIONS no_document = 1 OTHERS = 2.
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING bin_filesize = p_size filename = lv_filename filetype = gc_file_type_bin TABLES data_tab = p_stream EXCEPTIONS OTHERS = 22.
BUP_PARTNER_DESCRIPTION_GET CALL FUNCTION 'BUP_PARTNER_DESCRIPTION_GET' EXPORTING i_partner = gw_xmlstru_cleansing-header-bip_provider-bpartner IMPORTING e_description = lv_descrip.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 50 text = text-pro.
RPY_EXISTENCE_CHECK_FUNC * CALL FUNCTION 'RPY_EXISTENCE_CHECK_FUNC' * EXPORTING * name = gv_doc_create_fm * EXCEPTIONS * not_exist = 1 * OTHERS = 2.
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 BUPA_BIP_FILE_IMPORT or its description.
BUPA_BIP_FILE_IMPORT - Business Info. Provider: Data Cleansing and Enrichment Import BUPA_BIP_FILE_IMPORT - Business Info. Provider: Data Cleansing and Enrichment Import BUPA_BIP_FILE_EXPORT - Business Info. Provider: Data Cleansing and Enrichment Export BUPA_BIP_FILE_EXPORT - Business Info. Provider: Data Cleansing and Enrichment Export BUPA_BIP_DIALOGTOP - BUPABIPDIALOGTOP BUPA_BIP_DIALOGO01 - BUPABIPDIALOGO01