ROIURY_ARCH_REPHIST_WRI 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 ROIURY_ARCH_REPHIST_WRI 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: GP_PRD = Production Mode
Selection Text: GP_TST = Test Mode
Selection Text: SO_AGEN = Agency
Selection Text: SO_DATE = Reporting Date
Selection Text: SO_OGIND = Oil/ Gas Indicator
Selection Text: SO_ORG = Company Code
Title: PRA Archiving - Royalty report history WRITE
Text Symbol: E02 = Enter production date to restrict data.
Text Symbol: OBJ = Royalty History Record details
Text Symbol: OPT = Processing Options
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING call_delete_job_in_test_mode = gf_delete_test create_archive_file = gf_file_create object = gc_object IMPORTING archive_handle = gf_handle EXCEPTIONS internal_error = 1 object_not_found = 2 open_error = 3 not_authorized = 4 OTHERS = 5.
ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = gf_handle object_id = lf_data_object_id EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = gf_handle record = ls_oiurep_roy_log record_structure = 'OIUREP_ROY_LOG' EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = gf_handle record = ls_oiurep_roy_data record_structure = 'OIUREP_ROY_DATA' EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = gf_handle record = ls_oiurep_vol_data record_structure = 'OIUREP_VOL_DATA' EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = gf_handle record = ls_oiurep_royhist record_structure = 'OIUREP_ROYHIST' EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = gf_handle record = ls_oiurep_volhist record_structure = 'OIUREP_VOLHIST' EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = gf_handle EXCEPTIONS file_io_error = 1 internal_error = 2 open_error = 3 termination_requested = 4 wrong_access_to_archive = 5 OTHERS = 6.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = gf_handle EXCEPTIONS internal_error = 1 OTHERS = 2.
ARCHIVE_GET_STATISTICS CALL FUNCTION 'ARCHIVE_GET_STATISTICS' EXPORTING archive_handle = gf_handle IMPORTING archive_document = lf_stat_sess TABLES statistics_data = lt_stat_tab EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = gf_handle EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
ROIURY_ARCH_REPHIST_WRI - PRA Archiving - Royalty report history WRITE ROIURY_ARCH_REPHIST_WRI - PRA Archiving - Royalty report history WRITE ROIURY_ARCH_REPHIST_RD - PRA Archiving - Royalty Reporting data ROIURY_ARCH_REPHIST_RD - PRA Archiving - Royalty Reporting data ROIURY_ARCH_REPHIST_DEL - PRA Archiving - Royalty reporting history WRITE ROIURY_ARCH_REPHIST_DEL - PRA Archiving - Royalty reporting history WRITE