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

RFFMAR05 SAP ABAP Report - Reloading Archived FI Postings in FM







RFFMAR05 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Generated Include to Extension - JANCIK - 24...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 RFFMAR05 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 RFFMAR05. "Basic submit
SUBMIT RFFMAR05 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMAR05 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_PROD = Reload
Selection Text: P_PROT = D .
Selection Text: P_LOG = D .
Selection Text: P_PROT_O = D .
Selection Text: P_RELPRD = D .
Selection Text: P_RELTST = D .
Selection Text: P_TEST = D .
Title: Reloading Archived FI Postings in FM
Text Symbol: 010 = Process Control


INCLUDES used within this REPORT RFFMAR05

INCLUDE: IFMARSEL_DEL.


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_MOVE call function 'ARCHIVE_OPEN_FOR_MOVE' exporting object = fmar_const_ar_objekt_fmfi test_mode = p_reltst importing archive_read_handle = g_ar_handle.

ARCHIVE_GET_CUSTOMIZING_DATA call function 'ARCHIVE_GET_CUSTOMIZING_DATA' exporting object = fmar_const_ar_objekt_fmfi 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 importing archive_name = g_t_fm01_arch-archiv_key exceptions end_of_file = 1 file_io_error = 2 internal_error = 3 open_error = 4 wrong_access_to_archive = 5 others = 6.

FM_ARC_FI_GET_NEXT_RECORD call function 'FM_ARC_FI_GET_NEXT_RECORD' exporting i_ar_handle = g_ar_handle importing e_eor = p_eor tables t_fmifihd = g_t_fmifihd t_fmifiit = g_t_fmifiit t_fmcfsif = g_t_fmcfsif t_fmccfd = g_t_fmccfd t_fmudbsegh = g_t_fmudbsegh t_fmudbsegp = g_t_fmudbsegp t_fmudbsegs = g_t_fmudbsegs t_payrq = g_t_payrq t_paybu = g_t_paybu t_payrc = g_t_payrc t_kblk_user = g_t_kblk_user t_payko = g_t_payko t_payct = g_t_payct t_payoi = g_t_payoi t_payoa = g_t_payoa t_payoh = g_t_payoh t_arch_stat = g_t_arch_stat t_fm01_arch = g_t_fm01_arch 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_FI_UPDATE_ITEMS call function 'FM_ARC_FI_UPDATE_ITEMS' exporting i_log = l_log i_test = p_reltst i_function = fmar_const_insert tables t_fmifihd = g_t_fmifihd t_fmifiit = g_t_fmifiit t_fmcfsif = g_t_fmcfsif t_fmccfd = g_t_fmccfd t_fmudbsegh = g_t_fmudbsegh t_fmudbsegp = g_t_fmudbsegp t_fmudbsegs = g_t_fmudbsegs t_payrq = g_t_payrq t_paybu = g_t_paybu t_payrc = g_t_payrc t_kblk_user = g_t_kblk_user t_payko = g_t_payko t_payct = g_t_payct t_payoi = g_t_payoi t_payoa = g_t_payoa t_payoh = g_t_payoh t_documents = g_t_display_docs exceptions others = 0.

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

FM_ARC_FI_DISPLAY_LINE_ITEMS call function 'FM_ARC_FI_DISPLAY_LINE_ITEMS' exporting i_function = fmar_const_insert i_oner = l_excl i_test = p_reltst i_first = g_first_display tables t_docs_e = g_t_display_docs exceptions others = 0.

FM_ARC_AL_UPDATE_FM01_ARCH call function 'FM_ARC_AL_UPDATE_FM01_ARCH' exporting i_function = fmar_const_insert tables t_fm01_arch = g_t_fm01_arch exceptions others = 0.

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