SAP Reports / Programs | Financial Services | Loans Management(FS-CML) SAP FS

RFVD_ARC_APPOFF_RELOAD SAP ABAP Report - Reload Program for Archived Loan Applications and Offers







RFVD_ARC_APPOFF_RELOAD is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for trial ..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 RFVD_ARC_APPOFF_RELOAD 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 RFVD_ARC_APPOFF_RELOAD. "Basic submit
SUBMIT RFVD_ARC_APPOFF_RELOAD AND RETURN. "Return to original report after report execution complete
SUBMIT RFVD_ARC_APPOFF_RELOAD 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: Reload Program for Archived Loan Applications and Offers
Text Symbol: 001 = &1% (&2 of &3) of the data objects processed
Text Symbol: H01 = Application/Offer
Text Symbol: T01 = Application/offer &1 (company code &2) reloaded successfully
Text Symbol: T02 = Application/offer &1 (company code &2) could not be reloaded
Text Symbol: T03 = Application/offer &1 (company code &2) already exists in the database


INCLUDES used within this REPORT RFVD_ARC_APPOFF_RELOAD

INCLUDE ARCH_RELOAD_PRG_STANDARD2. "PROCESSING OPTIONS


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:

FVD_ARC_CHECK_TRANS_SARA CALL FUNCTION 'FVD_ARC_CHECK_TRANS_SARA' EXCEPTIONS no_use_of_sara = 1.

ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = uv_detail_prot i_protocol_output = uv_prot_output.

ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = lv_archive_read_handle.

ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = lv_archive_read_handle.

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = uv_read_handle IMPORTING archive_name = lv_archive_key object_offset = lv_offset EXCEPTIONS end_of_file = 1.

ARCHIVE_READ_OBJECT_BY_HANDLE CALL FUNCTION 'ARCHIVE_READ_OBJECT_BY_HANDLE' EXPORTING iv_handle = uv_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 = uv_accepting_duplicate_records it_ignore_fields = lt_ignore_fields IMPORTING e_reload_property = lv_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 = lv_table_reload_property i_archiv_key = uv_archive_key i_offset = uv_offset i_accepting_duplicate_records = uv_accepting_duplicate_records IMPORTING e_object_reload_property = cv_object_reload_property.

ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = uv_write_handle.

ARCH_RELO_TABLE_INSERT CALL FUNCTION 'ARCH_RELO_TABLE_INSERT' EXPORTING i_structure = ls_obj_data-tabname i_accepting_duplicate_keys = lv_accepting_dup TABLES t_data = .

ARCHIVE_RELOAD_OBJECT_DATA CALL FUNCTION 'ARCHIVE_RELOAD_OBJECT_DATA' EXPORTING archive_handle = uv_read_handle.

ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = uv_read_handle TABLES table = lt_statistic.

ARCHIVE_OPEN_FOR_MOVE CALL FUNCTION 'ARCHIVE_OPEN_FOR_MOVE' EXPORTING object = gc_object test_mode = uv_reltst IMPORTING archive_read_handle = cv_read_handle archive_write_handle = cv_write_handle.

ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING archive_handle = cv_read_handle IMPORTING archive_document = lv_document.

PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = '&1% (&2 of &3) of the data objects processed'(001) "#EC * i_processed = uv_cnt_pro i_total = uv_cnt_tot i_output_immediately = uv_immediate IMPORTING e_progress_sent = lv_sent.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'. "force immediate output of message

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h01 "'Application/Offer' i_text = text-t01 " Reload successful i_msgtype = lv_msgtype i_msgv1 = us_vdarl_key-ranl i_msgv2 = us_vdarl_key-bukrs.

ARCHIVE_PROTOCOL_COLLECT





CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h01 i_text = text-t02 i_msgtype = lv_msgtype i_msgv1 = us_vdarl_key-ranl i_msgv2 = us_vdarl_key-bukrs.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h01 i_text = text-t03 i_msgtype = lv_msgtype i_msgv1 = us_vdarl_key-ranl i_msgv2 = us_vdarl_key-bukrs. "'Data Object exists already in DB'



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