RFVD_ARC_DOCUMENTS_WRITE 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_WRITE 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_WRITST = D .
Selection Text: P_WRIPRD = D .
Selection Text: P_SNAP = D .
Selection Text: P_SBEA = Only Disbursed Loans
Selection Text: P_PROT_O = D .
Selection Text: P_PROT = D .
Selection Text: P_LDAY_P = Default Key Date "Payment"
Selection Text: P_LDAY = Default Key Date
Selection Text: P_DEST = D .
Selection Text: P_DELTST = D .
Selection Text: P_COMENT = D .
Selection Text: P_AR_ILM = D .
Selection Text: O_STATI = D .
Selection Text: O_SAWHR = D .
Selection Text: O_SANLF = D .
Selection Text: O_RANL = D .
Selection Text: O_GSART = D .
Selection Text: O_BUKRS = D .
Title: Loan Document Archiving: Write Program
Text Symbol: T07 = No
Text Symbol: T06 = Y
Text Symbol: T05 = Do you want to continue with another company code?
Text Symbol: T04 = Local currency conversion has not been executed yet
Text Symbol: T03 = VDARC_DOC_IND
Text Symbol: T02 = VDARC_DOC_REC
Text Symbol: T01 = VDARC_DOC_ADM
Text Symbol: S03 = Execution Parameters
Text Symbol: S02 = Further Selections
Text Symbol: S01 = General Selections
Text Symbol: B01 = Loan Document Data Archiving
INCLUDE RFVD_ARC_DOCUMENTS_WRITE_TOP.
INCLUDE RFVD_ARC_DOCUMENTS_RES_TIME. "SUBROUTINE TO CHECK THE RESIDENCE TIME
INCLUDE ARCH_WRITE_PRG_STANDARD2.
No SAP DATABASE tables are accessed within this REPORT code!
RS_EXTERNAL_SELSCREEN_STATUS * CALL FUNCTION 'RS_EXTERNAL_SELSCREEN_STATUS' * EXPORTING * p_fb = 'FVD_ARC_EXTERNAL_STATUS'.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-t04 " 'Hauswährungsumstellung wurde noch nicht durchgeführt!' text_question = text-t05 " 'Möchten Sie mit umgestellten Buchungskreisen fortsetzen ?' text_button_1 = text-t06 "'Ja'(001) text_button_2 = text-t07 "'Nein'(002) display_cancel_button = ' ' EXCEPTIONS text_not_found = 1 OTHERS = 2.
FVD_LS_API_INT_STATE_GET CALL FUNCTION 'FVD_LS_API_INT_STATE_GET' EXPORTING i_bukrs = l_wrk_vdarl_container-bukrs i_gsart = l_wrk_vdarl_container-gsart i_statu = l_wrk_vdarl_container-sstati IMPORTING e_inteb = l_int_status * E_BUHAL = * E_STATU_LTX = EXCEPTIONS NOT_FOUND = 1 DONE = 2 TEXT_NOT_FOUND = 3 OTHERS = 4.
FVD_ARC_RELEASE_CHECK CALL FUNCTION 'FVD_ARC_RELEASE_CHECK' EXPORTING i_bukrs = l_wrk_vdarl_container-bukrs i_ranl = l_wrk_vdarl_container-ranl IMPORTING e_unreleased_rec_exists = l_unreleased_recs.
FVD_ARC_DOCUMENTS_REORGANIZE CALL FUNCTION 'FVD_ARC_DOCUMENTS_REORGANIZE' EXPORTING i_loan_adm_data = g_wrk_loan_data i_log_handle = g_log_handle i_int_status = l_int_status IMPORTING e_proc_stat = g_proc_stat e_arc_doc_adm_new = g_arc_doc_adm_new e_arc_doc_rec_new = g_arc_doc_rec_new e_arc_doc_ind_new = g_arc_doc_ind_new e_arc_doc_adm_arc = g_arc_doc_adm_arc e_arc_doc_rec_arc = g_arc_doc_rec_arc e_vdbeki_arc = g_vdbeki_arc e_vdbepi_arc = g_vdbepi_arc e_trdc_adm = g_trdc_adm e_trdc_rec = g_trdc_rec.
FVD_ARC_DOCUMENTS_ARCHIVE CALL FUNCTION 'FVD_ARC_DOCUMENTS_ARCHIVE' EXPORTING i_arc_doc_adm_arc = g_arc_doc_adm_arc i_arc_doc_rec_arc = g_arc_doc_rec_arc i_arc_vdbeki_arc = g_vdbeki_arc i_arc_vdbepi_arc = g_vdbepi_arc i_arc_doc_adm_new = g_arc_doc_adm_new i_arc_doc_rec_new = g_arc_doc_rec_new i_arc_doc_ind_new = g_arc_doc_ind_new i_trdc_adm = g_trdc_adm i_trdc_rec = g_trdc_rec i_write_handle = g_handle i_log_handle = g_log_handle i_test = p_writst IMPORTING e_archiv_stat = g_archiv_stat e_archiv_key = g_archiv_key e_obj_offset = g_obj_offset e_data_id = g_data_id.
ARCHIVE_ROLLBACK_WORK CALL FUNCTION 'ARCHIVE_ROLLBACK_WORK'.
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_s_log IMPORTING e_log_handle = p_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.
BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING * I_CLIENT = SY-MANDT * I_IN_UPDATE_TASK = ' ' i_save_all = 'X' * I_T_LOG_HANDLE = * IMPORTING * E_NEW_LOGNUMBERS = EXCEPTIONS * LOG_NOT_FOUND = 1 * SAVE_NOT_ALLOWED = 2 * NUMBERING_ERROR = 3 OTHERS = 4 .
BAL_DSP_PROFILE_SINGLE_LOG_GET CALL FUNCTION 'BAL_DSP_PROFILE_SINGLE_LOG_GET' IMPORTING e_s_display_profile = l_s_display_profile EXCEPTIONS OTHERS = 1.
BAL_DSP_LOG_DISPLAY * CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' * EXPORTING ** i_s_display_profile = l_s_display_profile * i_t_log_handle = g_tab_handles ** I_T_MSG_HANDLE = ** I_AMODAL = ' ' ** IMPORTING ** E_S_EXIT_COMMAND = * EXCEPTIONS * profile_inconsistent = 1 * internal_error = 2 * no_data_available = 3 * no_authority = 4 * OTHERS = 5 * .
BAL_DSP_LOG_PRINT CALL FUNCTION 'BAL_DSP_LOG_PRINT' EXPORTING i_s_print_options = l_s_print_options * I_S_LIST_APPEND = ' ' i_s_display_profile = l_s_display_profile * I_T_LOG_HANDLE = * I_T_MSG_HANDLE = * I_S_LOG_FILTER = * I_S_MSG_FILTER = * I_T_LOG_CONTEXT_FILTER = * I_T_MSG_CONTEXT_FILTER = EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.
BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = l_s_display_profile * i_t_log_handle = g_log_handle * I_T_MSG_HANDLE = * I_AMODAL = ' ' * IMPORTING * E_S_EXIT_COMMAND = EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5 .
FVD_ENQUEUE_EFVDARL CALL FUNCTION 'FVD_ENQUEUE_EFVDARL' EXPORTING BUKRS = l_bukrs SARCHIV = space RANL = l_ranl X_BUKRS = ' ' X_SARCHIV = ' ' X_RANL = ' ' 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.
FVD_ARC_CHECK_ACCESS_SARA * CALL FUNCTION 'FVD_ARC_CHECK_ACCESS_SARA' * EXCEPTIONS * no_use_of_sara = 1.
GET_EWWU_WAERS_40 CALL FUNCTION 'GET_EWWU_WAERS_40' EXPORTING confirm_cust = 'X' * IMPORTING * EUROWAERS = * EUROKURST = * EURODATUM = * EUROINVDT = * KTEXT_INCOMPLETE = * LTEXT_INCOMPLETE = * TEXT_INCOMPLETE = TABLES ewucurrs = l_tab_ewucurs_40 EXCEPTIONS customizing_not_found = 1 customizing_not_confirmed = 2 no_waers_found = 3 OTHERS = 4 .
GET_EWWU_WAERS_40 CALL FUNCTION 'GET_EWWU_WAERS_40' EXPORTING confirm_cust = 'X' * IMPORTING * EUROWAERS = * EUROKURST = * EURODATUM = * EUROINVDT = * KTEXT_INCOMPLETE = * LTEXT_INCOMPLETE = * TEXT_INCOMPLETE = TABLES ewucurrs = l_tab_ewucurs_40 EXCEPTIONS customizing_not_found = 1 customizing_not_confirmed = 2 no_waers_found = 3 OTHERS = 4 .
CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING call_delete_job_in_test_mode = p_test create_archive_file = 'X' object = 'CMLDOCUMNT' * COMMENTS = ' ' do_not_delete_data = p_not_delete destroy = p_destroy * OUTPUT_SEL_SCREEN_WHEN_DIALOG = 'X' * OUTPUT_SEL_SCREEN_WHEN_BATCH = ' ' IMPORTING archive_handle = p_handle EXCEPTIONS internal_error = 1 object_not_found = 2 open_error = 3 not_authorized = 4 OTHERS = 5.
ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING archive_handle = p_handle IMPORTING archive_document = p_arcdoc EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' "N1326931 EXPORTING archive_handle = p_handle statistics_only_per_run = 'X'.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = p_handle EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.
BAL_LOG_MSG_DELETE_ALL CALL FUNCTION 'BAL_LOG_MSG_DELETE_ALL' EXPORTING i_log_handle = g_log_handle * EXCEPTIONS * LOG_NOT_FOUND = 1 * OTHERS = 2 .
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_WRITE or its description.
RFVD_ARC_DOCUMENTS_WRITE - Loan Document Archiving: Write Program RFVD_ARC_DOCUMENTS_WRITE - Loan Document Archiving: Write Program RFVD_ARC_DOCUMENTS_STATUS - Loan Document Archiving: Display Archiving Status RFVD_ARC_DOCUMENTS_STATUS - Loan Document Archiving: Display Archiving Status RFVD_ARC_DOCUMENTS_RES_TIME - Include RFVD_ARC_DOCUMENTS_RES_TIME RFVD_ARC_DOCUMENTS_RELOAD - Loan Document Archiving: Reload Program