RFVD_ARC_APPOFF_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_APPOFF_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: O_BUKRS = D .
Selection Text: O_BUP = D .
Selection Text: O_GSART = D .
Selection Text: O_RANL = Loan Application/Offer Number
Selection Text: O_SANLF = D .
Selection Text: O_SAWHR = D .
Selection Text: P_AR_ILM = Archiving
Selection Text: P_COMENT = Archiving Session Note
Selection Text: P_DELTST = Delete with Test Variant
Selection Text: P_DEST = Data Destruction
Selection Text: P_FINPRJ = Deactivate Finance Project Chk
Selection Text: P_LDAY = Archive key Date
Selection Text: P_PROT = Detail Log
Selection Text: P_PROT_O = Log Output
Selection Text: P_SNAP = Snapshot
Selection Text: P_WRIPRD = Production Mode
Selection Text: P_WRITST = Test Mode
Title: Write Applications and Offers to Archive
Text Symbol: V05 = ARCHIVE_PUT_TABLE
Text Symbol: V04 = ARCHIVE_PUT_RECORD - VDARL
Text Symbol: V03 = ARCHIVE_SAVE_OBJECT
Text Symbol: V02 = ARCHIVE_NEW_OBJECT
Text Symbol: V01 = ARCHIVE_OPEN_FOR_WRITE
Text Symbol: T98 = Reason: It belongs to the finance project &1.
Text Symbol: T19 = Reason: Archive key date check failed.
Text Symbol: T18 = Reason: Status is either "Application Withdrawn/Reduction or Offer Withdrawn/Reduction"
Text Symbol: T17 = Reason: BAdI checks failed.
Text Symbol: 001 = Loan Applications and Offers
Text Symbol: H01 = Currency
Text Symbol: H03 = Application/Offer
Text Symbol: H04 = Residence Time
Text Symbol: H05 = Planned Item
Text Symbol: H06 = Lock
Text Symbol: H07 = Archive key date
Text Symbol: H38 = Document Data
Text Symbol: H47 = Release
Text Symbol: H48 = BAdI
Text Symbol: H49 = Status
INCLUDE ARCH_WRITE_PRG_STANDARD2.
No SAP DATABASE tables are accessed within this REPORT code!
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 = p_prot i_protocol_output = p_prot_o.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h03 "'Application/Offer' i_text = text-t05 " No App/Off exists for the criteria specified i_msgtype = '2'.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h01 "'Currency' i_text = text-t04 i_msgtype = 2 i_msgv1 =
-low.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_text = text-t13.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h03 "'Application/Offer' i_text = text-t05 " No App/Off exists for the criteria specified i_msgtype = '2'.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h03 "'Application/Offer' i_text = text-t05 " No App/Off exists for the criteria specified i_msgtype = '2'.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h03 "'Application/Offer' i_text = text-t05 " No App/Off exists for the criteria specified i_msgtype = '2'.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h03 "'Application/Offer' i_text = text-t05 " No App/Off exists for the criteria specified i_msgtype = '2'.
ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING call_delete_job_in_test_mode = p_deltst create_archive_file = p_wriprd object = con_arch_appoff comments = p_coment do_not_delete_data = l_not_delete destroy = l_destroy IMPORTING archive_handle = g_handle EXCEPTIONS internal_error = 1 object_not_found = 2 open_error = 3 not_authorized = 4 archiving_standard_violation = 5 OTHERS = 6.
CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h49 " Status i_text = text-t12 " App/Off cannot be archived i_msgtype = '2' i_msgv1 = ls_vdarl-ranl i_msgv2 = ls_vdarl-bukrs.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_text = text-t18. " Reason : Status is either Application withdrawn/Reduction or Offer Withdrawn/Reduction
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h99 i_text = text-t12 i_msgtype = '2' i_msgv1 = ls_vdarl-ranl i_msgv2 = ls_vdarl-bukrs.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_text = text-t98 i_msgv1 = ls_vdarl-rklammer.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h04 "'Residence Time' i_text = text-t12 " App/Off cannot be archived i_msgtype = '2' i_msgv1 = ls_vdarl-ranl i_msgv2 = ls_vdarl-bukrs.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_text = text-t06. " residence time check failed
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h07 "'Archive key date' i_text = text-t12 " App/Off cannot be archived i_msgtype = '2' i_msgv1 = ls_vdarl-ranl i_msgv2 = ls_vdarl-bukrs.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_text = text-t19. " Archive key date check failed
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h47 " Release i_text = text-t12 " App/Off cannot be archived i_msgtype = '2' i_msgv1 = ls_vdarl-ranl i_msgv2 = ls_vdarl-bukrs.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_text = text-t16. " Reason : Planned or actual records are waiting to be released
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h05 "'Planned Item' i_text = text-t12 " App/Off cannot be archived i_msgtype = '2' i_msgv1 = ls_vdarl-ranl i_msgv2 = ls_vdarl-bukrs.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_text = text-t10. " Reason : Planned item(s) exist
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h38 "'Document Data' i_text = text-t12 " App/Off cannot be archived i_msgtype = '2' i_msgv1 = ls_vdarl-ranl i_msgv2 = ls_vdarl-bukrs.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_text = text-t07. " Reason : Document data exists. First archive the document data
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h01 "'Currency' i_text = text-t15 " Currency changeover for Application/Offer &1(Company code &2) has not been executed yet i_msgtype = '3' i_msgv1 = ls_vdarl-ranl i_msgv2 = ls_vdarl-bukrs.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h48 "'BADI' i_text = text-t12 " App/Off cannot be archived i_msgtype = '2' i_msgv1 = ls_vdarl-ranl i_msgv2 = ls_vdarl-bukrs.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_text = text-t17. " Reason : BADI checks failed.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h06 "'Lock' i_text = text-t12 " App/Off cannot be archived i_msgtype = '2' i_msgv1 = ls_vdarl-ranl i_msgv2 = ls_vdarl-bukrs.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_text = text-t08. " Reason : It is locked by another user
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = g_handle.
ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = g_handle.
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 .
FVD_LS_API_INT_STATE_GET CALL FUNCTION 'FVD_LS_API_INT_STATE_GET' EXPORTING i_bukrs = us_vdarl-bukrs i_gsart = us_vdarl-gsart i_statu = us_vdarl-sstati IMPORTING e_inteb = l_inteb * E_BUHAL = * E_STATU_LTX = EXCEPTIONS not_found = 1 done = 2 text_not_found = 3 OTHERS = 4.
MONTH_PLUS_DETERMINE CALL FUNCTION 'MONTH_PLUS_DETERMINE' EXPORTING months = l_res_time_value olddate = l_sy_datum IMPORTING newdate = l_new_date.
MONTH_PLUS_DETERMINE CALL FUNCTION 'MONTH_PLUS_DETERMINE' EXPORTING months = l_res_time_value olddate = l_sy_datum IMPORTING newdate = l_new_date.
FVD_ENQUEUE_EFVDARL CALL FUNCTION 'FVD_ENQUEUE_EFVDARL' EXPORTING bukrs = us_vdarl-bukrs sarchiv = space ranl = us_vdarl-ranl x_bukrs = ' ' x_sarchiv = ' ' x_ranl = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = g_handle object_id = cs_vdarl-obj_id EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.
ARCHIVE_ROLLBACK_WORK CALL FUNCTION 'ARCHIVE_ROLLBACK_WORK'.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = g_handle IMPORTING object_offset = cs_vdarl-obj_offset archive_name = cs_vdarl-obj_key EXCEPTIONS file_io_error = 1 internal_error = 2 open_error = 3 termination_requested = 4 wrong_access_to_archive = 5 data_object_not_saved = 6 OTHERS = 7.
ARCHIVE_ROLLBACK_WORK CALL FUNCTION 'ARCHIVE_ROLLBACK_WORK'.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h03 "'Application/Offer' i_text = text-t11 i_msgtype = '1' i_msgv1 = cs_vdarl-ranl i_msgv2 = cs_vdarl-bukrs.
DEQUEUE_EFVDARL CALL FUNCTION 'DEQUEUE_EFVDARL' EXPORTING bukrs = us_vdarl-bukrs sarchiv = space ranl = us_vdarl-ranl x_bukrs = ' ' x_sarchiv = ' ' x_ranl = ' '.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = g_handle record = us_vdarl record_structure = 'VDARL' EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
ARCHIVE_ROLLBACK_WORK CALL FUNCTION 'ARCHIVE_ROLLBACK_WORK'.
ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = g_handle record_structure = u_arch_def_son TABLES table =
EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
ARCHIVE_ROLLBACK_WORK CALL FUNCTION 'ARCHIVE_ROLLBACK_WORK'.
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_WRITE or its description.
RFVD_ARC_APPOFF_WRITE - Write Applications and Offers to Archive RFVD_ARC_APPOFF_WRITE - Write Applications and Offers to Archive RFVD_ARC_APPOFF_TOP - Include RFVD_ARC_APPOFF_TOP RFVD_ARC_APPOFF_RELOAD - Reload Program for Archived Loan Applications and Offers RFVD_ARC_APPOFF_RELOAD - Reload Program for Archived Loan Applications and Offers RFVD_ARC_APPOFF_DISPLAY_TOP - Include RFVD_ARC_APPOFF_DISPLAY_TOP