Fonction SAP ARCHIVE_CREATE_OBJECT - (Obsolete! Use ARCHIVE_OBJECT_CREATE)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
APPLICATION ARCH_OBJ-APPLIC C 2 Application ID of Archiving Object
APPLICATION_COMPONENT ARCH_OBJ-UFFCTR C 20 SPACE X Application Component
ARCHIVE_HINT_TEXT ARCH_OBJ-REORGA_TXT C 60 SPACE X Info for Write Program
ARCHIVE_PROGRAM ARCH_OBJ-REORGA_PRG C 40 Name of the Write Program
ARCH_COMIT ARCH_USR-ARCH_COMIT I 4 0 X Commit Counter
ARCH_COUNT ARCH_USR-ARCH_COUNT I 4 0 X Data Object Counter
ARCH_DEL ARCH_USR-ARCH_DEL C 1 SPACE X Delete Indicator
ARCH_GUILT ARCH_OBJ-ARCH_GUILT C 1 SPACE X Indicates Whether "Invalid" Indicator Can Be Reset
ARCH_INDEX ARCH_USR-ARCH_INDEX C 1 SPACE X Indicates Whether an Index is to be Built for Data Objects
ARCH_LAST ARCH_USR-ARCH_LAST C 1 SPACE X Automatic Post-Processing Flag
ARCH_LINK ARCH_USR-ARCH_LINK C 1 SPACE X Automatic Storage of Archive Files in Storage System
ARCH_SIZE ARCH_USR-ARCH_SIZE I 4 0 X Archive File Size
AUTHOR RESPONSIBL C 12 X Person Responsible for a Repository Object
BTCEVENTID ARCH_USR-BTCEVENTID C 32 SPACE X Background Processing Event
BTCEVTPARM ARCH_USR-BTCEVTPARM C 64 SPACE X Background Event Parameters (Such as, Jobname/Jobcount)
CALL_DELET ARCH_OBJ-CALL_DELET C 1 SPACE X Delete Jobs to Start After Write Phase
CONTENT_REPO ARCH_USR-CREP C 30 SPACE X Storage Location for Physical Information Objects
DELETE_HINT_TEXT ARCH_OBJ-DELETE_TXT C 60 SPACE X Info for Delete Program
DELETE_PROGRAM ARCH_OBJ-DELETE_PRG C 40 Name of Delete Program
DEL_EVENT ARCH_USR-DEL_EVENT C 1 SPACE X Event-Driven Start of Delete Job
DEVCLASS DEVCLASS C 30 X Package
FILEINTERN ARCH_USR-FILENAME C 60 SPACE X Logical File Name
FIRST_HINT_TEXT ARCH_OBJ-FIRST_TXT C 60 SPACE X Document for Preprocessing Program Information
FIRST_PROGRAM ARCH_OBJ-FIRST_PRG C 40 SPACE X Preprocessing Program of an Archiving Object
FOR_ALL_CLIENTS ARCH_OBJ-ARCH_CLIEN C 1 SPACE X Cross-Client Indicator
IDX_BUILD_PROGRAM ARCH_OBJ-IDXBUI_PRG C 40 SPACE X Name of Index Build Program
IDX_DEL_PROGRAM ARCH_OBJ-IDXDEL_PRG C 40 SPACE X Name of Index Delete Program
INDXFLAG ARCH_OBJ-INDXFLAG C 1 SPACE X Archive Selection (in)active
INTERRUPT ARCH_OBJ-INTERRUPT C 1 SPACE X It is possible to interrupt session for the archiving object
LAST_HINT_TEXT ARCH_OBJ-LAST_TXT C 60 SPACE X Document with Information on Postprocessing Program
LAST_PROGRAM ARCH_OBJ-LAST_PRG C 40 SPACE X Postprocessing Program for Archiving Object
LAST_VARIA ARCH_USR-LAST_VARIA C 14 SPACE X Variant for the Post Processing Program
OBJECT ARCH_OBJ-OBJECT C 10 Object for Which the Program is Generated
OBJECT_TITLE ARCH_TXT-OBJTEXT C 50 Name of the Archiving Object
PROD_VARIA ARCH_USR-PROD_VARIA C 14 SPACE X Production Mode Variant
READARCSYS ARCH_USR-READARCSYS C 1 SPACE X Indicator Whether Delete Program Reads from Storage System
READ_REPORT ARCH_RPRG-READ_PRG C 40 SPACE X Read Program
RELOADFILE ARCH_OBJ-RELOADFILE C 1 SPACE X Creation of Reload Files
RETRIEVAL_PROGRAM ARCH_OBJ-RETRIE_PRG C 40 SPACE X Name of Reload Program
RETRIEVE_HINT_TEXT ARCH_OBJ-RETRIE_TXT C 60 SPACE X Info for Reload Program
STORE_FRST ARCH_USR-STORE_FRST C 1 SPACE X Indicates Whether Storing File Takes Place Before Delete
TEST_VARIA ARCH_USR-TEST_VARIA C 14 SPACE X Test Mode Variant
USE_INDEX ARCH_OBJ-USE_INDEX C 1 SPACE X Indicator: Index Can Be Built for Data Object

Paramètre Reférence Long. Facultatif Description
CUSTOM_TRANSACTIONS SSM_TCODES 20 X Application Customizing Transactions
USED_CLASSES ARCH_CLS 10 X Archiving Classes Used (Must Already Exist)

Exception Description
INITIALIZATION_MISSING Initialization is Missing
OBJECT_ALREADY_EXISTS Object Already Exists

Functions
This function module generates the definition of a new archiving objectin the database. You can use transaction
Archiving Object Definintion (Detail view andCustomizing settings) to check or change the definition.
CALL FUNCTION 'ARCHIVE_CREATE_OBJECT'
EXPORTING
APPLICATION = 'BC'
ARCHIVE_PROGRAM = 'SBOOKA'
DELETE_PROGRAM = 'SBOOKD'
OBJECT = 'TESTOBJECT'
OBJECT_TITLE = 'Generated Test Object'
ARCH_COMIT = 10
ARCH_SIZE = 100
PROD_VARIA = 'SAP&DEL_PROD'
TEST_VARIA = 'SAP&DEL_TEST'
EXCEPTIONS
OBJECT_ALREADY_EXISTS = 01.

Further Notes
The use of the function module is demonstrated in the programRSARCH_CREATE_TESTOBJECT.
ADK no longer supports the generation of the specified write and deleteprograms.

See also

Program Generator Definition of Terms
The parameter passes the ID of the application APPLICATION towhich the new archiving object is to be assigned.
The valid values are defined in the ABAP Dictionary under the domainAPPLI_TR01.
The parameter FOR_ALL_CLIENTS defines whether the archiving runsof the new archiving object archive data via all or just some clients.
If you enter a value other than SPACE then the archive administrationassumes that the new archiving object is valid for all clients.
INCLUDE 'ARCHIVE_PARAM_OBJECT' OBJECT DOKU ID TX
In this case, you use the parameter to specify the name that the newarchiving object is to be assigned.