Fonction SAP BUX_OXT_TASK_GEN_CHDOC - Task API for Change Document

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 change documents. This isapplicable in case of new extensions for application objects, BusinessPartner (BUPA) and Business Partner Relationship (BUPR), generatedthrough the Easy Enhancement Workbench (EEW). In the case of both BUPAand BUPR extensions for the cardinality types 1:1 and 1:N, this task APIdefines 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: Fgenerated Change 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 thefollowing parameters so that other task APIs such as BDT and APIs canuse 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 thestructure 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

            Further information
            DDIC Task API