SAP Reports / Programs

RSIR_LOIO_ARCH SAP ABAP Report - Demo Program for Archiving Logical Documents







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


Text pool values


Selection Text: ARC_FILE = Write Archive File
Selection Text: ARPHIOS = Archive PHIOs
Selection Text: ARREIOS = Archive Relationships
Selection Text: CLASS = Logical Document Class
Selection Text: KEEPCO = Keep Content
Selection Text: PROP1 = Property 1
Selection Text: PROP2 = Property 2
Selection Text: VAL1 = Content Property 1
Selection Text: VAL2 = Content Property 2
Title: Demo Program for Archiving Logical Documents
Text Symbol: 001 = Selection
Text Symbol: 002 = Control
Text Symbol: 003 = Archiving Session for Logical Documents (LOIO)


INCLUDES used within this REPORT RSIR_LOIO_ARCH

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:

SDOK_LOIO_FIND_BY_QUERY call function 'SDOK_LOIO_FIND_BY_QUERY' exporting object_class = class * CLIENT = SY-MANDT tables query = query result = result * PROPERTIES_REQUEST = * PROPERTIES_RESULT = exceptions bad_class = 1 bad_query = 2 not_authorized = 3 others = 4 .

ARCHIVE_OPEN_FOR_WRITE call function 'ARCHIVE_OPEN_FOR_WRITE' exporting * CALL_DELETE_JOB_IN_TEST_MODE = 'X' create_archive_file = arc_file object = object comments = text-003 * DO_NOT_DELETE_DATA = ' ' * OUTPUT_SEL_SCREEN_WHEN_DIALOG = 'X' * OUTPUT_SEL_SCREEN_WHEN_BATCH = ' ' importing archive_handle = 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 = handle * OBJECT_ID = ' ' exceptions internal_error = 1 wrong_access_to_archive = 2 others = 3 .

LOIO_ARCHIVE_OBJECT call function 'LOIO_ARCHIVE_OBJECT' exporting archive_handle = handle class = result-class objid = result-objid * CLIENT = SY-MANDT object_delete_flag = 'X' archive_reios = arreios archive_phios = arphios keep_content = keepco exceptions wrong_access_to_archive = 1 class_not_initialized = 2 others = 3 .

ARCHIVE_SAVE_OBJECT call function 'ARCHIVE_SAVE_OBJECT' exporting archive_handle = handle * IMPORTING * OBJECT_OFFSET = * ARCHIVE_NAME = 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 = handle exceptions internal_error = 1 others = 2.

ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' exporting archive_handle = handle exceptions internal_error = 1 wrong_access_to_archive = 2 others = 3.



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