RFGMARACWR is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program writes the requested actuals and commitment records to the data archive...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 RFGMARACWR 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_COMENT = D .
Selection Text: P_DELTST = D .
Selection Text: P_FR_FY = D .
Selection Text: P_PROT = D .
Selection Text: P_PROT_O = D .
Selection Text: P_TO_FY = D .
Selection Text: P_WRIPRD = D .
Selection Text: P_WRITST = D .
Selection Text: S_BUKRS = D .
Selection Text: S_FUND = D .
Selection Text: S_GRANT = D .
Selection Text: S_RDOCNR = D .
Selection Text: S_VLTYP = D .
Title: Archiving GM Actual/Commitment Documents - Write Program
Text Symbol: 003 = Processing Options
Text Symbol: 010 = Selection
Text Symbol: 020 = Timeframe
Text Symbol: 221 = Dynamic Selections
Text Symbol: 222 = Active
Text Symbol: S01 = From Grantee Fiscal Year
Text Symbol: S03 = to
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_PROTOCOL_INIT call function 'ARCHIVE_PROTOCOL_INIT' exporting i_detailprotocol = u_detail_prot i_protocol_output = u_detail_prot_o.
FREE_SELECTIONS_WHERE_2_RANGE call function 'FREE_SELECTIONS_WHERE_2_RANGE' exporting where_clauses = lt_twhere importing field_ranges = lt_range exceptions expression_not_supported = 1 incorrect_expression = 2 others = 3.
FREE_SELECTIONS_RANGE_2_WHERE call function 'FREE_SELECTIONS_RANGE_2_WHERE' exporting field_ranges = lt_range importing where_clauses = lt_twhere.
ARCHIVE_OPEN_FOR_WRITE call function 'ARCHIVE_OPEN_FOR_WRITE' exporting call_delete_job_in_test_mode = l_delete_in_test create_archive_file = l_create_file object = u_object comments = u_admi_rem importing archive_handle = c_archive_handle.
ARCHIVE_NEW_OBJECT call function 'ARCHIVE_NEW_OBJECT' exporting archive_handle = u_archive_handle.
ARCHIVE_SAVE_OBJECT call function 'ARCHIVE_SAVE_OBJECT' exporting archive_handle = u_archive_handle exceptions termination_requested = 1.
ARCHIVE_PUT_TABLE call function 'ARCHIVE_PUT_TABLE' exporting archive_handle = u_archive_handle record_structure = 'GMIA' tables table = lt_gmia_put.
ARCHIVE_WRITE_STATISTICS call function 'ARCHIVE_WRITE_STATISTICS' exporting archive_handle = u_archive_handle.
ARCHIVE_PROTOCOL_WRITE call function 'ARCHIVE_PROTOCOL_WRITE'.
ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' exporting archive_handle = u_archive_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
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFGMARACWR - Archiving GM Actual/Commitment Documents - Write Program RFGMARACWR - Archiving GM Actual/Commitment Documents - Write Program RFGMARACRL - Archiving GM Actual/Commitment Documents - Reload Program RFGMARACRL - Archiving GM Actual/Commitment Documents - Reload Program RFGMARACDL - Archiving GM Actual/Commitment Documents - Delete Program RFGMARACDL - Archiving GM Actual/Commitment Documents - Delete Program