BUPA_BIP_FILE_EXPORT 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_EXPORT 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_EXPORT - BIP: Cleansing Export
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: BOX_F2A =
Selection Text: BOX_PDKT = Cleansing with Product Request
Selection Text: P_APP = Server File
Selection Text: P_COMNT1 = Comment
Selection Text: P_COMNT2 = Comment
Selection Text: P_COMNT3 = Comment
Selection Text: P_COMNT4 = Comment
Selection Text: P_CONTRA = D .
Selection Text: P_CUSTOM = Ref. BP for Customer
Selection Text: P_DETAIL = Detailed Logging
Selection Text: P_EX_NHT = Exclude Records
Selection Text: P_FILE1 = Data Cleansing File Name
Selection Text: P_FILE1A = Data Cleansing File Name
Selection Text: P_FILE2 = Data Enrichment File Name
Selection Text: P_FILE2A = Data Enrichment File Name
Selection Text: P_IDTYPE = D .
Selection Text: P_IN_NHT = Include Records
Selection Text: P_MAXNO = D .
Selection Text: P_ON_NHT = Only These Records
Selection Text: P_PC = Local File
Selection Text: P_PROVID = Ref. BP for Provider
Selection Text: P_XDELE = Incl. Records wth Archive flag
Selection Text: S_ERD = D .
Selection Text: S_NR = D .
Selection Text: S_TYPE = D .
Selection Text: BOX_F2 =
Selection Text: BOX_F1A =
Selection Text: BOX_F1 =
Title: Business Info. Provider: Data Cleansing and Enrichment Export
Text Symbol: 001 = Data Cleansing File Name
Text Symbol: 002 = Data Enrichment File Name
Text Symbol: 012 = Export Files of Business Partners
Text Symbol: 013 = File Attributes
Text Symbol: 014 = Business Partner Selection
Text Symbol: 015 = Program Execution Parameters
Text Symbol: 020 = Collecting central data
Text Symbol: 021 = Transferring data to file
Text Symbol: 022 = Collecting address data
INCLUDE BUPA_BIP_CLEANSING_COMM_DATA.
INCLUDE BUPA_BIP_CLEANSING_COMM_FORMS.
No SAP DATABASE tables are accessed within this REPORT code!
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 20 text = text-020.
BUPA_BIP_BUT000_SELECT_RTABS CALL FUNCTION 'BUPA_BIP_BUT000_SELECT_RTABS' EXPORTING i_maxno = p_maxno TABLES it_rangetab_crdat = s_erd it_rangetab_partner = s_nr it_rangetab_type = s_type it_rangetab_xdele = ra_xdele et_partner = lt_partner EXCEPTIONS no_entries = 1 OTHERS = 2.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 40 text = text-022.
BUP_BUT0ID_SELECT_WITH_PARTNER CALL FUNCTION 'BUP_BUT0ID_SELECT_WITH_PARTNER' EXPORTING iv_partner =
-partner TABLES et_but0id = lt_ids EXCEPTIONS not_found = 1 OTHERS = 2.
BUPA_BIP_NOHIT_SELECT_SINGLE CALL FUNCTION 'BUPA_BIP_NOHIT_SELECT_SINGLE' EXPORTING i_partner =
-partner i_id_type = p_idtype EXCEPTIONS notfound = 1 OTHERS = 2.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 75 text = text-024.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 90 text = text-023.
BUP_PARTNER_DESCRIPTION_GET CALL FUNCTION 'BUP_PARTNER_DESCRIPTION_GET' EXPORTING i_partner =
-bpartner IMPORTING e_description = lv_descrip.
BUP_PARTNER_TYPE_GET CALL FUNCTION 'BUP_PARTNER_TYPE_GET' EXPORTING i_partner =
-bpartner IMPORTING e_text = lv_bu_type_text.
BUP_PARTNER_DESCRIPTION_GET CALL FUNCTION 'BUP_PARTNER_DESCRIPTION_GET' EXPORTING i_partner =
-bpartner IMPORTING e_description = lv_descrip.
BUP_PARTNER_TYPE_GET CALL FUNCTION 'BUP_PARTNER_TYPE_GET' EXPORTING i_partner =
-bpartner IMPORTING e_text = lv_bu_type_text.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 75 text = text-024.
AUTHORITY_CHECK_DATASET CALL FUNCTION 'AUTHORITY_CHECK_DATASET' EXPORTING * PROGRAM = activity = 'WRITE' filename = '*' * filename = p_datei EXCEPTIONS no_authority = 1 activity_unknown = 2 OTHERS = 3 .
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING CLIENT = SY-MANDT LOGICAL_FILENAME = gc_fname * OPERATING_SYSTEM = SY-OPSYS * PARAMETER_1 = ' ' * PARAMETER_2 = ' ' * PARAMETER_3 = ' ' * WITH_FILE_EXTENSION = ' ' * USE_BUFFER = ' ' * ELIMINATE_BLANKS = 'X' * IMPORTING * VALIDATION_ACTIVE = * TS_ALIAS = CHANGING PHYSICAL_FILENAME = p_datei EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3 .
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 65 text = text-021.
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.
BAL_LOG_MSG_ADD * CALL FUNCTION 'BAL_LOG_MSG_ADD' * EXPORTING * i_s_msg = l_s_msg * EXCEPTIONS * log_not_found = 0 * OTHERS = 1.
BUP_TB039B_SELECT_SINGLE CALL FUNCTION 'BUP_TB039B_SELECT_SINGLE' EXPORTING i_type = p_idtype IMPORTING e_tb039b = gs_tb039b.
BUP_TB039A_SELECT_ALL CALL FUNCTION 'BUP_TB039A_SELECT_ALL' TABLES t_tb039a = gt_tb039a.
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = gs_log EXCEPTIONS 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.
SDIXML_SCHEMA_CREATE CALL FUNCTION 'SDIXML_SCHEMA_CREATE' EXPORTING control = schema_control IMPORTING schema = schema CHANGING document = schema_document EXCEPTIONS internal_error = 1 OTHERS = 2.
SDIXML_DDIC_TO_SCHEMA CALL FUNCTION 'SDIXML_DDIC_TO_SCHEMA' EXPORTING control = schema_struct IMPORTING elements = schema_elements CHANGING types = schema_types[] document = schema_document EXCEPTIONS internal_error = 1 OTHERS = 2.
SDIXML_DOM_TO_XML CALL FUNCTION 'SDIXML_DOM_TO_XML' EXPORTING document = schema_document pretty_print = gc_x IMPORTING size = p_schema_size TABLES xml_as_table = p_schema EXCEPTIONS OTHERS = 1.
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.
LANGUAGE_CODE_SAP_TO_ISO CALL FUNCTION 'LANGUAGE_CODE_SAP_TO_ISO' EXPORTING sap_code = p_partner-langu_corr IMPORTING iso_code = pw_expo-bp_person-correspondlanguageiso EXCEPTIONS OTHERS = 0.
COUNTRY_CODE_SAP_TO_ISO CALL FUNCTION 'COUNTRY_CODE_SAP_TO_ISO' EXPORTING sap_code = p_partner-namcountry IMPORTING iso_code = pw_expo-bp_person-namcountryiso EXCEPTIONS OTHERS = 0.
BAPI_BUPA_ADDRESS_GETDETAIL CALL FUNCTION 'BAPI_BUPA_ADDRESS_GETDETAIL' EXPORTING businesspartner = p_partner-partner * ADDRESSGUID ==> not filled, means take standard adresss IMPORTING addressdata = lw_address TABLES bapiadtel = lt_bapiadtel bapiadfax = lt_bapiadfax bapiadsmtp = lt_bapiadsmtp return = lv_return .
CALL FUNCTION 'BUP_BUT000_SELECT_SINGLE' EXPORTING i_partner = p_partner IMPORTING e_but000 = lw_but000 EXCEPTIONS OTHERS = 2.
RPY_EXISTENCE_CHECK_FUNC * CALL FUNCTION 'RPY_EXISTENCE_CHECK_FUNC' * EXPORTING * name = gv_doc_create_fm * EXCEPTIONS * not_exist = 1 * OTHERS = 2.
QF05_RANDOM_INTEGER CALL FUNCTION 'QF05_RANDOM_INTEGER' EXPORTING ran_int_max = lv_ran_max ran_int_min = 1 IMPORTING ran_int = lv_ran_int.
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_EXPORT or its description.
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 BUPA_BIP_DIALOGI01 - BUPABIPDIALOGI01 BUPA_BIP_DIALOGF01 - BUPABIPDIALOGF01