SAP Reports / Programs

RFREDS_CHANGEDOC_DELETE SAP ABAP Report - Deletion of Not-Used Changed Documents







RFREDS_CHANGEDOC_DELETE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program finds change documents that are no longer assigned to a real estate object and supports deletion of these change documents...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 RFREDS_CHANGEDOC_DELETE 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 RFREDS_CHANGEDOC_DELETE. "Basic submit
SUBMIT RFREDS_CHANGEDOC_DELETE AND RETURN. "Return to original report after report execution complete
SUBMIT RFREDS_CHANGEDOC_DELETE 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: S_CDOBJ = Change Document Obj. in RE-FX
Title: Deletion of Not-Used Changed Documents
Text Symbol: C01 = Explanation
Text Symbol: C02 = Deletion Date
Text Symbol: C03 = Deletion Time
Text Symbol: C04 = Deleted By
Text Symbol: C05 = Deletion TCode
Text Symbol: D01 = Real Estate Object Deleted
Text Symbol: D02 = Real Estate Object Archived
Text Symbol: D03 = Real Estate Object Unknown
Text Symbol: H01 = 1. Check if the change documents can be deleted
Text Symbol: H02 = 2. Select the change documents to be deleted
Text Symbol: H03 = 3. Enter DELETE in the OK-Code field
Text Symbol: M01 = No change document objects found
Text Symbol: M02 = &1 change documents were deleted


INCLUDES used within this REPORT RFREDS_CHANGEDOC_DELETE

INCLUDE IFRE_CHECK_RE_EA_FIN.


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:

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_buffer_active = ' ' "abap_true i_callback_program = ls_variant-report i_callback_user_command = 'ON_USER_COMMAND' is_layout = ls_layout it_fieldcat = lt_fieldcat it_sort = lt_sort i_default = abap_true i_save = 'A' is_variant = ls_variant it_events = lt_event is_print = ls_print TABLES t_outtab = gt_grid_data EXCEPTIONS OTHERS = 0.

CHANGEDOCUMENT_DELETE CALL FUNCTION 'CHANGEDOCUMENT_DELETE' EXPORTING * CLIENT = SY-MANDT * COMMIT_COUNTER = '20' objectclass = -objectclas objectid = -objectid * UP_TO_DATE = SY-DATUM with_commit = abap_true disable_authority_check = abap_true * CHANGENR = ' ' * IMPORTING * NUMBER_OF_DELETED_HEADERS = * NUMBER_OF_DELETED_POSITIONS = * NUMBER_OF_DELETED_UIDS = EXCEPTIONS * no_authority = 1 * no_changes_found = 2 OTHERS = 0.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_commentary.



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