SAP Reports / Programs | Financial Accounting | Contract Accounts Receivable and Payable | Customer Contact(FI-CA-BT-CC) SAP FI

REARCH_BCONT_WRITE SAP ABAP Report - Program for Archiving Business Partner Contacts







REARCH_BCONT_WRITE 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 REARCH_BCONT_WRITE 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 REARCH_BCONT_WRITE. "Basic submit
SUBMIT REARCH_BCONT_WRITE AND RETURN. "Return to original report after report execution complete
SUBMIT REARCH_BCONT_WRITE 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: SO_PART = D Business Partner
Selection Text: SO_CONT = Contact Number
Selection Text: SO_CLASS = D Contact Class
Selection Text: PA_TEST = Test Run
Selection Text: PA_DAYS = Older Than (Days)
Selection Text: PA_COM = Archiving Run Memo
Selection Text: PA_A_D = Archive and Delete
Selection Text: PA_ARCH = Archive
Title: Program for Archiving Business Partner Contacts
Text Symbol: 102 = Processing Options
Text Symbol: 101 = Restrictions
Text Symbol: 100 = Business Partner Contact


INCLUDES used within this REPORT REARCH_BCONT_WRITE

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:

ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING create_archive_file = gv_create do_not_delete_data = gv_no_delete call_delete_job_in_test_mode = space comments = pa_com object = co_arch_object IMPORTING archive_handle = gv_handle.

ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = gv_handle.

ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = gv_handle record_structure = 'BCONT' record = gs_bcont.

ISU_SREL_ARCHIVE_RELATIONS CALL FUNCTION 'ISU_SREL_ARCHIVE_RELATIONS' EXPORTING archive_handle = gv_handle object = ls_borident roletype = co_roletype max_hops = 1 EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 no_logsys = 4 OTHERS = 5.

TEXT_ARCHIVE_OBJECT CALL FUNCTION 'TEXT_ARCHIVE_OBJECT' EXPORTING *** correction JK, Mar 5, 2004 archive_handle = gv_handle *** correction JK, Mar 5, 2004 client = sy-mandt id = co_tdid language = sy-langu name = gv_tdname object = co_tobject object_delete_flag = 'X' EXCEPTIONS wrong_access_to_archive = 1 OTHERS = 2.

CHANGEDOCU_ARCHIVE_OBJECT CALL FUNCTION 'CHANGEDOCU_ARCHIVE_OBJECT' EXPORTING ARCHIVE_HANDLE = gv_handle CLIENT = SY-MANDT OBJECTCLASS = 'BCONT' OBJECTID = cd_objectid OBJECT_DELETE_FLAG = 'X' EXCEPTIONS WRONG_ACCESS_TO_ARCHIVE = 1 OTHERS = 2.

ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = gv_handle record_structure = 'BPCT_CRM_GUIDS' record = ls_bpct_crm_guids.

ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = gv_handle.

ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = gv_handle.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = gv_handle.



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