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

RFVD_ARC_DOCUMENTS_RELOAD SAP ABAP Report - Loan Document Archiving: Reload Program







RFVD_ARC_DOCUMENTS_RELOAD 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 RFVD_ARC_DOCUMENTS_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_DOCUMENTS_RELOAD. "Basic submit
SUBMIT RFVD_ARC_DOCUMENTS_RELOAD AND RETURN. "Return to original report after report execution complete
SUBMIT RFVD_ARC_DOCUMENTS_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: O_RANL = D Contract Number
Selection Text: P_BUKRS = D Company Code
Title: Loan Document Archiving: Reload Program


INCLUDES used within this REPORT RFVD_ARC_DOCUMENTS_RELOAD

INCLUDE RFVD_ARC_TOP.


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_ACCESS_SARA CALL FUNCTION 'FVD_ARC_CHECK_ACCESS_SARA' EXCEPTIONS no_use_of_sara = 1.

ARCHIVE_OPEN_FOR_MOVE CALL FUNCTION 'ARCHIVE_OPEN_FOR_MOVE' EXPORTING object = c_cmldoc test_mode = ' ' * ARCHIVE_NAME = ' ' IMPORTING archive_read_handle = handle * archive_write_handle = write_handle EXCEPTIONS file_already_open = 1 file_io_error = 2 internal_error = 3 no_files_available = 4 object_not_found = 5 open_error = 6 not_authorized = 7 OTHERS = 8 .

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = handle IMPORTING object_id = l_object_name object_offset = l_offset archive_name = l_archiv_name * COMPR_OBJECT_LENGTH = * session = l_session EXCEPTIONS end_of_file = 1 file_io_error = 2 internal_error = 3 open_error = 4 wrong_access_to_archive = 5 OTHERS = 6.

ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING archive_handle = handle get_real_structure_name = 'X' automatic_conversion = 'X' IMPORTING record_ref = buffer_ref record_structure = record_type EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.

ARCHIVE_ROLLBACK_WORK CALL FUNCTION 'ARCHIVE_ROLLBACK_WORK'.

ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = handle TABLES table = l_tab_stat.

ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = handle statistics_only_per_run = 'X'. "?

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = handle EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.

ARCHIVE_GET_ARCHIVE_FILES CALL FUNCTION 'ARCHIVE_GET_ARCHIVE_FILES' EXPORTING archive_handle = handle TABLES archive_files = l_tab_arch_files EXCEPTIONS wrong_access_to_archive = 1 internal_error = 2 OTHERS = 3.

FVD_ENQUEUE_EFVDARL CALL FUNCTION 'FVD_ENQUEUE_EFVDARL' EXPORTING bukrs = l_bukrs sarchiv = space ranl = l_ranl x_bukrs = ' ' x_sarchiv = ' ' x_ranl = ' ' * _SCOPE = '3' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_EFVDARL CALL FUNCTION 'DEQUEUE_EFVDARL' EXPORTING bukrs = l_bukrs sarchiv = space ranl = l_ranl x_bukrs = space x_sarchiv = space x_ranl = space.

ARCHIVE_ROLLBACK_WORK CALL FUNCTION 'ARCHIVE_ROLLBACK_WORK'.



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