RLREOL00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report (
If you would like to execute this report or see the full code listing simply enter RLREOL00 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: CREATE = Generate archive file
Selection Text: LAUFZEIT = Runtime
Selection Text: PACKSIZE = No.of doc.for each arch.object
Selection Text: S_LGNUM = Warehouse number
Selection Text: TESTRUN = Deletion Program as Test Run
Title: Archiving warehouse
Text Symbol: 001 = This is only test data. It can be deleted.
INCLUDE MLLVSKON.
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 = TESTRUN COMMENTS = TEXT-001 CREATE_ARCHIVE_FILE = CREATE OBJECT = 'RL_LSEG' IMPORTING ARCHIVE_HANDLE = HANDLE.
ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING ARCHIVE_HANDLE = HANDLE OBJECT_ID = 'RL_LSEG'.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING ARCHIVE_HANDLE = HANDLE RECORD_STRUCTURE = 'LSEG' RECORD_FLAGS = ' ' RECORD = ILSEG.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING ARCHIVE_HANDLE = HANDLE.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING ARCHIVE_HANDLE = HANDLE.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = HANDLE.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.