RCPREF03 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 RCPREF03 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 with and without Archiving
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
APPL_LOG_WRITE_MESSAGES CALL FUNCTION 'APPL_LOG_WRITE_MESSAGES' EXPORTING object = prot_object subobject = prot_subobject update_or_insert = 'I' TABLES messages = protocol EXCEPTIONS object_not_found = 1 subobject_not_found = 2 OTHERS = 3.
APPL_LOG_READ_INTERN CALL FUNCTION 'APPL_LOG_READ_INTERN' EXPORTING object = prot_object subobject = prot_subobject log_class = '4' language = sy-langu TABLES header_data = header_data header_parameters = header_parameters messages = messages message_parameters = message_parameters message_prepared = message_prepared EXCEPTIONS object_not_found = 1 subobject_not_found = 2 function_not_completed = 3 message_not_found = 4 parameter_missing = 5 OTHERS = 6.
APPL_LOG_WRITE_DB CALL FUNCTION 'APPL_LOG_WRITE_DB' EXPORTING object = ' ' subobject = ' ' TABLES object_with_lognumber = appl_log_interface EXCEPTIONS object_not_found = 1 subobject_not_found = 2 internal_error = 3 OTHERS = 4.
APPL_LOG_INIT CALL FUNCTION 'APPL_LOG_INIT' EXPORTING object = prot_object subobject = prot_subobject EXCEPTIONS object_not_found = 1 subobject_not_found = 2.
APPL_LOG_WRITE_HEADER CALL FUNCTION 'APPL_LOG_WRITE_HEADER' EXPORTING header = header EXCEPTIONS object_not_found = 1 subobject_not_found = 2 OTHERS = 3.
APPL_LOG_WRITE_MESSAGES CALL FUNCTION 'APPL_LOG_WRITE_MESSAGES' EXPORTING object = prot_object subobject = prot_subobject update_or_insert = 'I' TABLES messages = protocol EXCEPTIONS object_not_found = 1 subobject_not_found = 2 OTHERS = 3.
APPL_LOG_READ_INTERN CALL FUNCTION 'APPL_LOG_READ_INTERN' EXPORTING object = prot_object subobject = prot_subobject log_class = '4' language = sy-langu TABLES header_data = header_data header_parameters = header_parameters messages = messages message_parameters = message_parameters message_prepared = message_prepared EXCEPTIONS object_not_found = 1 subobject_not_found = 2 function_not_completed = 3 message_not_found = 4 parameter_missing = 5 OTHERS = 6.
APPL_LOG_WRITE_DB CALL FUNCTION 'APPL_LOG_WRITE_DB' EXPORTING object = ' ' subobject = ' ' TABLES object_with_lognumber = appl_log_interface EXCEPTIONS object_not_found = 1 subobject_not_found = 2 internal_error = 3 OTHERS = 4.
RS_LIST_SELECTION_TABLE CALL FUNCTION 'RS_LIST_SELECTION_TABLE' EXPORTING report = prog_name seltext = 'X' TABLES sel_tab = sel_tab EXCEPTIONS sel_tab_empty = 1 OTHERS = 2.
ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = 'X'.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = lv_object i_msgtype = lc_error i_text = message_prepared-msgtxt.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = lv_object i_msgtype = lc_error i_text = message_prepared-msgtxt.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = lv_object i_msgtype = lc_error i_text = message_prepared-msgtxt.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = lv_object i_msgtype = lc_success i_text = text-035.
ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RCPREF03 - General Include for Deletion with and without Archiving RCPREF02 - General Include for Deletion of Task Lists without Archiving 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