Fonction SAP BUX_OXT_TASK_GEN_ARCH - Task API for Archiving object

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
IT_EXTENSIONDEF TOXT_PARAMLIST h 381
IT_GOX_HEADER_OLD COMT_GOX_DEF_HEADER h 1104
IT_TAB_HEADER_OLD COMT_GOX_TABLE_ENTRY_HEADER h 48
IV_MODE CHAR1 C 1 Single-Character Flag
IV_NAMESPACE NAMESPACE C 10 X Namespace
IV_NSPCSHT_CUS OXT_NSPC_SHORT C 1 X Namespace for Table Entries
IV_NSPCSHT_DEV OXT_NSPC_SHORT C 1 X Namespace for Table Entries

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CT_GOX_HEADER COMT_GOX_DEF_HEADER h 1104
CT_POSTPROC TOXT_RT_TF_PPROC h 340
CT_TABLE_ENTRIES COMT_GOX_TABLE_ENTRY_HEADER h 48 X
CT_TASKPARAMLIST TOXT_PARAMLIST h 381 X

Paramètre Reférence Long. Facultatif Description
T_RETURN BAPIRET2 548 Return Parameter

Exception Description
SEMANTICAL_ERROR
TECHNICAL_ERROR Technical error

Functionality
This function module is the task API for archiving data you no longerrequire. This applies to new extensions for the application objects,Business Partner (BUPA) and Business Partner Relationship (BUPR),generated through the Easy Enhancement Workbench (EEW).
In the case of extensions for both BUPA and BUPR for the cardinalitytypes 1:1 and 1:N, this task API defines the following function modulesusing the templates. The naming convention for the function modules is__EVNT_, for example, ZZG08_BUPA_EVNT_ARCH3.
ARCH1 - This function module checks the data to be archivedbefore deleting it.
ARCH3 - This function module archives the BUPA and BUPR extensiondata and the corresponding change document details.
ARCH4 - This function module deletes the archived data.
ARCH5 - This function module checks the archived data beforereloading it.
ARCH6 - This function module reloads the archived data.
DELE1 - This function module is called when you delete anextension for a BP or a BP relationship. It checks the data beforedeleting it.
DELE2 - This function module is called when you delete anextension for a BP or a BP relationship. It deletes the data.
The API reads the following entries of the table CT_TASKPARAMLIST
:
Parameter Name,,Description
TABL,,Name of the generated table
APPLI,,Application name for the extension
CHDOC,,Change document object name
The task API reads the following entries of the ApplicationsKnowledge Base table (OXT_ER_KNOWLEDGE):
Node1,,Node2,,Parameter Name,,Description
CODEGEN,,OBJECTINFO,,%OBJECTIDENT1%,,Name of existing key
CODEGEN,,OBJECTINFO,,%OBJECTIDTAB%,,Parent table of application object
CUSTGEN,,EVENT,,Name of the BDT event,,Control object
The task API updates the following tables using CT_TABLE_ENTRIES:
Table Name,,Description
ARCH_DEF,,Relationship of the new generated table with the parent tableof the application object
TBZ1F,,Table entry to be made for archiving and deletion BDT eventfunction modules
Note: The archiving task API does not update the tableCT_TASKPARAMLIST with any information.