RCPREF01 is a standard ABAP INCLUDE 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 RCPREF01 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.
Title: General Include for Deletion of Task Lists with Archiving
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_TO_DISPLAY_TEXT * call function 'POPUP_TO_DISPLAY_TEXT' * exporting * textline1 = text-013 * textline2 = text-014 * titel = text-012.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-006 textline2 = text-007 titel = text-011 start_column = 25 start_row = 6 IMPORTING answer = answer EXCEPTIONS OTHERS = 01.
ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING call_delete_job_in_test_mode = delete_job_in_test_mode create_archive_file = create_archive_file object = con_arch_object comments = comments IMPORTING archive_handle = handle.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = handle.
ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = handle object_id = object_id.
CP_PLAN_ARCHIVE_OBJECT CALL FUNCTION 'CP_PLAN_ARCHIVE_OBJECT' EXPORTING archive_handle = handle plnty_imp = plan-plnty plnnr_imp = plan-plnnr plnal_imp = plan-plnal verwe_imp = plan-verwe werks_imp = plan-werks object_delete_flag = plan-ob_de_flg sttag_imp = plan-sttag flg_no_checks = plan-no_chk_flg reset_imp = plan-reset_flg flg_protocol = flg_protocol EXCEPTIONS wrong_access_to_archive = 1 plan_not_exist_on_db = 2 plan_in_use = 3 no_authority = 4 plnty_not_alloted_for_reorg = 5 sttag_gt_sy_datum = 6 foreign_lock = 7.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = handle.
CP_RE_EXPORT_PROTOCOL CALL FUNCTION 'CP_RE_EXPORT_PROTOCOL' EXPORTING handle = handle TABLES protocol = protocol.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = handle.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = 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.
RCPREF01 - General Include for Deletion of Task Lists with Archiving RCPREDEL - Conversion Program for Deletion Flag: Table PLKO to Table PLKZ RCPREDEL - Conversion Program for Deletion Flag: Table PLKO to Table PLKZ RCPREDE2 - Deletion of Task Lists without Archiving RCPREDE2 - Deletion of Task Lists without Archiving RCPREDE1 - Delete Task Lists Previously Archived