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
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: 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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
REARCH_BCONT_WRITE - Program for Archiving Business Partner Contacts REARCH_BCONT_WRITE - Program for Archiving Business Partner Contacts REARCH_BCONT_READ_SEQ - Program for Sequentially Reading Archived Business Partner Contacts REARCH_BCONT_READ_SEQ - Program for Sequentially Reading Archived Business Partner Contacts REARCH_BCONT_DELETE_ILM_TOP - Include REARCH_BCONT_DELETE_ILM_TOP REARCH_BCONT_DELETE_ILM_F01 - Include REARCH_BCONT_DELETE_ILM_F01