REEDM_DELETE_PROFVALS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Delete Archived Profile Values This report is the second step in the archiving process for profile values...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 REEDM_DELETE_PROFVALS 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: P_DELPRD = D .
Selection Text: P_DELTST = D .
Selection Text: P_PROT = D .
Selection Text: P_PROT_O = D .
Title: Delete Archived EDM Profile Values
Text Symbol: T02 = &1 % (&2 of &3) of EDM Prof. Vals. Deleted
INCLUDE ARCH_DELETE_PRG_STANDARD2.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING object = co_isu_profvals_archive_obj IMPORTING commit_count_for_delete_prg = gv_archive_data-commit_count.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgtype = '2' i_msgid = 'EARC' i_msgno = '206'.
ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = gv_archive_data-detail.
ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING object = co_isu_profvals_archive_obj test_mode = gv_archive_data-deltst IMPORTING archive_handle = gv_archive_data-handle EXCEPTIONS OTHERS = 01.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgtype = '2' i_msgid = 'EARC' i_msgno = '201'.
ISU_GET_ARCHIVE_INFORMATION CALL FUNCTION 'ISU_GET_ARCHIVE_INFORMATION' EXPORTING im_handle = gv_archive_data-handle IMPORTING ex_num_objects = li_total_docs EXCEPTIONS OTHERS = 1.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgtype = '2' i_msgid = 'EARC' i_msgno = '204'.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = gv_archive_data-handle EXCEPTIONS end_of_file = 1 OTHERS = 2.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgtype = '2' i_msgid = 'EARC' i_msgno = '204'.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = text-t02 i_processed = li_doc_count i_total = li_total_docs i_output_immediately = space.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = text-t02 i_processed = li_doc_count i_total = li_total_docs i_output_immediately = co_true.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = gv_archive_data-handle.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = gv_archive_data-handle EXCEPTIONS OTHERS = 1.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgtype = '2' i_msgid = 'EARC' i_msgno = '202'.
ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgtype = '2' i_msgid = 'EARC' i_msgno = '204'.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object =
-profile i_msgtype = '2' i_msgid = 'EARC' i_msgno = '228'.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object =
-profile i_msgtype = '2' i_msgid = sy-msgid i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_msgv3 = sy-msgv3 i_msgv4 = sy-msgv4.
CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object =-profile i_msgtype = '1' i_msgid = 'EARC' i_msgno = '236' i_msgv1 = -datefrom i_msgv2 = -dateto.
ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = gv_archive_data-handle TABLES table = it_stat.
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 REEDM_DELETE_PROFVALS or its description.
REEDM_DELETE_PROFVALS - Delete Archived EDM Profile Values REEDM_DELETE_PROFVALS - Delete Archived EDM Profile Values REEDM_AUTO_FORMULA_EXAMPLE - REEDMAUTOFORMULAEXAMPLE REEDM_AUTO_FORMULA_EXAMPLE - REEDMAUTOFORMULAEXAMPLE REEDM_ARCH_PROFVALS01 - Global Data/Constants for Report REEDM_ARCH_PROFVALS REEDM_ARCH_PROFVALS - Analyze and Archive EDM Profile Values