Ansicht
Dokumentation

BUX_OXT_TASK_GEN_ARCH - Task API for Archiving object

BUX_OXT_TASK_GEN_ARCH - Task API for Archiving object

rdisp/max_wprun_time - Maximum work process run time   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is the task API for archiving data you no longer require. 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 cardinality types 1:1 and 1:N, this task API defines the following function modules using 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 archived before deleting it.

  • ARCH3 - This function module archives the BUPA and BUPR extension data and the corresponding change document details.

  • ARCH4 - This function module deletes the archived data.

  • ARCH5 - This function module checks the archived data before reloading it.

  • ARCH6 - This function module reloads the archived data.

  • DELE1 - This function module is called when you delete an extension for a BP or a BP relationship. It checks the data before deleting it.

  • DELE2 - This function module is called when you delete an extension 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 Applications Knowledge 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 table of the application object
TBZ1F Table entry to be made for archiving and deletion BDT event function modules

Note: The archiving task API does not update the table CT_TASKPARAMLIST with any information.

Example

Notes

Further information





Parameters

CT_GOX_HEADER
CT_POSTPROC
CT_TABLE_ENTRIES
CT_TASKPARAMLIST
IT_EXTENSIONDEF
IT_GOX_HEADER_OLD
IT_TAB_HEADER_OLD
IV_MODE
IV_NAMESPACE
IV_NSPCSHT_CUS
IV_NSPCSHT_DEV
T_RETURN

Exceptions

SEMANTICAL_ERROR
TECHNICAL_ERROR

Function Group

BUX_OXT_TASK

BAL Application Log Documentation   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 4724 Date: 20240523 Time: 175122     sap01-206 ( 58 ms )