RFVD_ARC_MODELCALC_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_MODELCALC_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_PROT_O = D .
Selection Text: P_PROT = D .
Selection Text: P_DEST = D .
Selection Text: P_DELTST = D .
Selection Text: P_COMENT = D .
Selection Text: P_AR_ILM = D .
Selection Text: O_RSDATE = D .
Selection Text: O_PARTNR = D .
Title: Model Calculation Archiving: Write Program
Text Symbol: V04 = ARCHIVE_SAVE_OBJECT
Text Symbol: V03 = ARCHIVE_PUT_TABLE
Text Symbol: V02 = ARCHIVE_NEW_OBJECT
Text Symbol: V01 = ARCHIVE_OPEN_FOR_WRITE
Text Symbol: T04 = No model calculations found for the selection category
Text Symbol: H01 = Archiving
Text Symbol: 007 = Due to interruption, model calculation &1 not archived.
Text Symbol: 006 = Model calculation &1 not archived - residence time check failed.
Text Symbol: 005 = &1 of &2 model calculations processed.
Text Symbol: 004 = Model calculation &1 archived.
Text Symbol: 002 = Restrictions
Text Symbol: 001 = Model Calculation Selection
INCLUDE RFVD_ARC_MODELCALC_WRITE_TOP.
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_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING call_delete_job_in_test_mode = p_deltst comments = p_coment create_archive_file = p_wriprd object = con_object output_sel_screen_when_dialog = '' IMPORTING archive_handle = gv_handle EXCEPTIONS internal_error = 1 object_not_found = 2 open_error = 3 not_authorized = 4 archiving_standard_violation = 5 OTHERS = 6.
ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = gv_handle EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.
ARCHIVE_ROLLBACK_WORK CALL FUNCTION 'ARCHIVE_ROLLBACK_WORK'.
ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = gv_handle * RECORD_FLAGS = ' ' record_structure = 'LTEX' TABLES table = gt_ltex_per_model * RECORD_FLAGS_TABLE = EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
ARCHIVE_ROLLBACK_WORK CALL FUNCTION 'ARCHIVE_ROLLBACK_WORK'.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = gv_handle 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 = gv_object_identifier i_text = text-004 i_msgtype = 1 i_msgv1 =
-exname.
PROGRESS_INDICATOR * CALL FUNCTION 'PROGRESS_INDICATOR' * EXPORTING * i_text = text-005 * i_msgv1 = gv_objects_processed * i_msgv2 = gv_total_object_number * i_processed = gv_objects_processed * i_total = gv_total_object_number * IMPORTING * e_progress_sent = gv_progress_send.
DB_COMMIT * CALL FUNCTION 'DB_COMMIT'.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = text-005 i_msgv1 = gv_objects_processed i_msgv2 = gv_total_object_number i_processed = gv_objects_processed i_total = gv_total_object_number i_output_immediately = 'X' "force the progress output IMPORTING e_progress_sent = gv_progress_send.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = gv_object_identifier i_text = text-007 i_msgtype = 2.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = gv_handle.
ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = gv_handle.
CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h01 i_text = text-t04 i_msgtype = 2.
MONTH_PLUS_DETERMINE CALL FUNCTION 'MONTH_PLUS_DETERMINE' EXPORTING months = lv_res_time_value olddate = sy-datum IMPORTING newdate = lv_new_date.
MONTH_PLUS_DETERMINE CALL FUNCTION 'MONTH_PLUS_DETERMINE' EXPORTING months = lv_res_time_value olddate = sy-datum IMPORTING newdate = lv_new_date.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = gv_object_identifier i_text = text-006 i_msgtype = 2 i_msgv1 = gs_ltex-exname.
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_MODELCALC_WRITE or its description.
RFVD_ARC_MODELCALC_WRITE - Model Calculation Archiving: Write Program RFVD_ARC_MODELCALC_WRITE - Model Calculation Archiving: Write Program RFVD_ARC_MODELCALC_DISPLAY_TOP - Include RFVD_ARC_MODELCALC_DISPLAY_TOP RFVD_ARC_MODELCALC_DISPLAY_ALV - Include RFVD_ARC_MODELCALC_DISPLAY_ADD RFVD_ARC_MODELCALC_DISPLAY - Model Calculation Archiving: Display Program RFVD_ARC_MODELCALC_DISPLAY - Model Calculation Archiving: Display Program