Ansicht
Dokumentation

BUX_OXT_TASK_GEN_CHDOC - Task API for Change Document

BUX_OXT_TASK_GEN_CHDOC - Task API for Change Document

TXBHW - Original Tax Base Amount in Local Currency   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is the task API for change documents. This is applicable in case of new extensions for application objects, Business Partner (BUPA) and Business Partner Relationship (BUPR), generated through the Easy Enhancement Workbench (EEW). In the case of both BUPA and BUPR extensions for the cardinality types 1:1 and 1:N, this task API defines the following objects:

  • Change document object of object type CHDOC
  • Change document function group name based on the naming convention <DDICPREFIX>__<Application>
  • Change document function module name based on the naming convention: <Change Document Object name>_WRITE_DOCUMENT
  • Change document form name based on the naming convention: FChange Document Object name>CDC
  • Change document include name based on the naming convention: F<Newly generated Change Document Object name>CDT

The API reads the following entries of table CT_TASKPARAMLIST:

Parameter Name Description
TABL Name of the generated table
APPLI Application name for the extension

The task API updates the table CT_TASKPARAMLIST with the following parameters so that other task APIs such as BDT and APIs can use this information.

Parameter Name Description
CHDOC Change document object
CD_INCLUDE Change document include
CD_FORM_NAME Change document form name

In the table CT_GOX_HEADER, the task API sets the:

  • Object type to CHDOC
  • Text for the Change Document Object
  • Parameter Special treatment of texts for the field DOCUDEL

The task API updates the table CT_GOX_HEADER such that the structure of the table has the following format:

Field Name Field Value
TABLE_NAME Name of table generated by table generation function module
MULTCASE X
DOCUDEL X
REPORT_NAME __<Application>
FUGR_NAME Function group name
STRUC_PREFIX DDICPREFIX

Example

Notes

Further information

DDIC Task API





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

CL_GUI_FRONTEND_SERVICES - Frontend Services   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 4344 Date: 20240523 Time: 175845     sap01-206 ( 46 ms )