SAP Reports / Programs | Public Sector Management | Funds Management(PSM-FM) SAP PSM

RFFMAR54 SAP ABAP Report - Delete Archived Budget Entry Document in FM







RFFMAR54 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 RFFMAR54 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 RFFMAR54. "Basic submit
SUBMIT RFFMAR54 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMAR54 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: P_DELPRD = D .
Selection Text: P_PROD = Delete
Selection Text: P_DELTST = D .
Selection Text: P_PROT = D .
Selection Text: P_PROT_O = D .
Selection Text: P_TEST = D .
Title: Delete Archived Budget Entry Document in FM
Text Symbol: 010 = Process Control


INCLUDES used within this REPORT RFFMAR54

INCLUDE: IFMARDAT, "VARIABLES FOR ARCHIVING PROGRAMS
INCLUDE: IFMARSEL_DEL.
INCLUDE ARCH_DELETE_PRG_STANDARD2. "<<< FLOW CONTROL


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:

ARCHIVE_PROTOCOL_WRITE call function 'ARCHIVE_PROTOCOL_WRITE'.

ARCHIVE_PROTOCOL_INIT call function 'ARCHIVE_PROTOCOL_INIT' exporting i_detailprotocol = p_prot i_protocol_output = p_prot_o.

ARCHIVE_OPEN_FOR_DELETE call function 'ARCHIVE_OPEN_FOR_DELETE' exporting object = fmar_const_ar_objekt_budent test_mode = p_deltst importing archive_handle = g_ar_handle tables selected_files = lt_files.

ARCHIVE_GET_CUSTOMIZING_DATA call function 'ARCHIVE_GET_CUSTOMIZING_DATA' exporting object = fmar_const_ar_objekt_budent importing commit_count_for_delete_prg = g_commit_max "should be 10 exceptions object_not_found = 01.

ARCHIVE_GET_ARCHIVE_FILES call function 'ARCHIVE_GET_ARCHIVE_FILES' exporting archive_handle = g_ar_handle tables archive_files = g_t_files.

ARCHIVE_GET_NEXT_OBJECT call function 'ARCHIVE_GET_NEXT_OBJECT' exporting archive_handle = g_ar_handle exceptions end_of_file = 1 file_io_error = 2 internal_error = 3 open_error = 4 wrong_access_to_archive = 5 others = 6.

ARCHIVE_DELETE_OBJECT_DATA call function 'ARCHIVE_DELETE_OBJECT_DATA' exporting archive_handle = g_ar_handle.

FM_ARC_BE_GET_NEXT_RECORD call function 'FM_ARC_BE_GET_NEXT_RECORD' exporting i_ar_handle = g_ar_handle importing e_eor = p_eor tables t_bpdk = g_t_bpdk t_bpdkt = g_t_bpdkt t_bpdz_arch = g_t_bpdz_arch t_bpdzt = g_t_bpdzt t_bpdg = g_t_bpdg t_bpdj = g_t_bpdj t_bpdp = g_t_bpdp t_arch_stat = g_t_arch_stat exceptions others = 0.

ARCHIVE_GIVE_STATISTICS call function 'ARCHIVE_GIVE_STATISTICS' exporting archive_handle = g_ar_handle tables table = g_t_arch_stat exceptions others = 0.

FM_ARC_BE_UPDATE_ITEMS call function 'FM_ARC_BE_UPDATE_ITEMS' exporting i_test = p_deltst i_function = fmar_const_delete tables t_bpdk = g_t_bpdk t_bpdkt = g_t_bpdkt t_bpdz_arch = g_t_bpdz_arch t_bpdzt = g_t_bpdzt t_bpdg = g_t_bpdg t_bpdj = g_t_bpdj t_bpdp = g_t_bpdp exceptions others = 0.

PROGRESS_INDICATOR_APPL call function 'PROGRESS_INDICATOR_APPL' exporting i_msgid = 'FMAR' i_msgno = '052' i_processed = gf_progress_counter-processed i_total = gf_progress_counter-total i_output_immediately = l_immidiate.

PROGRESS_INDICATOR_APPL call function 'PROGRESS_INDICATOR_APPL' exporting i_msgid = 'FMAR' i_msgno = '052' i_processed = gf_progress_counter-processed i_total = gf_progress_counter-total i_output_immediately = l_immidiate importing e_progress_sent = l_progress_sent.

DB_COMMIT call function 'DB_COMMIT'. "force immediate output of message

ARCHIVE_WRITE_STATISTICS call function 'ARCHIVE_WRITE_STATISTICS' exporting archive_handle = g_ar_handle exceptions others = 0.

ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' exporting archive_handle = g_ar_handle.



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