| Parameter | Reference | Type | Length | Default | Optional | Text |
|---|---|---|---|---|---|---|
| ARCHIVE_NAME | ADMI_FILES-ARCHIV_KEY | C | 20 | SPACE | X | Archive File Name According to Archive Management |
| OBJECT | ARCH_OBJ-OBJECT | C | 10 | Archiving Object Name | ||
| TEST_MODE | 0 | SPACE | X | Reload Program Runs in Test Mode |
| Parameter | Reference | Type | Length | Text |
|---|---|---|---|---|
| ARCHIVE_READ_HANDLE | SYST-TABIX | I | 4 | Handle to the Open Files for Reading |
| ARCHIVE_WRITE_HANDLE | SYST-TABIX | I | 4 | Handle to the Files Open for Writing |
| Exception | Text |
|---|---|
| ARCHIVING_STANDARD_VIOLATION | Violation of the Archiving Standard |
| FILE_ALREADY_OPEN | The System Tried Repeatedly to Open a File |
| FILE_IO_ERROR | Archive File Access Error |
| INTERNAL_ERROR | Internal Error |
| NOT_AUTHORIZED | No Authorization for ARCHIVE_OPEN_FOR_MOVE |
| NO_FILES_AVAILABLE | No Files Exist for Object |
| OBJECT_NOT_FOUND | Object Unknown |
| OPEN_ERROR | Could not open file |
|
Functions
> is used to write data objects which are not to be written back tothe database, to the new archive. You can therefore only call thefunction module DATA: READ_HANDLE LIKE SY-TABIX, SAVE_HANDLE LIKE SY-TABIX. ... CALL FUNCTION 'ARCHIVE_OPEN_FOR_MOVE' EXPORTING OBJECT = 'BELEG' IMPORTING ARCHIVE_READ_HANDLE = READ_HANDLE ARCHIVE_WRITE_HANDLE = SAVE_HANDLE EXCEPTIONS FILE_ALREADY_OPEN = 01 FILE_IO_ERROR = 02 INTERNAL_ERROR = 03 NO_FILES_AVAILABLE = 04 OBJECT_NOT_FOUND = 05 OPEN_ERROR = 06. A detailed example can be found in program RSARCH07. Notes Description Description Value range Default |