SAP Reports / Programs

RFGMARACRL SAP ABAP Report - Archiving GM Actual/Commitment Documents - Reload Program







RFGMARACRL 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 RFGMARACRL 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 RFGMARACRL. "Basic submit
SUBMIT RFGMARACRL AND RETURN. "Return to original report after report execution complete
SUBMIT RFGMARACRL 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_PROT = D .
Selection Text: P_PROT_O = D .
Selection Text: P_RELPRD = D .
Selection Text: P_RELTST = D .
Title: Archiving GM Actual/Commitment Documents - Reload Program


INCLUDES used within this REPORT RFGMARACRL

RFGMARAC_GENERAL_INCL.


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_INIT_APPL call function 'ARCHIVE_PROTOCOL_INIT_APPL' exporting i_detailprotocol = u_detail_prot.

ARCHIVE_OPEN_FOR_MOVE call function 'ARCHIVE_OPEN_FOR_MOVE' exporting object = u_object test_mode = u_reltst importing archive_read_handle = c_archive_read_handle archive_write_handle = c_archive_write_handle exceptions others = 1.

ARCHIVE_GET_INFORMATION call function 'ARCHIVE_GET_INFORMATION' exporting archive_handle = c_archive_read_handle importing archive_document = l_document.

ARCHIVE_GET_CUSTOMIZING_DATA call function 'ARCHIVE_GET_CUSTOMIZING_DATA' exporting object = u_object importing commit_count_for_delete_prg = l_max_commit.

ARCHIVE_GET_NEXT_OBJECT call function 'ARCHIVE_GET_NEXT_OBJECT' exporting archive_handle = u_archive_read_handle importing archive_name = l_archive_key object_offset = l_offset exceptions end_of_file = 1 others = 2.

ARCHIVE_READ_OBJECT_BY_HANDLE call function 'ARCHIVE_READ_OBJECT_BY_HANDLE' exporting iv_handle = u_archive_read_handle changing ct_obj_data = lt_obj_data_tmp.

ARCH_RELO_TABLE_INSERT_TEST call function 'ARCH_RELO_TABLE_INSERT_TEST' exporting i_structure = -tabname i_accepting_duplicate_records = u_accept_duplicate_records it_ignore_fields = lt_ignore_fields importing e_reload_property = l_table_reload_property tables t_data = t_could_be_inserted = exceptions table_not_active = 1.

ARCH_RELO_PROPERTY_DECIDE call function 'ARCH_RELO_PROPERTY_DECIDE' exporting i_table_reload_property = l_table_reload_property i_archiv_key = u_archive_key i_offset = u_offset i_accepting_duplicate_records = u_accept_duplicate_records importing e_object_reload_property = c_object_reload_property.

ARCHIVE_SAVE_OBJECT call function 'ARCHIVE_SAVE_OBJECT' exporting archive_handle = u_archive_write_handle.

ARCH_RELO_TABLE_INSERT call function 'ARCH_RELO_TABLE_INSERT' exporting i_structure = lf_obj_data-tabname tables t_data = .

ARCHIVE_RELOAD_OBJECT_DATA call function 'ARCHIVE_RELOAD_OBJECT_DATA' exporting archive_handle = u_archive_read_handle.

ARCHIVE_GIVE_STATISTICS call function 'ARCHIVE_GIVE_STATISTICS' exporting archive_handle = u_archive_read_handle tables table = lt_statistic.

ARCHIVE_WRITE_STATISTICS call function 'ARCHIVE_WRITE_STATISTICS' exporting archive_handle = u_archive_read_handle.

ARCHIVE_PROTOCOL_WRITE_APPL call function 'ARCHIVE_PROTOCOL_WRITE_APPL'.

ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' exporting archive_handle = u_archive_read_handle.

ARCHIVE_PROTOCOL_COLLECT_APPL call function 'ARCHIVE_PROTOCOL_COLLECT_APPL' exporting i_object = l_objtext i_msgtype = l_msgtype i_msgid = lf_msg-id i_msgno = lf_msg-number i_msgv1 = lf_msg-message_v1 i_msgv2 = lf_msg-message_v2 i_msgv3 = lf_msg-message_v3 i_msgv4 = lf_msg-message_v4.

PROGRESS_INDICATOR_APPL call function 'PROGRESS_INDICATOR_APPL' exporting i_msgid = 'GRANTMGMT' i_msgno = '761' i_processed = gf_process_info-counter-processed i_total = gf_process_info-counter-total i_output_immediately = l_immidiate.

PROGRESS_INDICATOR_APPL call function 'PROGRESS_INDICATOR_APPL' exporting i_msgid = 'GRANTMGMT' i_msgno = '761' i_processed = gf_process_info-counter-processed i_total = gf_process_info-counter-total i_output_immediately = l_immidiate importing e_progress_sent = l_progress_sent.

DB_COMMIT





call function 'DB_COMMIT'. "otherwise messag will not appear in the job-log



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