SAP Reports / Programs

ROIO_CH_ARC_WRITE SAP ABAP Report - Container History Archive - Write







ROIO_CH_ARC_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 ROIO_CH_ARC_WRITE 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 ROIO_CH_ARC_WRITE. "Basic submit
SUBMIT ROIO_CH_ARC_WRITE AND RETURN. "Return to original report after report execution complete
SUBMIT ROIO_CH_ARC_WRITE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Data archiving write program for OLM containers
Selection Text: P_AGE = Age in months
Selection Text: P_CHK_CT = Check container master
Selection Text: P_CMT = D Note
Selection Text: P_NOFILE = Do not create archive file
Selection Text: P_PROD = Delete with product. run var.
Selection Text: P_TEST = Delete with test run variant
Selection Text: P_TO_DAT = Prior to date
Selection Text: S_CNT_ID = D Container ID
Selection Text: S_CNT_TY = D Container type
Title: Container History Archive - Write
Text Symbol: B01 = Select history records for archive
Text Symbol: B02 = Technical options
Text Symbol: B03 = Container master
Text Symbol: B04 = Archive dates
Text Symbol: B05 = Comment
Text Symbol: C01 = Container history archive


INCLUDES used within this REPORT ROIO_CH_ARC_WRITE

No INCLUDES are used within this REPORT code!


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:

ARCHIVE_OPEN_FOR_WRITE call function 'ARCHIVE_OPEN_FOR_WRITE' exporting call_delete_job_in_test_mode = g_no_delete comments = p_cmt create_archive_file = g_create object = gc_arch_object importing archive_handle = g_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 = g_handle object_id = gs_data_object_id.

ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = g_handle record_structure = 'OIO_CNTNR_HST' record = gs_cntnr_hst.

ARCHIVE_SAVE_OBJECT call function 'ARCHIVE_SAVE_OBJECT' exporting archive_handle = g_handle.

ARCHIVE_WRITE_STATISTICS call function 'ARCHIVE_WRITE_STATISTICS' exporting archive_handle = g_handle.

ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' exporting archive_handle = g_handle.

OIO_CT_READ call function 'OIO_CT_READ' exporting i_cntnr_typ_cd = ls_cntnr_hst-cntnr_typ_cd i_cntnr_id = ls_cntnr_hst-cntnr_id exceptions invalid_container_type = 1 invalid_function = 2 not_found = 3 others = 4.



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